Hacker News new | ask | show | jobs
by DocJade 18 hours ago
> ai-assisted, but only about 10%

x_to_doubt.png

2 comments

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
"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!

Seriously, why lie? It's immediately apparent looking at the commits, the frequency of commits, and the volume of code being pushed that the "10%" estimate was off by about a factor of 10.
He is just 13 years old (https://github.com/adriantips). This is still pretty impressive for kid wanting to build an OS at this age. But it would be better to drop the claim about the percentage if this is not the case.
> This is still pretty impressive for kid wanting to build an OS at this age.

There's nothing impressive about asking LLM to do it for you...

There is no way to verify this assertion. I have serious doubts, AI generated or not.
I wouldn't be surprised if it's 90% of the time & effort spent coding manually, and only 10% as much time prompting AI.

Still not too shabby.

Or Claude's extremely verbose commit descriptions on virtually all commits. Turning off Claude's attribution doesn't magically made the commits not slop.