Then I realised the answer was probably "because they could".
Someone will write a C compiler in Java and stuff it in the browser next...
Then I realised the answer was probably "because they could".
Someone will write a C compiler in Java and stuff it in the browser next...
[0] Doppio: Breaking the Browser Language Barrier paper from PLDI 2014: https://plasma-umass.github.io/doppio-demo/paper.pdf
Have you encountered any practical use cases?
Also, note that Doppio is an interpreter, so there is significant interpreter overhead. Using a JIT compilation approach would improve performance, and a contributor is currently working on a basic implementation. I honestly believe that it could become significantly faster with additional work, but as a single person with other projects, I lack the resources to do this work myself.