Earlier quoted context omitted.
huh. I'm not sure if I understood you right, do you script and configure those in ruby, or have you written them in ruby from scratch? Are the sources available to read/learn from?
They're written in Ruby from scratch. Some are available, e.g. the window manager is here: https://github.com/vidarh/rubywm Beware that one of the joys of writing these for my own use is that I've only added the features I use, and fixed bugs that matter to me, and "clean enough to be readable for me" is very different from best practice for a bigger project. I'm slowly extracting the things I'm willing to more gener…
Ruby 3.4.0
191–200 of 282 posts
Re: Ruby 3.4.0
#192Hope ruby 4 had static type system like typescript.
Re: Ruby 3.4.0
#193Re: Ruby 3.4.0
#194Earlier quoted context omitted.
Use rvm to install ruby. Ruby dev sucks on Windows, mac only.
What sucks about it?
Re: Ruby 3.4.0
#195Every year-end, I update my Rails app. Lately, it's been stable, and the updates just improve performance, so it's gotten easier.
I haven’t worked in ruby or rails in a few years but both seem like they’re in great spots and I’ll be spinning up a new project with Rails 8 soon. Hype
Re: Ruby 3.4.0
#196Re: Ruby 3.4.0
#197Earlier quoted context omitted.
Obviously you meant for the whole infrastructure: ruby / rails workers, Mysql, Kafka, whatever other stuff their app needs (redis, memcache, etc), loadbalancers, infrastructure monitoring, etc.
This is correct! I thought this was clear but I guess not...
We can also infer that into how much saving YJIT provides. At this point Shopify is likely already getting a return of investment from YJIT.
Re: Ruby 3.4.0
#198Earlier quoted context omitted.
1. Wondering 3.4 JIT performance vs 3.3 JIT on production rails. 2. Also wondering what upside could Ruby / Rails gain on a hypothetical Java Generational ZGC like GC? Or if current GC is even a bottleneck anywhere in most Rails applications.
https://speed.yjit.org/ Railsbench is 5.8% faster with 3.4 over 3.3
Re: Ruby 3.4.0
#199Earlier quoted context omitted.
I would love that!
DHH is the issue, he means Rails is for one-person framework while he think static typing is only for enterprisey software.
That being said, Matz also isn't a fan of static typing. Static type annotations exist in the form of RBS, but no one that matters in the Ruby eco-system is pushing static type annotations in .rb files themselves.
Also, after seeing TypeScript, I'm very happy about that.
Re: Ruby 3.4.0
#200I want to try Ruby since the news of Rails 8 came out, but it's been so difficult that I just gave up. Installing Ruby on Mac and Windows and actually getting the 3.3 version required for Rails 8 was a huge mission and test of patience because every installer defaulted to older versions of both Ruby and Rails even one month after the release. And yes, even Docker required tweaking to get the versions and I had issues…