frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ford execs say they made a mistake when they replaced human engineers with AI

https://www.neowin.net/news/ford-execs-say-they-made-a-mistake-when-they-replaced-human-engineers...
1•gscott•3m ago•0 comments

We measured whether AI obeys architecture rules. Even Opus ignored them 60%

https://hunch-pi.vercel.app/blog/post?slug=ai-ignores-your-architecture
1•davesheffer•3m ago•0 comments

Show HN: OpenClaw Launch – deploy a managed OpenClaw AI agent in 30s

https://openclawlaunch.com
1•zackchew•4m ago•0 comments

CraftsmanSHIP. Not CraftsmanSHIT

https://fagnerbrack.com/craftsmanship-not-craftsmanshit-88db7c982103
1•fagnerbrack•4m ago•0 comments

LFM2 VL WebGPU

https://huggingface.co/spaces/LiquidAI/LFM2-VL-WebGPU
1•fagnerbrack•5m ago•0 comments

Qwen3.5 WebGPU

https://huggingface.co/spaces/webml-community/Qwen3.5-WebGPU
1•fagnerbrack•5m ago•0 comments

Show HN: An LLM that designs M5Stack hardware builds

https://unitkit.pages.dev/
1•toyoshi•7m ago•0 comments

Explore the Leading Global Data Center Database

https://www.datacentermap.com/
1•zeristor•7m ago•0 comments

AirPlay for Google (Android) TV Chromecast

https://github.com/lekandigital/android-tv-airplay-receiver
1•lekan_digital•7m ago•0 comments

Emergent Geometry from the IKKT Matrix Model: Convergence to S^4

https://zenodo.org/records/19558001
1•RIshabh235•9m ago•0 comments

What Is an AI Intelligence Layer for Business Data?

https://www.corpusiq.io/blog/what-is-ai-intelligence-layer-business-data
1•corpusiq_io•10m ago•0 comments

Voxel Collision in SuperSplat

https://twitter.com/willeastcott/status/2070110425648128245
1•wildpeaks•21m ago•0 comments

Apple asks Trump admin to approve Chinese RAM after product price increases

https://9to5mac.com/2026/06/26/apple-asks-trump-admin-to-approve-chinese-ram-after-product-price-...
2•alwillis•22m ago•1 comments

Blue print to let machines think like humans

1•cysparrow•23m ago•0 comments

Sony's State of Play Showed That Every Publisher Is Terrified of GTA 6

https://kotaku.com/sonys-state-of-play-showed-that-every-publisher-is-terrified-of-gta-6-2000701746
1•classified•24m ago•0 comments

Ping pong: A game that requires a C compiler to play

https://www.ioccc.org/2025/uellenberg/index.html
1•thunderbong•25m ago•0 comments

IBM MCGA Gate Array Reverse Engineering

https://github.com/schlae/IBM_MCGA
2•userbinator•25m ago•0 comments

Testing 67 Models: Combining LLMs Rarely Beats the Best Single Model

https://huggingface.co/spaces/josefchen/orchestration-is-allocation
2•josefchen•26m ago•0 comments

Dan Petersen: Is this an worse time for a math career?

https://mathoverflow.net/questions/511484/is-this-an-even-worse-moment-for-a-math-career
1•reasonableklout•29m ago•0 comments

Apple Loses Another Top Executive to OpenAI

https://www.macrumors.com/2026/06/26/apple-loses-another-executive-to-openai/
3•mgh2•29m ago•0 comments

Is Germany looking again at coal-powered electricity?

https://www.bbc.com/news/articles/cy04ykxrj5eo
1•leonidasrup•31m ago•0 comments

'Fingerprints' of black hole's event horizon detected for first time

https://phys.org/news/2026-06-fingerprints-black-hole-event-horizon.html
1•signa11•37m ago•0 comments

5120x2160 100Hz Android Desktop Mode on Razor Fold

