logoalt Hacker News

sn0n • today at 12:57 PM • 1 reply • view on HN

ArtCraft says it’s all written from scratch as well.


Replies

rfgplk • today at 2:09 PM

ArtCraft lies. It makes extensive use of crates, which to me defeats the "from scratch" argument. The whole point of doing it from scratch is that you get full control of every line of code in the compiled binary.

https://github.com/rfgplk/micron.cpp

This is an example of a true "from scratch implementation" (as long as you target the freestanding compile option, hosted still depends on pthread for threading). Absolutely zero external code or references anywhere outside the stated repo. (Not even compiler builtins or includes are needed). You can drag and drop it wherever you'd like hit compile and you're done.