Issue #19325 has been updated by rubyFeedback (mark potter).
Although I have no data to showcase, my impression has been
that ruby is very slow on windows. Java on the other hand
is fairly fast on both windows and linux. With "require"
on windows, it seems to take significantly longer than
the equivalent (same .rb files code base) on Linux, and
the more gems I require, the longer it takes. Any improvement
there may be really nice to have, even if my above comment
is more anecdotal than "can be verified", as-is.
On windows I work around this a bit by wrapping kojix2'
libui wrapper, and running a custom shell, and then using that
GUI to input commands I would normally type via cmd.exe
or some other windows terminal. Once I have such a GUI
running, it gets significantly easier to use ruby on windows
(my custom shell is quite similar to e. g. bash, but runs
via ruby), but plain cmd.exe or even just commandline stuff
on windows can be quite frustrating.
Any improvement would be great. At this point I am using ruby
on linux mostly (where it is absolutely awesome), but for
windows I kind of transitioned to java (and have jruby/graalvm
available). The extra time investment when using java here
is somewhat worth it, considering how frustrating it can be
to use ruby on windows (which is not solely ruby's fault,
of course; linux is so much more convenient and productive
than windows really).
----------------------------------------
Feature #19325: YJIT: Windows support lacking.
https://bugs.ruby-lang.org/issues/19325#change-101804
* Author: dsisnero (Dominic Sisneros)
* Status: Assigned
* Priority: Normal
* Assignee: yjit
----------------------------------------
Ruby's support on windows has always been second class. With some of the recent
decisions, windows support is falling even more behind. Recent developments in mjit and
yjit that exclude windows are two glaring issues that should be corrected. Googling
'percent of windows vs other operating systems' and it shows windows has a share
of 76%. Ceding that users to python and other programming languages has to be one of the
reasons python continues get more market share from ruby. With rust having first class
windows support and threading support, is there a reason why yjit is not able to work on
windows? Also, windows compiler support has matured enough and vcpkg support has evolved
enough that it seems it should be possible to finally get a ruby version without having to
use msys2. Even Crystal language has a version that runs on windows without needing
msys2.
--
https://bugs.ruby-lang.org/