News for hackers. Stuff that matters.
Re:Ruby 3.3's YJIT: Faster While Using Less Memory by parentheses on Monday December 18, 2023 @04:02PM (#38688222)
It does make sense in the web server context to optimize for memory first over compute. This could explain the dynamic you called out. Furthermore, the propensity for many popular gems to have native portions makes the trade off even more useful.

Regarding JIT being faster, types are the next effective tool IMO.

The two drivers I see are:

- JIT has more stack frames to optimize away, allowing more optimization - you addressed this one

- JIT has more information to limit possible outcomes, therefore finding more opportunities

There are no comments on this comment yet.