3 ms·
If you want to use a different language, why would you care about the compile target? Compiling is done by the compiler. So to the developer it is the same. No
by FreeHugs 7y ago
If you want to use a different language, why would you care about the compile target?
Compiling is done by the compiler. So to the developer it is the same. No matter if it comiles to Javascript or Webassembly.
In the end, I don't think writing code for the web in languages other then Javascript will take off. Simply because Javascript will always evolve to fit this specific environment. And therefore will always be the best choice. While other languages will evolve to be the best fit for their niche.
- rocqua 7y agoCross compilation always comes at a performance cost. Moreover, it is another compilation target your compiler needs to support. When that compilation target is a high-level language, supporting it is harder. This means java-script as a compilation target is less likely to be added.
- pjmlp 7y agoBecause usually it ends up with debugging generated JavaScript at some point.