News for hackers. Stuff that matters.

yosefk

Re:2026 is an exciting year for the Rust compiler (and me) on Tuesday October 20, 2026 @05:19PM (#50172827)
Fair enough but Rust also gives you a mix of safety and efficiency nothing else does
Re:2026 is an exciting year for the Rust compiler (and me) on Tuesday October 20, 2026 @05:17PM (#50172808)
Zig dumps core and Go is slower and needs more memory though, and this matters, too. (not that Rust build times are really a price to pay for avoiding these things, it's more a result of not making fast builds a goal from the start)
...because your work projects are bigger, there's only so big a black box can get before you lose all comprehension of it, and splitting it to smaller black boxes the shapes of which you keep refining is programming, and the part of it LLMs currently can't do
Re:Doing Everyone Else's Job on Saturday September 19, 2026 @02:07AM (#49763812)
No, the argument is that it's less appealing to leadership even when it's the better outcome, but not vice versa - it might or might not be better for reasons unrelated to said appeal ("standardizing on something across the company vs having everyone roll their own variant is a hard decision to make.")

And of course you can also end up standardizing on something because it benefits someone good at politics even though it's a bad idea, I just didn't elaborate on this stuff because it is too far away from the subject. I didn't say you should always stanardize on something though, I said that it was a hard decision

Re:Doing Everyone Else's Job on Friday September 18, 2026 @09:20AM (#49754022)
TFA author - I very much agree, don't do this for free
Re:Doing Everyone Else's Job on Friday September 18, 2026 @09:19AM (#49754015)
Ah, I call this the defense-dominant workplace. Not a fun situation to be in!
Re:Doing Everyone Else's Job on Friday September 18, 2026 @09:17AM (#49753999)
Well, they are 2 different failure modes. You have people dumping their work on someone all too willing (I even know productive people who just like helping way more than doing their own work and then complain that they have no time for said work, not as easy to manage as it sounds), and you also have teams which mostly refuse to do anything from anyone. You can tell a "workplace shark" from a more vegetarian workplace animal by whether they credit people for their work.
Re:Doing Everyone Else's Job on Friday September 18, 2026 @09:13AM (#49753958)
What are you disagreeing with in TFA though? I agree with your points, I just think there are counterpoints and this needs to be decided on a case by case basis
Re:Doing Everyone Else's Job on Friday September 18, 2026 @09:12AM (#49753942)
Right, but that's more a lack of reward than outright punishment. If you work with these people on something that "crosses boundaries" and that something succeeds, you can credit them and in the hope to help their career. I agree that larger places are worse in this regard (though there can be a small part of a large place which is, well, small enough to work like a small one), and that you should generally make sure you're rewarded for your work, and if you're not, either work less or work elsewhere.
Uber reported that their Go code has quantitatively more concurrency bugs than code in other languages, and while to me it seems obvious from looking at Go's concurrency model, this is backed by actual data. Is there any quantitative data to back the claim that Go is better in an LLM based workflow than another popular language?
Bush knew what he was doing - Hamas has the influence it has because the US wants it to have it. When Trump decided he wants them to release Israeli hostages he forced them to do it rather quickly, all things considered, showing who really controls Hamas. Restraining American "allies" is key to how America understands its interests and Hamas is an excellent lever to pressure Israel, or Hamas-controlled Gaza wouldn't be flooded with American and European money.

Similarly, Obama supported the Muslim Brotherhood because he did; in Ukraine for instance the same admin supported a coup against the elected government (this is not to say that Russia's actions in Ukraine are "justified", it's just a fact.) Democracy has nothing to do with any of this

Re:The Session You Cannot take with you on Friday July 31, 2026 @05:27AM (#49120885)
Currently these models have a limited context window, so the value of a session is not that high, at any rate at some point the model will have forgotten things. If in the future the model will truly learn / "change" as a result of the interaction, in any case this will be non portable to another model. So I think this is kinda moot
I'm able to see how it's safer than Rust but what I like is that it works with existing C++ code; I don't think the extra safety relative to Rust is worth the performance penalty (not to mention needing to recompile every dependency) and I doubt you think that, either
Re:Memory Safety Absolutists on Sunday July 26, 2026 @12:57AM (#49054873)
I think Fil-C is awesome and I very much like the style in which you present your work as well. (Hope I'm not being too emotional here!)

FWIW, I can see where TFA is coming from and I had the urge to write something "in defense of Rust" after listening to / reading some of your recent comments. I think your sister comment about the limits to Rust memory safety being real as much as the limits to Fil-C's performance and practicality is spot on, but the feeling (those emotions again) one gets from much of your commentary is that you downplay the latter quite a bit.

I think the real argument for Fil-C is that you aren't going to "rewrite in Rust" but you can often realistically recompile in Fil-C and pay the performance penalty; the fact that that Rust rewrite could also end up less safe is I think should be argued mainly from the AI angle where the only practical way is an LLM based rewrite but that would have a load of unsafe - way more than a "proper" rewrite - to be practical and the recent $100K Bun rewrite is a testament to that.

(I would love nothing more than for Fil-C to become as widely used as it practically can, since no other approach does nearly as much to secure C / C++ code and a lot of said code is out there; and security aside, it could prevent a lot of data corruption that most major C++ programs gift to their users.)

Re:We charge $10k a week to delete AI-generated code on Friday July 17, 2026 @03:30AM (#48944336)
Too cheap, charge 3x more at least
Certainly puts "good" into perspective
The Ukraine of China is more like it
Re:Floor and Ceil versus Denormals on CPU and GPU on Saturday May 30, 2026 @10:07AM (#48336363)
Flush denormals to zero. Even their inventor had trouble writing correct code in their presence - see the Appendix to that "what every programmer should know..." paper
Re:All means are fair except solving the problem on Thursday May 07, 2026 @06:54AM (#48047890)
Indeed you're supposed to, but that way if someone calls exit(0), it looks like the program worked fine, when in fact they committed some debug code and made the program no longer run to completion. "Yay, done" was put in for the scripts to flag this sort of thing, presumably based on experience.
While we're at it, when did central banks start to buy lots of gold and under which POTUS? Could it have something to do with the freezing of hundreds of billions of some sovereign assets?
Re:Missile Defense Is NP-Complete on Wednesday March 25, 2026 @01:07AM (#47513508)
What produces this Iranian "mercy" at a time when Iran is extensively bombed, if not a combination of defensive and offensive capabilities providing escalation dominance?
Re:The optimal age to freeze eggs is 19 on Monday March 09, 2026 @03:01PM (#47313748)
The optimal age to have children is way before you need to rely on frozen eggs (one reason among many being that this process doesn't always work)
Re:Claude Code Remote Control on Wednesday February 25, 2026 @11:49AM (#47154065)
Coding is a solved problem. Problems with the code - these are far from solved, in fact they're multiplying, but coding is definitely solved
Re:How to Make a Living as an Artist on Thursday February 12, 2026 @01:50AM (#46985585)
Seems like a case of snobbery on behalf of these people. These are nice images but not "high art" which I guess prompts some people to scoff at them
Re:Claude's C Compiler vs. GCC on Monday February 09, 2026 @01:38AM (#46942236)
"Ironically, among the four stages, the compiler (translation to assembly) is the most approachable one for an AI to build. It is mostly about pattern matching and rule application: take C constructs and map them to assembly patterns.

The assembler is harder than it looks. It needs to know the exact binary encoding of every instruction for the target architecture. x86-64 alone has thousands of instruction variants with complex encoding rules (REX prefixes, ModR/M bytes, SIB bytes, displacement sizes). Getting even one bit wrong means the CPU will do something completely unexpected.

The linker is arguably the hardest. It has to handle relocations, symbol resolution across multiple object files, different section types, position-independent code, thread-local storage, dynamic linking and format-specific details of ELF binaries. The Linux kernel linker script alone is hundreds of lines of layout directives that the linker must get exactly right."

I worked on compilers, assemblers and linkers and this is almost exactly backwards

Re:Why I Joined OpenAI on Saturday February 07, 2026 @03:18AM (#46922230)
Thank you very much for your work. I think people envious of someone's compensation don't deserve a response
"Also, it [Claude Code] flickers" - it does, doesn't it? Why?.. Did it vibe code itself so badly that this is hopeless to fix?..
Re:In Europe, Wind and Solar Overtake Fossil Fuels on Thursday January 22, 2026 @01:16PM (#46723055)
The list of the oil producers listed and omitted on a given forum in these contexts is always interesting. On HN it is often SA or Russia, and almost never Qatar or Iran.
Re:Erdos 281 solved with ChatGPT 5.2 Pro on Sunday January 18, 2026 @02:53AM (#46665715)
How dare you question the rigor of the venerable LLM peer review process! These are some of the most esteemed LLMs we are talking about here.

Older »