News for hackers. Stuff that matters.

kvemkon

Thanks for clarification! I'm glad, that you're using the golang compiler capabilities. And now I see:

https://github.com/theconsensuslabs/noalloc#the-compilers-ou...

Go compiler has an advanced escaping analyzer. Wouldn't it be easier and better to add this noalloc-analyzer feature to golang directly?
Similar with malloc in C / new in C++, especially for short-living, repeating, in hot path. And then you hear: avoid allocations, use constant-size buffers or memory pools. Avoid spawning threads, use thread pools.
> investigative journalist

I think there is a confusion of blogger with a registered journalist, who must follow journalist's (ethic) rules.

Re:AI promised less work. I've never worked more on Tuesday October 27, 2026 @08:23PM (#50267797)
Aluminum was and is still something we cannot afford to waste.

14 years ago: "The Battle for Raw Materials - A Company on the Hunt for Aluminum" (DE)

https://www.youtube.com/watch?v=rd1Fern6JQ8

few days ago: "Dispute Over Aluminum Scrap: European Industry Calls for Export Restrictions" (DE)

https://www.youtube.com/watch?v=Ucgyfee6eNk

Re:C vs. C#: racing VLC's Gaussian blur on Saturday October 24, 2026 @06:51AM (#50220040)
In C++ we have such troubles either. If something looking as constant cannot be 100% proved to be a constant, it cannot be optimized.

> Incrementing vectors (26.08.2019)

https://news.ycombinator.com/item?id=20800076

> A new model for open source: closed to pull requests

That's how SQLite operates since decades. And it might be good for them. It is specific project with billions of running instances (handling long-term preserved and modified data contrary to curl), but it doesn't apply generally.

Allowed pull requests is not equal to obligation to review them and to accept. Some disclaimer about how much time one has for this work is very useful for a potential contributor to know in advance what one can expect.

