2 ms·
Ask HN: What if we combined compiler and cloud computing?
Although I am not an expert on compilers, I do know that a compiler can pinpoint exactly the code path that is taking too long or stuck. So what if we made compiler into kubernettes. Basically allow compiler to spin up new serverless functions/microservices/etc to run code that is becoming bottleneck.
Video demonstration:
https://www.youtube.com/watch?v=1vEjGKhSx8o
The advantage is that as a developer it can hide all the nasty part of microservices/serverless... I.e. compiler can make sure error stack trace is maintained even if some functions are ran in a separate service.