Fun post on the lessons learnt when implementing a JIT VM for a language: https://www.mikedrivendevelopment.com/2018/06/what-i-learned-making-my-own-jit.html
Related Posts
I'm having fun writing a simple type checker, but I'm learning firsthand why syntax-directed checking doesn't work. It prevents inference.
My checker catches real bugs, but it can't handle cases like this:
[1, 2].map(fun(x) { x + 1; })
I think I need bidirectional checking.
Do any tech streamers try new software live? It'd be a really fun way of doing UX testing.
I'm implementing an interpreter, and wondering how often I should check for interruptions (e.g. Ctrl-C).
I don't want to spend too much CPU time checking whether I've been interrupted, but I also want slow programs to stop promptly. It's tricky.