3 ms·
- GWT - Dart - ClojureScript
by bengillies 13y ago
- GWT
- Dart
- ClojureScript
- dsl 13y agoEvery single one of these compile to the JavaScript runtime. (Dart has a native VM in Chromium, but AFAIK it is a long way off from the real world)
- bengillies 13y agoRight and ClojureScript, for example, has full goroutines in it (i.e. core.async) if doing standard callback based async in JS isn't your thing. Functionally, it makes little to no difference whether you're writing something that compiles down to JS or writing something that compiles down to its own runtime (assuming you turn source maps on your browser).
- dsl 13y agoThat doesn't change the fact they use the JavaScript runtime, which was the question the parent was trying to address.
- solomatov 13y ago>Functionally, it makes little to no difference whether you're writing something that compiles down to JS or writing something that compiles down to its own runtime (assuming you turn source maps on your browser). It actually makes a big difference. You can't use profiles, debugger, libraries, and other stuff which is platform specific but have to use JavaScript ones. Often, they don't play well with with languages which generate to JS.
- lmacsen 13y agoWhich compiles into JavaScript...