Re:John Carmack's arguments against building a custom XR OS ...
by tux3 on Saturday August 30, 2025 @04:29PM
(#45077753)
Sean Baxter's circle compiler uses LLVM as a backend, but I believe the rest is from scratch.
Arguably these days having a clear frontend/backend separation is good compiler architecture. It might slow down compile times a bit, but it's worth the cost.
Re:John Carmack's arguments against building a custom XR OS ...
by vkazanov on Saturday August 30, 2025 @06:28PM
(#45078541)
So it sounds like he wrote the frontend of a cpp compiler? There's a lot of work in other layers as well.
Re:John Carmack's arguments against building a custom XR OS ...
by WalterBright on Saturday August 30, 2025 @04:58PM
(#45077952)
It wouldn't have made much sense to write the preprocessor these days, too, but it is part of the C++ compiler. Unless integrating it with the C++ lexer for speed purposes, as I did.
(For some context, back in the 80's, code generators needed enhancements to implement C++. You couldn't just use an existing one. Bjarne had to do some ugly workarounds because of this.)