frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

House Prices Are Falling and We Haven't Solved the Problem of Restrictive Zoning

https://cepr.net/publications/house-prices-are-falling-and-we-havent-solved-the-problem-of-restri...
2•miguelazo•2m ago•0 comments

A Russian phone number, WhatsApp, and 140 outbound SSH alerts

https://nox.sh/posts/whatsapp-tunnel-out/
1•mattredact•2m ago•0 comments

Run the AI Studio deletion test to show the chat isn't deleted

https://discuss.ai.google.dev/t/please-help-do-the-ai-studio-delete-test-so-we-can-prove-that-goo...
1•Bitu79•4m ago•0 comments

Hope and Defeat: John Berger

https://newleftreview.org/sidecar/posts/hope-and-defeat
1•apollinaire•6m ago•0 comments

T-Mobile down for users in US

https://www.reuters.com/business/media-telecom/t-mobile-down-thousands-users-us-downdetector-show...
1•alacritas0•6m ago•0 comments

Is human writing obsolete in the age of LLMs?

http://gtowey.blogspot.com/2026/07/is-human-writing-obsolete-in-age-of-llms.html
1•gtowey•6m ago•0 comments

WorldFrame – Local-first worldbuilding in Markdown

https://tryworldframe.com/
1•SturdyRobot•8m ago•0 comments

JSON vs. PROMPT distinction – Google's misleading claim

https://discuss.ai.google.dev/t/json-vs-prompt-distinction-google-s-misleading-claim/170679
1•Bitu79•8m ago•0 comments

Private Credit State Backstop How Private Equity Socializes Risk Through Insure

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7152239
1•senshan•8m ago•1 comments

Claude no longer shows full thinking

https://old.reddit.com/r/ClaudeAI/comments/1v3u707/no_longer_shows_full_thinking/
1•rzk•8m ago•0 comments

Google illegally retains customer data,and I am taking legal action against them

https://discuss.ai.google.dev/t/google-illegally-retains-customer-data-and-i-am-taking-legal-acti...
1•Bitu79•11m ago•1 comments

Show HN: Open-sourcing my personal market research

https://research.oguzbilgic.com
1•obilgic•13m ago•0 comments

X Money

https://money.x.com
1•acmnrs•14m ago•0 comments

Attention Decode on AMD MI450 GPUs: A Gluon Kernel Optimization Guide

https://rocm.blogs.amd.com/software-tools-optimization/gluon-attention-decode-mi450/README.html
1•matt_d•14m ago•0 comments

Google search API replacement costs minimum $30k/year

https://old.reddit.com/r/googlecloud/comments/1qilhrg/is_googles_custom_search_api_being_disconti...
1•meltyness•15m ago•0 comments

From GPT2 to Kimi3

https://twitter.com/waterloo_intern/status/2081762065392541951
1•haritha1313•17m ago•0 comments

OpenOTP – Your email verification codes, autofilled on your Mac

https://github.com/jeninh/openotp
1•jeninh•22m ago•1 comments

Redact a PDF in the browser: the text is removed, not covered

https://still-wildflower-dc6f.akdmediax.workers.dev/vaultpdf/
1•akdvault•22m ago•0 comments

The State of Simulation for Physical AI: An Overview

https://huggingface.co/blog/nvidia/state-of-simulation-for-physical-ai
1•gmays•23m ago•0 comments

New York City Halts Construction at Another Office-to-Residential Conversion

https://www.wsj.com/real-estate/new-york-city-halts-construction-at-another-office-to-residential...
1•RestlessMind•25m ago•0 comments

Gemini was on the list of tools Google engineers are banned from using

https://timesofindia.indiatimes.com/technology/tech-news/google-founder-sergey-brin-found-out-usi...
2•Cider9986•26m ago•0 comments

Show HN: PromptTrace – Free hands-on labs to practice hacking LLMs

https://prompttrace.airedlab.com
1•k4r1it0•28m ago•0 comments

Lattice Semiconductor Completes Acquisition of BIOS Maker AMI

https://www.techpowerup.com/351114/lattice-semiconductor-completes-acquisition-of-ami
1•throw0101a•32m ago•0 comments

OpenAI, Google, and Anthropic Absent from Nvidia-Led Open Secure AI Alliance

https://www.tomshardware.com/tech-industry/artificial-intelligence/openai-google-and-anthropic-ab...
1•sbulaev•34m ago•0 comments

Don't ask an LLM for a confidence score

https://justinflick.com/2026/07/27/llm-confidence-scores.html
1•pamplemeese•34m ago•0 comments

Surveillance Is Trying to Be Sexy

https://www.hardresetmedia.com/p/surveillance-is-trying-to-be-sexy
3•theworkeragency•36m ago•0 comments

Admiral cloudberg: New article coming soon, and a teaser

https://admiralcloudberg.medium.com/progress-update-new-article-coming-soon-and-a-teaser-24f9093c...
1•mathgenius•39m ago•0 comments

Did an AI Really Hack Hugging Face? [video]

https://www.youtube.com/watch?v=q2KCrmQz9WE
1•marvinborner•40m ago•0 comments

Where USB Memory Sticks Are Born

https://www.bunniestudios.com/blog/2013/where-usb-memory-sticks-are-born/
1•jacquesm•42m ago•0 comments

An Angry Spark, or a Triangle in Disguise?

https://medium.com/@billmarczak/an-angry-spark-or-a-triangle-in-disguise-ac32852a1be3
1•campuscodi•43m ago•0 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?