https://old.reddit.com/r/motorola/comments/1ufzwyt/i_just_got_5k2k_5120x2160_100hz_smoothly_on_a/
1•politelemon•45m ago•0 comments

AI glasses help students cheat in exams – test-obsessed Asia is ground zero

https://www.rnz.co.nz/news/world/628396/ai-glasses-are-helping-students-cheat-in-exams-test-obses...
3•billybuckwheat•49m ago•0 comments

Certainty Volatility Theory: Stable Uncertainty vs. Fluctuating Certainty

https://theguptalog.blogspot.com/2026/06/adaptive-certainty-theory-maybe-we-dont.html
1•GeorgeWoff25•53m ago•0 comments

Everything* – An interactive voyage through all orders of magnitude

https://www.everything.one/#overview
1•bj-rn•55m ago•0 comments

Lore: Next-generation open source version control

https://github.com/EpicGames/lore
2•taubek•1h ago•0 comments

Gambling disorder cases skyrockets in states where sports betting is legal

https://twitter.com/cremieuxrecueil/status/2070651565107446116
1•MrBuddyCasino•1h ago•0 comments

The New York Times Amends Lawsuit Against OpenAI and Microsoft

https://www.nytimes.com/2026/06/25/technology/times-lawsuit-openai-microsoft.html
1•1vuio0pswjnm7•1h ago•0 comments

Promptetheus – Trace, detect, and auto-repair AI agent failures

https://github.com/obro79/promptetheus
1•tar-ive•1h ago•1 comments
Open in hackernews

Rust Devs Think We're Hopeless; Let's Prove Them Wrong (With C++ Memory Leaks)

https://www.babaei.net/blog/rust-devs-think-we-are-hopeless-lets-prove-them-wrong-with-cpp-memory-leaks/
27•zdw•1y ago

Comments

eptcyka•1y ago
Memory leaks are by far the least interesting class of defect that Rust helps with - leaking memory is safe.
genter•1y ago
Until the kernel kills you for being OOM.
YZF•1y ago
That's still safe.

EDIT: Safe in the sense you're not writing into memory you don't own, e.g. write after release, buffer overflows etc.

scotty79•1y ago
Program that no longer runs is the safest.
aquariusDue•1y ago
For true safety we must prevent it from being written in the first place /s
dmit•1y ago
That's the true meaning of backward compatibility. The [backward] refers to the time scale.
drivingmenuts•1y ago
stomps butterfly

I've just saved untold generations from certain calamity.

** 6,000,000 years later **

Butterfly King: This chimpanzee-descended motherfucker ….

airstrike•1y ago
I'll add that even safety itself is not the sole reason why some people prefer Rust. There's a lot to Rust besides that and sometimes it's not about memory safety as much as it is about steering you into patterns Rust devs perceive as better overall.
jayd16•1y ago
Possible attack vector, though.
andrewflnr•1y ago
The least interesting attack vector. You can fix it by rebooting.
Arnavion•1y ago
And in fact is not even something that Rust does differently from C++. Memory releases in Rust are handled by dtors just like they are in C++. What a weird article.

