News for hackers. Stuff that matters.
Re:I miss thinking hard by Krssst on Wednesday February 04, 2026 @03:56AM (#46883311)
OS and compilers have a deterministic public interface. They obey a specification developers know, so you they can be relied on to write correct software that depends on them even without knowing the internal behavior. Generative AI does not have those properties.
Re:I miss thinking hard by refactor_master on Wednesday February 04, 2026 @04:23AM (#46883515)
But the code you’re writing is guard railed by your oversight, the tests you decide on and the type checking.

So whether you’re writing the spec code out by hand or ask an LLM to do it is besides the point if the code is considered a means to an end, which is what the post above yours was getting at.

Re:I miss thinking hard by skydhash on Wednesday February 04, 2026 @06:40AM (#46884626)
Tests and type checking are often highway-wide guardrails when the path you want to take is like a tightrope.

Also the code is not a means to an end. It’s going to be run somewhere doing stuff someone wants to do reliably and precisely. The overall goal was ever to invest some programmer time and salary in order to free more time for others. Not for everyone to start babysitting stuff.

Re:I miss thinking hard by signatoremo on Wednesday February 04, 2026 @08:26AM (#46885565)
> They obey a specification developers know

Which spec? Is there a spec that says if you use a particular set of libraries you’d get less than 10 millisecond response? You can’t even know that for sure if you roll your own code, with no 3rd party libraries.

Bugs are by definition issues arise when developers expect they code to do one thing, but it does another thing, because of unforeseen combination of factors. Yet we all are ok with that. That’s why we accept AI code. They work well enough.

Re:I miss thinking hard by skydhash on Wednesday February 04, 2026 @10:36AM (#46887121)
> Is there a spec that says if you use a particular set of libraries you’d get less than 10 millisecond response?

There can be. But you’d have to map the libraries to opcodes and then count the cycles. That’s what people do when they care about that particular optimization. They measure and make guaranties.

Re:I miss thinking hard by raw_anon_1111 on Wednesday February 04, 2026 @01:52PM (#46889977)
That’s not realistic with any processor that does branch prediction, cache hits vs cache misses etc
Re:I miss thinking hard by skydhash on Wednesday February 04, 2026 @03:42PM (#46891417)
You can easily compute the worst cases. All the details are in the specs of the processor.
Re:I miss thinking hard by raw_anon_1111 on Wednesday February 04, 2026 @04:16PM (#46891905)
Assuming also that you are not running on top of an operating system, running in a VM with “noisy neighbors”…

I haven’t counted cycles since programming assembly on a 65C02 where you cooks save a clock cycle by accessing memory in the first page of memory - two opcodes to do LDA $02 instead of LDA $0201

Re:I miss thinking hard by skydhash on Wednesday February 04, 2026 @05:10PM (#46892555)
Then assumes the opposite. Build an RTOS and don’t virtualize your software on top of it.
Re:I miss thinking hard by Krssst on Thursday February 05, 2026 @10:33AM (#46900783)
For compilers: the C++ standard.

For OSes: POSIX, or the MSDN documentation for Windows.

Compiler bugs and OS bugs are extremely rare so we can rely on them to follow their spec.

AI bugs are very much expected when the "spec" (the prompt) is correct, and since the prompt is written using imprecise human language likely by people that are not used to writing precise specifications, the prompt is likely either mistaken or insufficiently specified.

Re:I miss thinking hard by raw_anon_1111 on Wednesday February 04, 2026 @08:28AM (#46885586)
Yes but developers don’t have a deterministic interface. I still had to be careful about writing out my specs and make sure they were followed. At least I don’t have to watch my tone when my two mid level ticket taking developers - Claude and Codex - do something stupid. They also do it a lot faster