From the doc and a quick glance at the repo it looks like it's scratch modified to compile to javascript. No surprise that you can't live edit, at least not for now.
It beats Java and C# in many of them, and for C++ it's usually not more than 5x slower.
Of course, that's all optimized JavaScript. It's a lot easier to slip up and accidentally make your code much slower in a scripting language than in a compiled language. So yeah, for larger programs it's definitely worth rewriting.
If you run the benchmarks longer (i.e. more than a couple hundred milliseconds - the above benchmarks use validation values from the original benchmarksgame, not the ones used for evaluating performance), you will see a different picture:
And here's the source. https://github.com/TurboWarp/
From the doc and a quick glance at the repo it looks like it's scratch modified to compile to javascript. No surprise that you can't live edit, at least not for now.
reply