Kdts, an optimization-first TypeScript compiler
Show HN: Kdts, an optimization-first TypeScript compiler
Kdts, an optimization-first TypeScript compiler operates in show hn launch.
Profile
kdts is an optimization-first TypeScript compiler. Instead of erasing types as early as possible, it uses them throughout the compilation to direct optimizations, achieving transformations that would not have been possible were the types not known.Currently it is Bun-only. You can install it withbun add -g @kimlikdao/kdtsIt has two modes: fast and opt.- fast mode is a thin wrapper around bun build but supports the same command line arguments as opt mode.- opt mode uses (a fork of) Google Closure Compiler as a backend to perform type-driven optimizations.Fast mode should work on most valid TypeScript programs:kdts entry.ts --fastIn opt mode, the sources need to be accurately typed and written
As a business in show hn launch, Kdts, an optimization-first TypeScript compiler is listed here with the public details available about it.
It is recorded at the Show HN launch stage.
| Sector | Show HN launch |
|---|---|
| Stage | Show HN launch |
Website: docs.kimlikdao.org
Browse related
Create a free account