Hacker News new | ask | show | jobs
by qalmakka 15 hours ago
yeah, it takes weeks for a human to hand write a basic linux 0.1-like kernel, let alone a whole OS, that takes years. It took SerenityOS a whole year to reach a point where you could run DOOM on it, while this project had its first actual commit in September - a human may have indicated the direction, but the code is likely 100% AI generated, unless he has 8 hands
3 comments

"From Scratch" becoming meaningless.
If it is not based on an existing kernel, then it is somehow from scratch.

Of course we have plenty of examples and documentation.

It took me 6 years to reach the point of running DOOM in my x86-64 hobby OS (written in Rust), but maybe I'm slow.
That's about the same pace as my own OS development. It took years of on-and-off study, work, and trial-and-error before I had a multithreaded kernel working (doing very little) reliably.
> but the code is likely 100% AI generated, unless he has 8 hands

Well for one, there are zero references as to where they got this magic driver code from. For example the sdcard [0], bluetooth [1] and usb [2] drivers have magically been "written" close to perfect C.

Several questions about this:

1) How did they eliminate the memory corruption bugs in this OS?

2) What did they test for in the OS to achieve the former to determine a stable build for a release?

3) What exact tools did they use to check for those memory corruption bugs?

4) Finally, which existing datasheets did they read from to get those constants in those drivers?

Very curious to know for a from scratch OS...

[0] https://github.com/adriantips/boltossource/blob/156a83dc3c6b...

[1] https://github.com/adriantips/boltossource/blob/156a83dc3c6b...

[2] https://github.com/adriantips/boltossource/blob/156a83dc3c6b...

The sdcard driver uses some tricks that I've used in my driver: https://github.com/bztsrc/raspi3-tutorial/blob/master/0B_rea...

The UEFI loader comes (at least partially) from my other project: https://gitlab.com/bztsrc/posix-uefi whereas memory management and page table generation (at least partially) from https://gitlab.com/bztsrc/easyboot

I'm sure because I can see some unusual variable naming that originates from my code. I guess Codex was trained on my Free and Open Source stuff too...

This kinda thing is what made me laugh the hardest, kid claims to be 13 on their GitHub profile but one-shots a 1700 line xHCI driver with almost no comments? Either Terry A Davis himself has fallen back from heaven or I need some of whatever greens their mom is feeding them.
https://github.com/adriantips/boltossource/commit/b2430a8fe0...

They sure made short work of writing a RTL8139 driver!