4 ms·
Writing critical code in JavaScript? That's interesting.
by CmonDev 12y ago
Writing critical code in JavaScript? That's interesting.
- ris 12y agoHey, well, if you're going to engage in a practice that potentially destabilizes the entire global economy, why not do it in javascript?
- logn 12y agoGarbage collection would be a problem in realtime algos. And efficiency is ~10x slower than C. But as far as writing bug free code, I'd take JavaScript over C. But I'd take Java over both of them and the JVM has a lot of GC configuration options (in addition to real-time JVMs, but those can cost a lot of money). Anyhow, for user-submitted code like this trading site, I think JS is the only realistic option since it can be sandboxed so safely.