frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: How do you do store-and-forward telemetry at the edge?

1•Aydarbek•2m ago•1 comments

Target has their own forensic lab to investigate shoplifters

https://thehorizonsun.com/features/2024/04/11/the-target-forensics-lab/
1•jeromechoo•2m ago•0 comments

Show HN: Tylax – A bidirectional LaTeX to Typst converter in Rust

https://github.com/scipenai/tylax
2•democat•2m ago•0 comments

Why Study CS? Thoughts on LLM-assisted software engineering

https://kmicinski.com/claude-code-and-why-study-cs
2•annjose•3m ago•0 comments

Commodore 64 floppy drive has the power to be a computer and runs BASIC

https://www.tomshardware.com/pc-components/cpus/commodore-64-floppy-drive-has-the-power-to-be-a-c...
2•rbanffy•5m ago•0 comments

Update: Finbley Adds an AI-Based Spending Analyst (Natural Language Queries)

https://www.finbley.com
1•mo_hackernews•6m ago•1 comments

LLM Problems Observed in Humans

https://embd.cc/llm-problems-observed-in-humans
1•js216•6m ago•0 comments

SanDisk terminates WD brands and introduces Optimus SSD range

https://www.igorslab.de/en/sandisk-ends-wd-brands-and-introduces-optimus-ssd-series/
2•speckx•7m ago•0 comments

Australia's Social Media Ban: Age Limits Won't Fix What's Wrong with Platforms

https://blog.mozilla.org/netpolicy/2025/12/19/australias-social-media-ban-why-age-limits-wont-fix...
1•PaulHoule•7m ago•0 comments

Show HN: Worldstream – Real-time stream of headlines from everywhere

https://worldstream.io
2•raj-shekhar•8m ago•0 comments

The launches and landings we're most excited about in 2026

https://arstechnica.com/space/2026/01/here-are-the-launches-and-landings-were-most-excited-about-...
1•rbanffy•8m ago•0 comments

New Year 2026: Fusion Updates from Helion and Commonwealth Fusion

1•ralfd•9m ago•0 comments

Ideas are cheap, execution is cheaper

https://davekiss.com/blog/ideas-are-cheap-execution-is-cheaper
1•vinhnx•9m ago•0 comments

Information Is Still Free

https://thehistoryoftheweb.com/information-is-still-free/
1•cdrnsf•10m ago•0 comments

US Job Openings Decline to Lowest Level in More Than a Year

https://www.bloomberg.com/news/articles/2026-01-07/us-job-openings-decline-to-lowest-level-in-mor...
22•toomuchtodo•10m ago•1 comments

AI pilots a free-flying robot inside the International Space Station

https://scienceclock.com/first-autonomous-ai-robot-flight-iss/
2•akg130522•10m ago•0 comments

Secure job offers through AI-powered interviews [video]

https://www.youtube.com/watch?v=IKUy-h9L5zg
1•snasan•10m ago•0 comments

AI means we don't have to deal with nerds dreaming up over-engineered solutions

https://twitter.com/garrett_makes/status/2008532223713022125
1•jonnycomputer•11m ago•3 comments

Wegmans grocery store uses biometric surveillance on shoppers

https://www.aol.com/articles/popular-grocery-store-chain-uses-130056099.html?_guc_consent_skip=17...
1•WaitWaitWha•11m ago•0 comments

Easily Accelerating Python with Rust via Claude Code

https://www.generativist.com/notes/2026/Jan/6/claude-code-python-and-rust-oh-my
2•generativist•12m ago•0 comments

Show HN: A Bento-based service for reliably streaming usage events into billing

https://twitter.com/tryflexprice/status/2008863789916274851
1•sudeepsd__•12m ago•0 comments

VR-based brain training for ADHD

https://medium.com/@6thMind/vr-based-brain-training-for-adhd-what-the-2025-research-reveals-about...
1•smanuel•13m ago•0 comments

US seizes Russian tanker – are we all going to die?

https://www.theguardian.com/world/live/2026/jan/07/europe-greenland-denmark-us-france-trade-weath...
3•zabzonk•13m ago•0 comments

Show HN: Career Control System – Roadmap in a repo for experienced developers

1•we_can•15m ago•0 comments

Proxying Flutter Traffic on Android with Claude

https://randywestergren.com/vibe-hacking-proxying-flutter-traffic-on-android-with-claude/
1•rwestergren•15m ago•0 comments

We might have been slower to abandon StackOverflow if it wasn't a toxic hellhole

https://www.pcloadletter.dev/blog/abandoning-stackoverflow/
12•ronbenton•15m ago•4 comments

AMD Ryzen chief teases return of older Zen 3 chips to fight soaring RAM prices

https://www.tomshardware.com/pc-components/cpus/amd-ryzen-chief-teases-return-of-older-zen-3-chip...
2•throwaway270925•17m ago•0 comments

Where good ideas come from (for coding agents)

https://sunilpai.dev/posts/seven-ways/
1•vinhnx•17m ago•0 comments

LeCun says Meta's new 29-year-old AI boss 'inexperienced', warns of staff exodus

https://www.cnbc.com/2026/01/05/ai-godfather-calls-meta-ai-boss-alexander-wang-inexperienced-.html
5•1vuio0pswjnm7•18m ago•1 comments

Supreme Court Increasingly Favors the Rich, Economists Say

https://www.nytimes.com/2026/01/05/us/politics/supreme-court-study-rich-poor.html
9•duxup•18m ago•2 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•8mo ago

Comments

eptcyka•8mo ago
Memory leaks are by far the least interesting class of defect that Rust helps with - leaking memory is safe.
genter•8mo ago
Until the kernel kills you for being OOM.
YZF•8mo 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•8mo ago
Program that no longer runs is the safest.
aquariusDue•8mo ago
For true safety we must prevent it from being written in the first place /s
dmit•8mo ago
That's the true meaning of backward compatibility. The [backward] refers to the time scale.
drivingmenuts•8mo ago
stomps butterfly

I've just saved untold generations from certain calamity.

** 6,000,000 years later **

Butterfly King: This chimpanzee-descended motherfucker ….

airstrike•8mo 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•8mo ago
Possible attack vector, though.
andrewflnr•8mo ago
The least interesting attack vector. You can fix it by rebooting.
Arnavion•8mo 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•8mo ago
Yes, the only difference.
api•8mo 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•8mo 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•8mo ago
There's static analysis which can effectively force these things. C++ problems are self-inflicted
bluGill•8mo 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•8mo 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.
api•8mo ago
There are lots of languages where true memory bugs are impossible. As you say they are higher level and usually GC.
andrewflnr•7mo 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?
shmerl•8mo 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_•8mo 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•8mo 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•8mo 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•8mo 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•8mo 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•8mo 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•8mo 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.