Remix.run Logo
lrvick 4 days ago

https://codeberg.org/lrvick/nit

Still WIP but working.

I do not personally know a single human I could have hired who could write low level nostd nolibc noalloc rust like this, and certainly not in only a week even with hundreds of messages from me giving them detailed direction. That person may exist, but a day of their time likely costs more than the GPUs I racked up in my garage to assist with this.

I know no one wants to believe an LLM plus a human could produce more secure code than an LLM or human working alone, but as engineers we should adapt to whatever gets the best results.

Also every line is manually audited by two experienced software engineers before production.

fwip 4 days ago | parent | next [-]

Nearly any C programmer could write this.

lrvick 4 days ago | parent [-]

In a week for a few dollars of pay with a test suite that comprehensive and on my exact schedule to collaborate with me around the clock? I doubt it, but I would love to meet that person if I am wrong!

Dylan16807 4 days ago | parent [-]

This is the fastest I've ever seen goalposts move. Like, this is a completely different claim from "It would be too annoying for a human to ever write code to standards this high".

lrvick 4 days ago | parent [-]

If you take what I said out of context with zero charity, sure.

> and would have taken me months to write by hand

That implies humans can write it because I am a human and presumably other humans can too. I was making a statement about it not being possible to write it in any justifiable amount of resources.

My company would fail if I spent months on this, but a week to harden init is for sure worth it.

Dylan16807 4 days ago | parent [-]

I interpreted that as you saying in a few months you could write the code but not to those standards.

If a single person can do the full job to full standards in a few months, then the whole idea of it being too annoying for a human to ever do falls apart. That's not that expensive. Your company can't spare you, sure, but most companies could handle that price.

And even with the adjustment to being something it's easy to hire someone for, that's still ballparks away from "in a week for a few dollars". Nearly every coding project is impossible for humans by that standard.

lrvick 4 days ago | parent [-]

> Nearly every coding project is impossible for humans by that standard.

Exactly, which is why this small project, and the other dozen projects that need to be written to the same standards to make the final end result OS, would just simply not happen otherwise.

No small FOSS org can afford to spend person-years holding standards this high, which is why in practice most orgs just cut a ton of corners and pull in tons of dependencies no one will ever review and the attack surface that comes with them.

LLMs allow experienced engineers to get 10x as much done in the same time, and now that this is possible few will be willing to pay engineers to do it at 1x speeds again.

Just like once assemblers became normalized, few orgs would let people write all their assembly by hand anymore except for very small high performance sensitive portions.

Software engineering is not going away. It is just accelerating because we were able to move our attention up a layer again.

Dylan16807 4 days ago | parent [-]

> Exactly

Please use very different wording from "impossible" or "can't be done" then. It not being price-competitive is a far weaker claim.

lrvick 4 days ago | parent [-]

If you read the rest of the same line you are hung up on I literally said I could have done it in a few months, which implies I believe humans can do it, so clearly I was saying it was impossible to do in any practical amount of time or resources.

Dylan16807 4 days ago | parent [-]

I already addressed that https://news.ycombinator.com/item?id=49718446

My request for better wording stands. The context was not enough to make things clear.

uecker 4 days ago | parent | prev [-]

So it violates codeberg's policy.

lrvick 4 days ago | parent [-]

I started with a hand coded C version, then a hand coded rust version, and then an LLM refactor to remove all dependencies and add a comprehensive test suite.

Please, report me to Codeberg. It will be amusing.

I personally know a Codeberg admin that works with LLMs as a tool for things like this which are actual engineering and not vibe coding.

uecker 4 days ago | parent [-]

You should move it yourself out of respect for the community.

lrvick 4 days ago | parent [-]

No.

I actually read the terms and my community and I comply with them.

If you think I do not, you are free to report me.

> If your work fits into these cases, it is unlikely that you are affected at all:

> Projects who have an active community that cares about and maintains the software

> Projects with a significant pre-LLM history

uecker 4 days ago | parent [-]

Maybe it is tolerated.