Show HN: LilScript makes JavaScript libraries smaller

Show HN: LilScript makes JavaScript libraries smaller
Image credit: Hacker News
Source: Hacker News

Show HN: LilScript makes JavaScript libraries smaller

LilScript is a typed, compression-first language that compiles into js and sometimes into exec(will be more stable in future). The compiler mangles, reshapes the program into optimized js that happens to be 5-15% smaller (after gzip/br compression or raw) compared to the best performing JS toolchains like oxc/esbuild/terser/..## What has been proven to work with LilScript?- makes VSCode's core js modules 20% smaller on average- makes the world's most performant & small markdown rendering npm library, marked, 5-7% smaller and 10% faster- and many more demos..

Key Points

  • LilScript is a typed, compression-first language that compiles into js and sometimes into exec(will be more stable in future).
  • The compiler mangles, reshapes the program into optimized js that happens to be 5-15% smaller (after gzip/br compression or raw) compared to the best performing JS toolchains like oxc/esbuild/terser/..## What has been proven to work with LilScript?- makes VSCode's core js modules 20% smaller on average- makes the world's most performant & small markdown rendering npm library, marked, 5-7% smaller and 10% faster- and many more demos..

Published: August 20, 2026 1:50 pm


Source: Hacker News

Read the original article →