News for hackers. Stuff that matters.

nullpwr

You said it perfectly, thank you!

I've always noticed that the generation that grew up with smartphones has little understanding of websites, forums, legendary authors, and so on. And this transformation happened very quickly. Frighteningly quickly.

As a member of the older generation, I don't know if I'll be able to fully adapt to these new trends.

Re:Everything in C is undefined behavior on Thursday May 21, 2026 @06:17AM (#48220293)
Thanks for the clarification. Yes, that's right – that's the job of the compiler/parser/etc.

I like the C programming language. To be honest, I regret not having the knowledge (low skills) to write my own compiler, or at least a standard library. I have some rough sketches on paper of what it should look like, but I can't implement it.

It's difficult to write a law that's "correct" and satisfies all parties. And also lobbying from large companies is quite strong.

Search engines and me. Is the classic internet dying? [off-topic]

Over the past six months, I've honestly completely stopped visiting websites from search results. A short answer is enough for me - a citation, whether from the search engine itself or some lightweight AI Overview.I'll also say - I don't like it. I feel a certain moral obligation to visit the author(s) website. But then again, why do it if I've already received the answer?Is...

( Read More... | 5 comments | on HN )
Re:Everything in C is undefined behavior on Wednesday May 20, 2026 @08:50AM (#48206847)
> The language should not let you create an an invalid pointer, or at least warn you when you are doing so

completely agree!

Re:Everything in C is undefined behavior on Wednesday May 20, 2026 @08:09AM (#48206411)
Excellent post. But it's addressed to the wrong people.

The problem lies with compilers, not with the language and its specification, or with the creators of the C programming language.

Anyone can write a compiler that transforms all undefined behaviors (UB) into defined behaviors (DB). And your compiler will be used by people, including me.

Ok. Copy that. tnx
I'm not sure if this is related or not. But a few days ago, I saw commits from the "future tense" in some repositories. When you read "committed tomorrow" after a commit, it's not funny at all. I posted a screenshot in the announcement on GitHub.