3 ms·
Does TypeScript emit machine code? OCaml gives you this option, if you need it.
by stefanos82 11mo ago
Does TypeScript emit machine code? OCaml gives you this option, if you need it.
- procaryote 11mo agoBut they say "we use ocaml [because it has types]" not "[because it can emit machine code]"
- koakuma-chan 11mo agoI would go for Rust if I wanted machine code
- deleted 11mo ago[deleted]
- a-french-anon 11mo agoWell, TS transpiles to JS which then runs on Node, aka V8, a native JIT compiler. So yes, I guess?
- pjmlp 11mo agoKind of, given that V8 performance is never going to be as good as AOT compiled language, and JIT needs warmup time. It is no accident that famous JavaScript tools keep being rewritten into C++, Dart, Go and Rust.