3 ms·
What's an alternative AOT compiled language that's as accessible as Dart that also compiles to JavaScript? I don't think there's another more obvious choice.
by dstaley 7y ago
What's an alternative AOT compiled language that's as accessible as Dart that also compiles to JavaScript? I don't think there's another more obvious choice.
- josteink 7y agoIt only needs to be compiled to Wasm these days and not pure JS. That means pretty much any existing language with a natural following and a LLVM-based compiler can be a reasonable candidate. Dart literally has no natural/non-artificial following or use-cases outside Google. Trying to sell Dart via Flutter will only harm Flutter and nothing else. People not interested in Dart won’t change their mind over yet another UI framework.
- dstaley 7y agoWASM isn't yet a viable candidate for a complete application. There's a lot of proposals out there to bring it in line with what you can do via JavaScript, but there's still a lot of things that JavaScript can do more performantly than WASM. Using a WASM language also means that interop with existing JavaScript is a bit of a hurdle, so I still feel that Dart is a good choice. That being said, there's nothing particularly interesting about the language itself; I'd feel the exact same way about any other language if they also compiled to pure JavaScript.
- thosakwe 7y ago> Dart literally has no natural/non-artificial following or use-cases outside Google. What do you consider a "non-artificial following"? There is definitely a community around the language, and other companies have certainly used and are currently using it.
- zem 7y agoocaml with the reason syntax. not quite as quick to get up and running with as dart, but pretty accessible in the long run