How I Built a Language That Beats C on LZ77 by 6.6 — Bootstrapped from Assembly A self-hosted systems language with zero C in the toolchain, and what two compiler optimizations did to destroy the competition on compression.
The article discusses the development of a new self-hosted systems language that outperforms C in LZ77 compression by 6.6. This language was created without using C in its toolchain and incorporates two significant compiler optimizations. The author shares insights into the design and performance improvements achieved through this innovative approach.
- ▪The new language is self-hosted and does not utilize C in its toolchain.
- ▪It achieves a 6.6 improvement over C in LZ77 compression performance.
- ▪Two specific compiler optimizations were key to its success.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3939479) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } JAI LALAWAT Posted on May 19 How I Built a Language That Beats C on LZ77 by 6.6 — Bootstrapped from AssemblyA self-hosted systems language with zero C in the toolchain, and what two compiler optimizations did to destroy the competition on compression. Top comments (1) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).