Re:How JavaScript engines achieve great performance
by Scarbutt on Wednesday November 24, 2021 @03:03PM
(#29334461)
It's a shame that something like Typescript is and will dominate the static typing JS ecosystem/industry instead of something simpler and sane like Rescript.
[ Parent
| on HN ]
Re:How JavaScript engines achieve great performance
by ronenlh on Wednesday November 24, 2021 @03:16PM
(#29334605)
Rescript is sane but I wouldn’t all it simpler. It can be really hard to do trivial stuff with it. I felt I had to study OCaml to understand it.
Re:How JavaScript engines achieve great performance
by quaunaut on Wednesday November 24, 2021 @03:37PM
(#29334836)
I think it gets pretty close, but admittedly its handling of unknown objects is just downright bad.
Also, somehow, the tooling for it has one of the best features around(compiling to readable JS), but all other tooling is completely absent, and frankly, bad.