HNHacker News
TopNewBestAskShowJobs

bigpingo

22 karma · joined December 18, 2024

submissionscomments
bigpingo··on Promising results from DeepSeek R1 for code
I have always had the same line:

AI will blow my mind when it solves an unsolved mathematical/physics/scientific problem, i.e: "AI, give me a proof for (or against) the Riemann hypothesis"

bigpingo··on Be Aware of the Makefile Effect
For C and C++* projects under ~100k lines I wouldnt bother with incremental builds - I have a 70k C project with a single translation unit that builds in under 1s on my machine.

* C++ requires some discipline to not explode build times, but it can be done if you dont go nuts with templates and standard headers.

bigpingo··on Writing a simple pool allocator in C
And this is why type based alias analysis (TBAA) is insane and why projects like linux complies with fno-strict-aliasing.

C should issue a defect report and get rid of that nonsense from the standard.

bigpingo··on Zig's comptime is bonkers good
Yeah I never got the aversion to operator overloading either.

"+ can do anything!" As you said, so can plus().

"Hidden function calls?" Have they never programmed a soft float or microcontroller without a div instruction? Function calls for every floating point op.

bigpingo··on Static search trees: faster than binary search
gcc is available on and targets more platforms than rust. So if GNU C is not considered portable you can forget about 'portable rust'.
bigpingo··on Ask HN: Programmers who don't use autocomplete/LSP, how do you do it?
I hate annoying distractions, be it popups, beeps, notifications, alerts, auto brace/quotes/etc and autocomplete prompts. I turn all of that off in every program because I want to be in total control of the computer.

When it comes to autocomplete specifically I initially turned it off because I was mainly a C++ programmer and C++ autocomplete has just never been good enough and a half-working autocomplete is just worse than nothing at all because you end up stalling and waiting for the prompt. But eventually I just grew to hate it for all languages because it interrupts flow and "pipelining".

bigpingo··on GPT-5 is behind schedule
Link to GPT-4 passing the turing test? Tried googling, could not find anything.
bigpingo··on Fixing C Strings

  printf("%.*s", len, str);
lets you pass the length as an int argument.