Hacker News new | ask | show | jobs
by tsunego 475 days ago
chasing inline cache micro-optimizations with dynamic binary modification is a dead end. modern CPUs are laughing at our outdated compiler tricks. maybe it's time to accept that clever hacks won’t outrun silicon.
2 comments

JITs typically are too broken for compiler tricks so I don't think it's time to accept that just yet.
what is the better approach?
You don't, there are equal trade offs. JIT might use more memory because of what it does at the runtime, but it is also the exact reason it is faster to start. A good trade off is just using the type of languages best suited for the workload.