News for hackers. Stuff that matters.
Re:The Flash C Compiler by hn_submit on Saturday November 07, 2026 @05:09AM (#50403192)
Why is everyone calling LLM generated code "written from scratch" with almost no clue that they didn't write one line of code themselves? Yeah, it was written from scratch, but not by you!!
Re:The Flash C Compiler by rowanG077 on Saturday November 07, 2026 @06:19AM (#50403548)
Why does it matter? Tbh at this point if frontier models are used I would place more trust in the average codebase than the average pre-AI codebase.

There are outliers where an excellent team of devs produce great quality. SQLite comes to mind. But it's easy to forget that is the 0.x%.

Re:The Flash C Compiler by throawayonthe on Saturday November 07, 2026 @06:48AM (#50403720)
the comment isn't even about the quality, it's about the "from scratch" aspect (used to 'market' it)
Re:The Flash C Compiler by rowanG077 on Saturday November 07, 2026 @06:52AM (#50403749)
But isn't that correct? It doesn't seem to be based on anything, or am I missing something?

Or is it "To make an apple pie, you must first invent the universe" kind of deal. Which doesn't make sense to me either.

Re:The Flash C Compiler by FeteCommuniste on Saturday November 07, 2026 @06:55AM (#50403762)
If you hired a chef to come to your house and make a pie from scratch, would you then share the pie with your friends and tell them that you made it from scratch?
Re:The Flash C Compiler by rowanG077 on Saturday November 07, 2026 @07:02AM (#50403798)
No I wouldn't, but that is not really what happened here. If someone used a bread making robot and put the ingredients in there and it made bread most people would have no problem saying they made bread from scratch.

In the same way a program manager is free to say "We build X from scratch" even though they made no code contribution to it. The we is replaced with I since no other person was involved in this case.

Re:The Flash C Compiler by ranger_danger on Saturday November 07, 2026 @08:59AM (#50404595)
> most people would have no problem saying they made bread from scratch

That's fine for bread, but for people that see code more like art, they have a preconceived notion that "from scratch" means writing the code yourself.

Some people code to solve a problem and they don't care how it gets done. They have no problems using AI and see other methods as prehistoric. That's fine for them, carry on.

For me, the journey is more important than the destination.

Being able to code "by hand" is what strokes my sense of worth and accomplishment... knowing I can do something that not just anyone can. Pushing a button or prompting an AI isn't the same for me, that's more like a project manager and something I never want to be.

When people bash on the anti-AI crowd, they just don't understand that people code for different reasons, and neither is more right or wrong.

Re:The Flash C Compiler by rowanG077 on Saturday November 07, 2026 @09:51AM (#50405045)
I agree that people can write code for whatever they want, and that is valid.

Code can be art, making food can also be art. So I'm don't agree with your distinction that code is materially different from baking.

The terminology "from scratch" and "by hand" are really not interchangeable in my opinion. "By hand" implies something about the process. "From scratch" implies something about the state before you started, not anything about the process.

Re:The Flash C Compiler by ranger_danger on Saturday November 07, 2026 @05:42PM (#50408731)
In this context I think they are interchangeable and that many people do interchange them, whether you agree with them or not.

It's fine to disagree, I don't think you're "wrong", and I don't think I'm "right" either. We just have different perspectives and definitions of words, and that's ok.

I think the more important thing is understanding the intent of the person speaking, instead of just trying to win an argument, as that's derailing the conversation/topic anyways. And in this context, all I was trying to convey by using "by hand" and "from scratch" was the notion of coding without using an LLM.

Re:The Flash C Compiler by JdeBP on Saturday November 07, 2026 @07:37AM (#50404033)
The plotline of at least one Hallmark romcom movie, as I recall. (-:
Re:The Flash C Compiler by program_whiz on Saturday November 07, 2026 @07:47AM (#50404097)
A more apt analogy is heating up a frozen packaged pie, then saying it was made from scratch. Yes _you_ bought from the store, but somewhere ingredients were assembled and it was made "from scratch".
Re:The Flash C Compiler by FeteCommuniste on Saturday November 07, 2026 @06:50AM (#50403739)
What does a vibe-coder say when he orders a dish at a restaurant and the waiter brings it to the table? "Look at the food I made!"
Re:The Flash C Compiler by aleph_minus_one on Saturday November 07, 2026 @07:49AM (#50404108)
On the other hand: many managers love to claim to have been deeply involved in the development of some product when the actual work was done at least by their underlings, or sometimes even a completely different team.

If people were similar confrontive in calling out such managers ...

Re:The Flash C Compiler by jhbadger on Saturday November 07, 2026 @10:15AM (#50405259)
Or any project of any size -- scientists running a lab rarely do the experiments or data analysis themselves -- they have graduate students and postdocs for that. Their job is to decide what those people work on.
Re:The Flash C Compiler by aleph_minus_one on Saturday November 07, 2026 @10:22AM (#50405319)
With the same argument, you can argue that it is the programmer's job to decide which LLM shall work on the problem, and the programmer still gets the credit for the work. :-)
Re:The Flash C Compiler by jhbadger on Saturday November 07, 2026 @10:28AM (#50405360)
Yes, that's my point -- assuming the programmer actually spent some time thinking it through.
Re:The Flash C Compiler by sn0n on Saturday November 07, 2026 @07:57AM (#50404169)
ArtCraft says it’s all written from scratch as well.
Re:The Flash C Compiler by rfgplk on Saturday November 07, 2026 @09:09AM (#50404673)
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.

Re:The Flash C Compiler by rfgplk on Saturday November 07, 2026 @09:05AM (#50404643)
"Written from scratch" just means that no external code or existing libraries were used in producing something. Nowadays it's preferable to reusing code/crates/whatever because a) you avoid supply side attacks b) the implementation is likely going to be more correct and performant than alternatives c) it's actually easier to write your own thing than to download an existing lib and wrangle it into your project.