(The only difference is that Rust defaults to moving while C++ defaults to copying, and Rust moves don't leave a moved-out object behind while C++ does, so the dtors in Rust are simpler and called fewer times than the equivalent C++ code.)

dmit•1y ago
Yes, the only difference.
api•1y ago
The problem with unsafe languages is not that you can’t write safe code in them with skill and discipline.

The problem is that programmers don’t always do that, either because they are not that experienced or they are in a hurry.

The real danger is when code is long lived and worked on by multiple people. One bad commit after a late night hacking session and now there is a zero day just waiting to be discovered.

Safe languages don’t rule that out but they make it profoundly less likely.

bluGill•1y ago
I write C++ all the time and I still cannot convince many developers to use unique_ptr over new. It isn't that hard to write code that doesn't leak but if you bypass the language features it cannot help you.

for that matter though I've seen rust programmers put everything in unsafe.

on_the_train•1y ago
There's static analysis which can effectively force these things. C++ problems are self-inflicted
bluGill•1y ago
There is but we have code predating c++11 that isn't worth rewriting. So the static analisys is off. We do use lots of static analisys but that one is too hard to fix all the old code that we have decades of proff works and isn't leaking (much?)
andrewflnr•1y ago
I mean, a sufficiently safe language would rule it out. Either one not expressive enough to express memory unsafety (i.e. GC or fully linear types with no escape hatches) or one that requires a machine checked proof of safety to compile. These options just happen to be too big of a pain in the assembly for today's appetite.
shmerl•1y ago
No, C++ is hopeless. No need to bend over backwards to try to disprove it. It's not only about memory safety, some of it is about legacy stuff and backwards compatibility it's forever stuck with.
tom_•1y ago
This only works with the VC++ CRT, which is potentially a bit limiting!

Also, the DEBUG_NEW thing is useless in practice since, from memory, it stops you using placement new, and dependencies typically don't participate, so a zillion unlabeled leaks is the usual result from the common case of you failing to call some dependency's free function.

And the allocation IDs (and therefore _CrtSetBreakAlloc) are pretty worthless in practice for multithreaded programs, because the allocation order isn't deterministic.

I use the LEAK_CHECK_DF flag in the programs I write (and the CHECK_ALWAYS_DF is worth investigating too), but the only point is to indicate whether there are leaks on exit, yes/no. If no, great; if yes, well that's useful information, but the actual output is almost never helpful. (Though occasionally I do somehow introduce a leak from something that happens before the first thread is created.)

yusina•1y ago
It's 2025 and we are still discussing memory leaks. The very existence of this article is an indication that C++ (used like that) has an issue. Non-kernel programmers should not even be able to create memory leaks by mistake.

Well, unless they are doing something incredibly stupid including stepping over several explicit warnings of "don't do this unless you are very sure about what you are doing".

teleforce•1y ago
It's really a shame isn't it? It's 2025 and we still have no programming languages that have impeccable GC for automatic memory management rather than forcing programmer to wrestling and fighting for manually managing the memory [1].

Auto industry kind of solved this automation mechanism for example with the new high performance Toyota GR Corolla has a new automatic gear transmission that's proven as fast if not faster than the manual version [2]. The same goes to F1, the epitome of car racing performance.

[1] Understanding Memory Management, Part 5: Fighting with Rust (101 comments):

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

[2] 2025 Toyota GR Corolla's New Automatic Gearbox Democratizes Fun:

https://www.caranddriver.com/reviews/a62672128/2025-toyota-g...

linotype•1y ago
I’ve seen way more comments from C++ developers complaining about Rust developers insulting them than I’ve seen Rust developers actually insulting C++. It’s weird to see how attached people are to programming languages, though it’s weird to me too how attached people are to ICE/drivetrains.
sunrunner•1y ago
I think that's because the Rust developers are having too much fun sitting on their high horse shouting about how great the horse is to need to spend time yelling about the people _not_ on the horse, while the C++ developers don't have a horse to yell about so need one to yell _at_ instead.
squirrellous•1y ago
It’s about jobs and livelihoods, even if not everyone will admit it. It’s easy to emotional when the argument boils down to “your skills are now outdated, go learn a better one”.
fithisux•1y ago
c++ is a huge language, with lots of backwards compatibility.

I think c++ should keep the good modern things and fork (restart) from there by breaking backwards compatibility, c++23 will be frozen with some fixes.

api•1y ago
There are lots of languages where true memory bugs are impossible. As you say they are higher level and usually GC.
andrewflnr•1y ago
Right, the interesting case would be the formal proof. Though, I suspect there are fewer high-level languages where memory bugs are actually impossible than you would naively think. I've segfaulted Python by accident, only using the standard library (concurrency shenanigans if I recall). You can probably do worse if you try. To make a truly memory-safe language, you would need to carefully design and implement the standard library, disallow all native code extensions, and probably more I'm not smart enough to figure out. So, not Java, not Python. Maybe some Schemes?