Re:Decade-old RAM is making a comeback on Sunday October 11, 2026 @12:40PM (#50045083)
I know the only manufacturer of such 64GB modules: Crucial (Micron), but Micron doesn't sell new chips to Crucial, thus almost no chance to get them anymore (though few months ago there were some). Kingston (using Micron, Hynix and Samsung) still does not have 64GB.

Soon Zen 6 should become available (well, or not so soon). With 7200 MTs memory controller? I haven't seen such JEDEC modules at all. Are they possible without the additional clock driver (like on 6400 CUDIMMs)?

Re:C for Rust Programmers on Saturday October 10, 2026 @09:41AM (#50032881)
> the program should check for a null pointer and gracefully exit if one is found: ...

If malloc() fails, there is no need to exit the program completely with exit(), only return from the current function with an error.

> See your source code ...

What I'd like to see, is how much time is spent to compile each block of C++ code (sliced as fine as possible).

Re:Memory Companies Have Destroyed the Consumer Market on Tuesday September 29, 2026 @06:36PM (#49901743)
All(?) ASUS mainboards got a week ago a new BIOS:

> Enhanced memory performance, system stability, and compatibility with CXMT memory chips for improved low-latency operation.

A year ago I'd hardly know what CXMT is.

Re:C's Flexible Integer Sizes Were Not a Design Mistake on Sunday September 27, 2026 @06:47PM (#49871586)
> C requires char to have at least 8 bits (CHAR_BIT >= 8)

The famous TI C55x DSP with 16 bits byte for example: https://news.ycombinator.com/item?id=3112704.

And they are still available new for purchase.

> and you have to actually grade the exam

That's the point. As a professor you're allowed to outsource the grading of written exams to you assistants (ongoing PhD teaching stuff). But you must do an oral exam personally.

> usually quicker for the well prepared students

That's true. More time is needed only in case the answer is missing and you have to check whether you hit accidentally the only poorly understood material piece or there are more troubles.

Re:We Should Be Able to Change Our Languages on Sunday September 27, 2026 @09:57AM (#49866685)
And one of the very first rules is:

> by default, variables are immutable

Well, since the name is a "variable", it must by default be mutable. Otherwise it is an exception being forced to become a standard case.

Re:TSMC revealing details about next gen A14 node on Thursday September 17, 2026 @06:27PM (#49747536)
They claim win + win*10:

> provides up-to 50% area reduction and reduced power consumption by a factor ten

Re:TSMC revealing details about next gen A14 node on Thursday September 17, 2026 @05:46PM (#49747038)
Between N2 and A14 should sit A16.
Re:RISC-V Emulator and Linux System from Scratch on Friday September 11, 2026 @08:09AM (#49657071)
Discussion of the corresponding blog post: https://news.ycombinator.com/item?id=49553988
Re:Audacity 4.0 on Friday September 04, 2026 @07:21AM (#49563093)
> since computers are getting new hardware features

It's not possible to move forwards fast anywhere.

> and removing features

Yeah, this is indeed very unfortunate. They claim the GTK core team is about 2 devs, so tiny that we're lucky the development goes further at all. Hard to understand considering Red Hat became part of IBM.

Re:The Largest Electric Aircraft Just Flew [video] on Friday September 04, 2026 @07:02AM (#49562947)
> Lets say we are using batteries that are 300 wh/kg (0.3 kwh/kg)

400 Wh/kg are almost there [1].

[1] https://youtu.be/nM86DBOqgPM?t=541

Re:The Largest Electric Aircraft Just Flew [video] on Friday September 04, 2026 @06:59AM (#49562921)
> more likely to be 50 kWh just for the take-off

1.6 MW power [1]. Would be 2 minutes for take-off realistic?

[1] https://youtu.be/nM86DBOqgPM?t=475

Re:Audacity 4.0 on Thursday September 03, 2026 @11:12AM (#49551256)
> so difficult to upgrade to new versions

Perhaps, because GTK developers insist, that GTK2, GTK3, GTK4 are different toolkits.

> Qt4 to Qt5 usually only involved ...

I'd start with Qt3 to Qt4.

Re:Audacity 4.0 on Thursday September 03, 2026 @10:46AM (#49550609)
I can still use and develop GTK2 software in Debian out-of-the-box, but not Qt3 or even Qt4.
> to a newly-allocated part of the drive's LBA space

Which is rather a case for home use, not practical for highly parallel access industrial use cases. That's why the issue became a research topic. For the first time I saw a proof that the "fact" SSDs do not need defragmentation is actually a myth. Well, you still want to avoid explicit defragmentation (waste of time and SSD lifetime) by filesystem driver submitting additional hints (using new NVMe extensions) to the SSD controller about what blocks belong to the same file, so that SSD can place them for an optimal sequential access with properly interleaving (not necessary strictly physically consecutively whatever this means on SSD).

https://www.usenix.org/conference/fast24/presentation/jun

To visually inspect fragmentation of a drive on Linux, a tool exists since 15 years: https://github.com/i-rinat/fragview. Just in case.
Re:Tether: iMessage, SMS, etc. on Linux on Saturday August 29, 2026 @02:13PM (#49492003)
That's what I thought at first but then discovered:

> universal clipboard is synchronized over internet, it is not done trough cable connection. it uses apple continuity service, what you put into UC is uploaded into apple cloud,..

https://github.com/libimobiledevice/libimobiledevice/issues/...

That's why I'm a bit confused now.

> don't let the "KDE" fool you

Being GNOME2-then-MATE user, it really would.

Re:Tether: iMessage, SMS, etc. on Linux on Saturday August 29, 2026 @01:29PM (#49491646)
Is there an easy way to share iOS clipboard to Linux directly using local WiFi without going through any cloud?

Edit: clarification in my reply later in this thread: https://news.ycombinator.com/item?id=49492003

Re:How Europe is killing makers and micro-entrepreneurs on Tuesday August 25, 2026 @06:14PM (#49441420)
This is an interesting point of view. I've been thinking that only the moment counts, when the manufacturer has been made aware, regardless when the manufacturer has in fact actively become aware. Thanks!
Re:Why some US restaurants are banning tips on Tuesday August 25, 2026 @07:31AM (#49432138)
> Wine waiter Caroline Kraetzer earns $40 (£30) an hour

Is this before taxes or what remains after?

Older »