nowfound

Life & fun · November 27, 2017

CA

Computation at Compile-Time now free online

Computation at Compile-Time now free online launched on November 27, 2017 with 57 votes, #808 of 3,137 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 8 years on.

In plain words

Computation at Compile-Time is a free online book exploring compiler design from an unconventional angle. It examines how compilers can be viewed not just as translation tools but as interpreters capable of general-purpose computation, focusing on source code that gets discarded during compilation. The book targets readers with little formal interest in compiler theory who want to understand computation happening at compile time rather than runtime.

written from the facts on this page · September 2026

From the sources

JavaScript must be enabled in your browser to display the table of contents. This is a book about compiler design for people who have no interest in studying compiler design. …Umm, then who wants to read this book? Let me try this again… This book is the study of source code which is discarded by the compiler, having no representation in the generated machine code. …Ummm, still not right… This book is about viewing a compiler not only as a means of translating source code into machine code, but also viewing it as an interpreter capable of any general purpose computation. …Closer, but who cares?… I think I got it now. This is a book about "Testing at…from billsix.github.io

Does a similar job

all alternatives →
  • Free e-book about WebGPU Programming2024 · shi-yan.github.io · ▲471

    I am excited to announce the launch of my e-book on Graphics/WebGPU programming! This project has consumed much of my spare time, during which I developed various tools to facilitate the publishing process, including a code playground and a static site generator that can reference sample codes. However, I'm feeling burnt out and ready to call it finished, even though it may not feel completely done. Avoiding another abandoned side project has been my primary motivation in reaching this point.

  • C++ runtime/compile-time detection in constexpr functions2017 · github.com · ▲83

    An approach for runtime detection inside a constexpr function - SaadAhmad/in_constexpr

  • IW
    I wrote a technical history book on LispFeb 2026 · berksoft.ca · ▲252

    The book page links to a blog post that explains how I got about it (and has a link to sample content), but the TL&DR is that I could not find a lot of books that were on "our" history _and_ were larded with technical details. So I set about writing one, and some five years later I'm happy to share the result. I think it's one of the few "computer history" books that has tons of code, but correct me if I'm wrong (I wrote this both to tell a story and to learn :-)). My favorite languages are Smalltalk and Lisp, but as an Emacs user, I've been using the latter for much longer and for my…

  • A compiler and VM for a simple language, in 150 lines of code2022 · gist.github.com · ▲200

    A complete compiler for a simple language (in less than 150 LoC) - 00_readme.md

  • Compile-time HTML parsing in C++142017 · github.com · ▲175

    A C++ HTML template engine that uses compile time HTML parsing - rep-movsd/see-phit

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, November 2017

the whole month →
  • First Search▲1,093

    The world's best startup advice, curated and searchable.

    Growth · 2017 · review.firstround.com

  • The fastest production car ever made ⚡️

    Life & fun · 2017 · tesla.com

  • The safest, and most comfortable truck ever made

    Life & fun · 2017 · tesla.com

  • Create attractive product screenshots with just a few clicks

    Growth · 2017 · theapplaunchpad.com

  • Easy to build, custom landing pages for free

    Growth · 2017 · login.mailchimp.com

  • Thieve▲700

    A curated list of the best products on AliExpress

    Commerce · 2017 · thieve.co