4 ms·
I think it's all about performance. > Now there is a pretty sound reason for making your code segment read only Sure, but I've had enough situations where abi
by vardump 11y ago
I think it's all about performance.
> Now there is a pretty sound reason for making your code segment read only
Sure, but I've had enough situations where ability to generate code made inner loop 2-3x faster, by removing branches and constant folding. Difficult? Yes! Error prone? Yes! Fast? Hell yes!
> It is entirely possible to write a piece of code which is both a core interpreter
Yes, but it's going to be 10-100x slower.