News for hackers. Stuff that matters.

poppadom1982

Re:Fusion Programming Language on Saturday June 27, 2026 @05:15AM (#48696562)
It's a nice idea but the C portion expects an array of unknown size, no bounds checking possible at all and it's also not returned how large the PNM image is. I also don't understand why glib is needed here to get the array to work. It's also missing the stdint.h include to be able to use uint8_t.
Re:Dopamine Fracking on Monday June 08, 2026 @05:52AM (#48443259)
Which ones?
That's wonderful, have I mentioned that I have found a piece of software that does EVERYTHING that you've ever wanted? Spreadsheet, web browser, Bitcoin miner, it does EVERYTHING.

That software is gcc. Only caveat is you need to implement anything yourself, including the software you invented five minutes ago.

Case in point: clickbait is super annoying

Re:Avoid Using "< [Cdata[ ]]>" in RSS on Friday May 29, 2026 @03:59AM (#48320363)
Is this ragebait?

An article that is SUPER verbose (read: AI slop) and discusses in-length the arguably most stupid approach to parsing/serializing XML -- string replacement. Jesus Christ, what kind of misguided noob would write such drivel?

Re:Everything in C is undefined behavior on Wednesday May 20, 2026 @08:43AM (#48206771)
You're missing the point. Volatile forces two loads of a value that may have changed in the middle. So the value of "x" may depend on the time/order of load.
Re:We let AIs run radio stations on Tuesday May 19, 2026 @02:24AM (#48189903)
Wow, this is awful
Re:C++26 is done ISO C++ standards meeting, Trip Report on Tuesday March 31, 2026 @02:43AM (#47583576)
Open source and free software isn't the same thing. Nobody made a claim on Java either, until someone did. I just distinctly remember explicitly not exploring D for that reason. Also this way way before LLVM and I also don't think GNU had a D compiler back then. There was only the (and I really believe it was closed source) Digital Mars compiler.
Re:C++26 is done ISO C++ standards meeting, Trip Report on Monday March 30, 2026 @01:31PM (#47577241)
Yeah dude but you've really marketed D poorly. I remember looking at D what must be 15 years back or so? And I loved the language and was blown away by its beauty and cool features. But having no FOSS compiler and the looming threat of someone claiming a patent (back then it was unclear that Mono/C# was "legal" and even Java hung in the balance) was too scary for me to touch it.

Now I'm old and I believe D has missed its opportunity. Kinda sad.

Re:An Incoherent Rust on Tuesday March 24, 2026 @04:30AM (#47499924)
My point is, in your exact example both reinterpret_cast and C-style casts have the exact same behavior, making the example bad. If you want to showcase a deficiency of C++, it would make sense to pick something where the difference between cast types actually matters.
Re:An Incoherent Rust on Tuesday March 24, 2026 @03:39AM (#47499613)
I'm not sure what you're getting at but

const bool z = (const bool)((int8_t)2);

Is perfectly valid C++.

> The Core Idea

> Enter X

> How It Works (Without the PhD)

> Why Y Should Care

...and an incredibly handwavy shallow explanation of why this actually works ("Through a clever sequence of oblivious transfers and what’s called multiplicative-to-additive share conversion, they each compute a partial signature.")

I don't get it. If you want a blog, write a blog. If you don't want a blog, don't write a blog. But why use an LLM to create a slopblog? It just wastes EVERYONE's time and energy. How disappointing.