|A JIT compiler that can work across multiple machine, true Scaling.|
I think we have microservices backwards. What we are doing should be the job of a program. It should be possible for a JIT compiler to automatically find code that is a bottleneck and spawn it on another server + provide remote connection to heap/stack for spawned code. In fact, have shared VRAM where all shared heap/stacks can live.
- It'd simplify debugging
- you'd get by with just monoliths
- lot less need to monitor
- no need for gRPCs, etc.
- highly simplified programs
If V8 could provide nodejs with this it'd be a game changer. A JIT compiler that can scale automatically. I believe, and I've no experience in compilers, the hardest part would be sharing stack/heap between code in efficient manner. But program should do the math and figure out if performance gained by 'outsourcing' execution is more than latency and extra processing introduced.