4 ms·
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 ti
by tsunego 2y 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.
- andrekandre 2y agowhat is the better approach?
- Sparkyte 2y agoYou 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.
- saagarjha 2y agoJITs typically are too broken for compiler tricks so I don't think it's time to accept that just yet.