Hacker News new | ask | show | jobs
by dizon 1647 days ago
This is misleading. It claims to support TypeScript but doesn't type check.

If you're looking for fast compile times with type checking, we've been using JS++ [0], which is written in C/C++.

[0] https://www.onux.com/jspp/

2 comments

It's not exactly misleading. Even TypeScript may be planning to support skipping type checking [0] so you can do faster compiles.

Cool to learn about JS++ but unlike babel/typescript/esbuild/swc JS++ cannot read TypeScript, it's a completely new/different language.

[0] https://github.com/microsoft/TypeScript/issues/29651

Many developers have type checking built into their IDE, so they usually know when something is wrong. Having it run again on every build (especially in watch mode) isn’t very efficient. Instead it’s faster to have type stripping as part of your developer workflow, then a full type check when you’re ready to commit.
The same IDEs generate the JS files when they are done with checking, so like why bother with a lesser solution.