3 ms·
I haven’t used ts. It seems to be a way to get semi-strong typing by using a “compiler-like.” Since this is possible, is it also possible (and performant) to co
by gentleman11 5y ago
I haven’t used ts. It seems to be a way to get semi-strong typing by using a “compiler-like.” Since this is possible, is it also possible (and performant) to convert something like Java or rust or c# to performant JavaScript and get the full power of a strongly typed language?
- Zababa 5y ago> Since this is possible, is it also possible (and performant) to convert something like Java or rust or c# to performant JavaScript and get the full power of a strongly typed language? It is possible! Java has a few compilers (TeaVM, Google Web Toolkit, JSweet). Rust is usually compiled to WASM (like C and C++). I'm not sure about C#, but F# has Fable. OCaml has two, js_of_ocaml and Rescript (formerly Bucklescript).
- deleted 5y ago[deleted]