havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.2.0, 3.1.3, 3.0.5, 2.7.7: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://t.ly/9ua4 | Logs: https://libera.irclog.whitequark.org/ruby/
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
pvalenta has quit [Ping timeout: 252 seconds]
pvalenta has joined #ruby
Sheilong has quit [Quit: Connection closed for inactivity]
perrierjouet has quit [Quit: WeeChat 3.8]
razetime has joined #ruby
perrierjouet has joined #ruby
neshpion has quit [Quit: neshpion]
Al2O3_ has quit [Ping timeout: 272 seconds]
<tsujp> Well surely the inclusion of multiple testing libraries goes against that ethos too re: mail library
<tsujp> Not knocking Ruby, or the lack of a stdlib mail library, or the inclusion of 2 testing libraries in stdlib just curious that the line is drawn where it is
<tsujp> Since Ruby is mostly a web language (mostly used for) it seems strange to me it wouldn't be folded in is all
<tsujp> Given how major email is to the web
Sankalp has quit [Ping timeout: 256 seconds]
cartdrige has quit [Ping timeout: 256 seconds]
<ox1eef_> It also does not include a web framework. I think it is wise to not pick favorites by bringing them into the stdlib, and let the ecosystem flourish separately.
cartdrige has joined #ruby
Sankalp has joined #ruby
<ox1eef_> http://stdgems.org might be of interest, too.
<tsujp> Good points, also neat thanks for the link
Sankalp has quit [Ping timeout: 255 seconds]
Sankalp has joined #ruby
Sankalp has quit [Ping timeout: 255 seconds]
Sankalp has joined #ruby
Sankalp has quit [Ping timeout: 268 seconds]
Sankalp has joined #ruby
eddof13 has joined #ruby
razetime has quit [Quit: See You Space Cowboy]
Michaela has quit [Remote host closed the connection]
Al2O3 has joined #ruby
Michaela has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
plantman2 has joined #ruby
moldorcoder7 has quit [Ping timeout: 256 seconds]
Sankalp has quit [Ping timeout: 256 seconds]
Sankalp has joined #ruby
finsternis has quit [Ping timeout: 272 seconds]
heartburn has quit [Ping timeout: 256 seconds]
finsternis has joined #ruby
heartburn has joined #ruby
razetime has joined #ruby
dviola has left #ruby [WeeChat 3.7.1]
dviola has joined #ruby
razetime has quit [Quit: See You Space Cowboy]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
crax23 has joined #ruby
razetime has joined #ruby
svdasein_ has joined #ruby
hightower3 has joined #ruby
razetime has quit [Client Quit]
cartdrige has quit [Ping timeout: 268 seconds]
phenom has joined #ruby
NightMonkey_ has joined #ruby
Milos_ has joined #ruby
Roy_Mustang has joined #ruby
A_Dragon has quit [Killed (silver.libera.chat (Nickname regained by services))]
Roy_Mustang is now known as A_Dragon
cartdrige has joined #ruby
hololeap_ has joined #ruby
moo- has joined #ruby
rvalue- has joined #ruby
pvalenta_ has joined #ruby
crax23 has quit [Ping timeout: 260 seconds]
kinduff_ has joined #ruby
leftylin1 has joined #ruby
Momentum_ has joined #ruby
tomtmym has joined #ruby
tomtmym has quit [Changing host]
tomtmym has joined #ruby
dannyAAM_ has joined #ruby
Fridtjof_ has joined #ruby
crax23 has joined #ruby
rvalue has quit [*.net *.split]
perrierjouet has quit [*.net *.split]
pvalenta has quit [*.net *.split]
hightower4 has quit [*.net *.split]
Starfoxxes has quit [*.net *.split]
svdasein has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
hololeap has quit [*.net *.split]
Fridtjof has quit [*.net *.split]
splud has quit [*.net *.split]
dorian has quit [*.net *.split]
Milos has quit [*.net *.split]
whysthatso125070 has quit [*.net *.split]
leftylink has quit [*.net *.split]
kinduff has quit [*.net *.split]
moo has quit [*.net *.split]
phenom_ has quit [*.net *.split]
dannyAAM has quit [*.net *.split]
Momentum has quit [*.net *.split]
dannyAAM_ is now known as dannyAAM
NightMonkey_ is now known as NightMonkey
Milos_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
rvalue- is now known as rvalue
Milos has joined #ruby
cartdrige has quit [Ping timeout: 260 seconds]
Linux_Kerio has joined #ruby
plantman2 has quit [Ping timeout: 260 seconds]
kinduff_ is now known as kinduff
dorian has joined #ruby
Starfoxxes has joined #ruby
splud has joined #ruby
perrierjouet has joined #ruby
Y05hito__ has joined #ruby
crax23 has quit [Ping timeout: 260 seconds]
cartdrige has joined #ruby
Y05hito__ has quit [Ping timeout: 256 seconds]
mdemo has quit [Quit: The Lounge - https://thelounge.github.io]
<ox1eef_> No worries.
FullMetalStacker has joined #ruby
FullMetalStacker has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
Sankalp has quit [Ping timeout: 268 seconds]
moo- is now known as moo
<cartdrige> Does the last version of ruby offers bytecode pseudo compiling or something to make it faster?
<cartdrige> cause i think it's slower than python in most cases right?
yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
Sankalp has joined #ruby
yxhuvud has joined #ruby
Sankalp has quit [Ping timeout: 260 seconds]
___nick___ has joined #ruby
Sankalp has joined #ruby
Linux_Kerio has quit [Quit: Konversation terminated!]
Linux_Kerio has joined #ruby
pslotko has joined #ruby
Linux_Kerio has quit [Quit: Konversation terminated!]
Linux_Kerio has joined #ruby
gr33n7007h has quit [Ping timeout: 256 seconds]
gr33n7007h has joined #ruby
moldorcoder7 has joined #ruby
Sankalp has quit [Ping timeout: 246 seconds]
Sankalp has joined #ruby
Sankalp has quit [Ping timeout: 246 seconds]
Sankalp has joined #ruby
pslotko has quit [Ping timeout: 260 seconds]
FullMetalStacker has joined #ruby
FullMetalStacker has quit [Client Quit]
teclator has joined #ruby
pslotko has joined #ruby
teclator has quit [Ping timeout: 256 seconds]
pslotko has quit [Quit: Client closed]
Sankalp has quit [Ping timeout: 265 seconds]
plantman2 has joined #ruby
Sankalp has joined #ruby
<ox1eef_> No idea if it is slower than Python or not, but iirc RubyVM::InstructionSequence can produce and parse bytecode.
razetime has joined #ruby
plantman2 has quit [Ping timeout: 256 seconds]
razetime has quit [Quit: See You Space Cowboy]
FullMetalStacker has joined #ruby
FullMetalStacker has quit [Client Quit]
Momentum_ is now known as Momentum
eddof13 has joined #ruby
teclator has joined #ruby
John_Ivan has joined #ruby
hololeap_ is now known as hololeap
teclator has quit [Ping timeout: 265 seconds]
perrierjouet has quit [Quit: WeeChat 3.8]
perrierjouet has joined #ruby
<havenwood> cartdrige: Ruby ships with two JITs called MJIT and YJIT. In the latest stable Ruby, YJIT is built is Rust and is quite fast.
<havenwood> built in*
<havenwood> If a suitable version of Rust is available, YJIT will be built automatically.
<havenwood> You can run Ruby with `ruby --yjit` or just `ruby --jit` assuming YJIT built, or set `export RUBYOPT="--yjit"` in your terminal.
<havenwood> It's production ready and is a nice just-in-time compiler.
<havenwood> Or if you mean compiling source code to YARB and caching it to disk so the grammar doesn't have to get parsed each time unless the file changes, Rails does that by default with Bootsnap. It's not built in to RubyGems like it is for Elixir's package manager, but could be.
<havenwood> Like ox1eef_ said
<havenwood> You can `RubyVM::InstructionSequence.compile_file(path).to_binary` or `RubyVM::InstructionSequence.compile(code).to_binary`.
<havenwood> Then `RubyVM::InstructionSequence.load_from_binary(either_of_the_above_bytecode)`.
<havenwood> Run it with `.eval` and you skip the grammar parsing and just give YARV the YARB IR to run directly and JIT.
Sankalp has quit [Ping timeout: 256 seconds]
Sankalp has joined #ruby
<havenwood> cartdrige: Here's an example of doing it yourself without a library: https://gist.github.com/havenwood/465eb969ef1fb817e4ad493701b0020e
<havenwood> And gzipped it to be thorough. :P
<havenwood> Then you can checksum to see if the cache needs busting. Consider storing it on an in-memory disk.
<havenwood> Or you can use an off-the-shelf tool like Bootsnap that does similar under the hood.
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hightower3 has quit [Ping timeout: 260 seconds]
eddof13 has joined #ruby
teclator has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bbenno has joined #ruby
bbenno has quit [Client Quit]
eddof13 has joined #ruby
tomtmym has quit [Read error: Connection reset by peer]
Sankalp has quit [Ping timeout: 252 seconds]
tomtmym has joined #ruby
Michaela is now known as Aminda
<cartdrige> ok, thx for the detailled info havenwood.
Sankalp has joined #ruby
plantman2 has joined #ruby
Sankalp- has joined #ruby
Sankalp has quit [Ping timeout: 265 seconds]
Sankalp- is now known as Sankalp
plantman2 has quit [Ping timeout: 252 seconds]
ur5us has joined #ruby
cartdrige has quit [Quit: I am more peaced off than a dragon trying to blow out candles]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_73 has joined #ruby
<_73> Hey, is it possible to compile Ruby on Windows with MSYS (not MSYS2)?
eddof13 has joined #ruby
___nick___ has quit [Ping timeout: 246 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eddof13 has joined #ruby
<ox1eef_> I don't know, but I think the best Ruby environment on Windows nowadays is through the Windows Subsystem For Linux (WSL).
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> +1 WSL seems to be the way Windows itself prefers.
<havenwood> ```sh
<havenwood> wsl --install
<havenwood> ```
<havenwood> Oops, forgot how IRC works. >.>
teclator has quit [Ping timeout: 256 seconds]
Sankalp- has joined #ruby
Sankalp has quit [Ping timeout: 256 seconds]
Sankalp- is now known as Sankalp
<adam12> LOL
Sankalp has quit [Ping timeout: 252 seconds]
Sankalp has joined #ruby
eddof13 has joined #ruby
cartdrige has joined #ruby
reset has quit [Quit: reset]
hightower2 has joined #ruby
tomtmym has quit [Quit: Gone.]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
eddof13 has joined #ruby
Linux_Kerio has quit [Ping timeout: 252 seconds]
John_Ivan has quit [Read error: Connection reset by peer]
<joto> _73 do not use Ruby on Windows directly. Look into WSL which is essentially a virtualized linux install within windows
<joto> also lol havenwood, we don't do fancy stuff in here :)
moldorcoder7 has quit [Ping timeout: 260 seconds]
<ox1eef_> Old school is the best school.
<joto> amen
John_Ivan has joined #ruby