News for hackers. Stuff that matters.

sdfdf4434r34r

Re:Design evolution of the Windows control panel on Friday December 17, 2021 @11:34AM (#29594472)
'Normies' probably never open up the control panel/settings to change anything, ever.
Re:Portable software is more complex than you think on Tuesday December 07, 2021 @03:00PM (#29477458)
C is the most portable language in practice, so that can't be true.
You're off by a factor of 10, it killed 50 million in 1918-1920, 1-4 million in 1957-1958, 1-4 million again in 1968-1969, 700k in 1977, 100-200k in 2009.
Re:I dread writing embedded GUIs on Friday November 05, 2021 @04:49PM (#29124593)
Same here.

The constraints he talks about (hardware and memory) I find to be a lot easier to program for because they really put a hard stop to useless abstractions - I find myself just wiring straightforward code and getting things up and running immediately instead of wasting lots of time on design and architecture.

Re:Parsing gigabytes of JSON per second on Sunday October 24, 2021 @11:28AM (#28978797)
>{ contentType: "image/jpeg", content: <real binary data not base64> }

It would have to be encoded somehow, because what if the "real binary data" included the byte 0x7D which is '}'

Re:Comp.lang.c Frequently Asked Questions on Sunday September 12, 2021 @02:29PM (#28503559)
And then you get to the unfortunate situation that is the x64 ABIs - int is still 32-bit, leading to a bunch of extra movsx instructions if you use ints for things like indexing.
Re:When static makes your C code 10 times faster on Sunday July 04, 2021 @02:56PM (#27731799)
As an embedded programmer working on small micros I make every single function static (including third party code, which I modify and bring into the source tree and curate myself), gives you global/link time optimizations and dead code elimination for free, leads to better code even at -O0, -Og and -O1, static const configuration structs/values gets optimized away, and so on.

Really wish it was the default.