Demo: Base language, compile-time execution

Jonathan Blow1 HN recommenders · 2015–2022
164K views · demo · dated · Uploaded 2014-10-31

Jonathan Blow demos his prototype programming language, covering the base language and compile-time execution, including running a game while compiling. The video is about 70 minutes of demo followed by Q&A.

HN cites it as an early demonstration of compile-time code execution, predating its popularity in languages like Zig.

Watch on YouTube

4 comments from Hacker News

@zenogais2015 · in “C2 Programming Language”

Jonathan Blow is working on at least part of this (sorry, the only links I could find were to his videos about it) [VIDEO]

@atesti2018 · in “Compile Time C++ Snake Game (2016)”

Sounds like what Jonathan Blow demoed in his new programming language JAI: [VIDEO] Execute a invaders game with OpenGl while compiling and embedding the score in the code (Just a demo, the idea is to replace makefiles with compile time execution, etc.)

@codetrotter2021 · in “Constexpr is a Platform (2020)”

Jonathan Blow’s programming language allows almost anything to execute during compilation as well. It’s neat. Here’s an old video where he demonstrated this: [VIDEO]

RecommendsView on HN
@Tozen2022 · in “What Makes the Zig Programming Language Unique?”

> Zig's use of comptime is fairly revolutionary in a c-like language Not revolutionary. Before Zig came out, which was 2016, there was Jonathan Blow talking about and arguably repopularizing it. Lots of people (who knows how many developers) and languages were influenced by him too. 2014, Jonathan Blow, who made lots of videos and gave lots of talks, before going on to officially promote Jai (2016). And it appears he was playing around with prototypes much earlier and talking about it (from 2014). [VIDEO] (Demo: Base language, compile-time execution)