Hacker News new | ask | show | jobs
by pjmlp 62 days ago
The part of it being written in ARM64 Assembly is the most relevant one, yet again making the point that we don't necessary need to generated third generation source code languages as mechanism to produce executables out of AI tooling.

The tools will keep improving, and as for the non-determinism, we already have to deal with it in language runtimes that make use of GC, JIT (+ PGO), and machine learning based compiler passes.

The fifth programming languages generation is coming.

1 comments

> The part of it being written in ARM64 Assembly

There is a C version under literate/verification, for example "main" is [1][2]:

[1] assembly version: ./literate/driver/43-main.weft

[2] C version: ./literate/verification/50-self-hosting-main.weft

Still don't get the point, it is clear that the compiler was generated in Assembly, and the C part is the second phase of the bootstrapping process.
Well, why treat the assembly version as the main implementation when you have a supposedly equivalent C version around? If this is released as a plain C project I would actually be interested to try it out.
Because that was the whole goal of the project, and proves a point in AI capabilities.

> kcc is a formal C17 compiler written entirely in ARM64 assembly....

The main implementation is the 5 GL English language in literate programming form, used to drive the AI to produce the ARM64 assembly.