frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

X Is Down

https://www.x.com/
2•N19PEDL2•5m ago•2 comments

Revolutionize Software Dev: Task-Centric Interface and Parameter Encapsulation

1•casper62•6m ago•0 comments

The Far Side of the Moon

https://olshansky.info/posts/2025-11-15-the-far-side-of-the-moon
1•Olshansky•9m ago•0 comments

'Fear really drives him': is Alex Karp of Palantir the world's scariest CEO?

https://www.theguardian.com/technology/2025/nov/18/fear-really-drives-him-is-alex-karp-of-palanti...
1•mellosouls•11m ago•0 comments

Cloudflare-Bypass: Origin server deserves some love too

https://medium.com/@smitgharat0001/cloudflare-bypass-origin-server-deserves-some-love-too-e8bd218...
1•goodburb•16m ago•0 comments

Emotions are running high! Self-Hosters UNITE

https://old.reddit.com/r/selfhosted/comments/1ozhpml/headscale_vs_netbird/
1•devildriver89•16m ago•0 comments

Climate Change Could Heat the Earth Right into a New Ice Age

https://www.popularmechanics.com/science/environment/a69366193/warming-planet-deep-freeze/
2•CGMthrowaway•18m ago•0 comments

Zillow disrupted the real estate industry

https://www.cnbc.com/2025/11/17/zillow-antitrust-lawsuits-disrupted-real-estate.html
1•pseudolus•18m ago•0 comments

Ruby 4.0.0 Preview2 Released

https://www.ruby-lang.org/en/news/2025/11/17/ruby-4-0-0-preview2-released/
8•pansa2•18m ago•0 comments

The Hater's Guide to the AI Bubble Vol. 2

https://www.wheresyoured.at/premium-the-haters-guide-to-the-ai-bubble-vol-2/
2•zerosizedweasle•22m ago•1 comments

The Smartphone Killed the Xbox

https://ravi64.com/the-smartphone-killed-the-xbox/
4•merlioncity•23m ago•0 comments

Continental Drying: A Threat to Our Common Future

https://www.worldbank.org/en/publication/continental-drying-a-threat-to-our-common-future
3•defrost•27m ago•0 comments

Survey data shows Wi-Fi speeds are faster on iPhone 17, thanks to Apple N1 chip

https://9to5mac.com/2025/11/18/iphone-17-wifi-speeds-apple-n1-chip/
4•ksec•28m ago•2 comments

What it costs to watch football on television in the UK and the US in 2025

https://www.nytimes.com/athletic/6807575/2025/11/18/cost-of-football-on-television/
2•thehoff•32m ago•1 comments

Only Criminals Don't Want to Be Gassed by the Government

https://www.popehat.com/p/only-criminals-don-t-want-to-be-gassed-by-the-government
3•felineflock•32m ago•0 comments

Is Lichess.org Hacked?

https://lichess.org/
1•c2xlZXB5Cg1•33m ago•4 comments

Why Hotel-Room Cancellations Disappeared

https://www.theatlantic.com/technology/2025/11/hotel-room-cancellation-policy/684917/
2•Kaibeezy•33m ago•1 comments

What's a Good Theory of Biology?

https://chillphysicsenjoyer.substack.com/p/whats-a-good-theory-of-biology
2•sebg•35m ago•0 comments

Cloudflare down: Facebook and X among apps not working in major internet outage

https://metro.co.uk/2025/11/18/parts-internet-stops-working-globally-major-network-goes-24738666/
4•elsewhen•36m ago•1 comments

Google updates its weather forecasts with a new AI model

https://www.theverge.com/news/822489/weather-forecast-ai-model-google-weathernext
1•mikece•37m ago•1 comments

Google Meet chat is now sent through Google Chat to people not in the call

https://multitasked.net/2025/11/18/your-google-meet-chat-is.html
1•madewulf•37m ago•0 comments

Cloudflare is down – live updates on internet outage affecting ChatGPT, X

https://www.tomsguide.com/news/live/cloudfare-outage-november-2025-x-chatgpt
4•achow•38m ago•1 comments

"I only looked backwards": A letter to my great grandchildren

https://michaelwest.com.au/i-only-looked-backwards-a-letter-to-my-great-grandchildren/
1•mnming•39m ago•0 comments

Downdetector Is Down

https://downdetector.in/
4•pbd•41m ago•1 comments

Here comes the sun: Exploring solar potential in Nepal

https://globalvoices.org/2025/11/04/here-comes-the-sun-exploring-solar-potential-in-nepal/
1•PaulHoule•41m ago•0 comments

A self-correcting robot foundation model

https://www.physicalintelligence.company/blog/pistar06
1•marcosfelt•41m ago•0 comments

Frick and Frack: What's in a name? (1990)

https://www.chicagotribune.com/1990/02/28/frick-and-frack-whats-in-a-name/
1•thomassmith65•42m ago•0 comments

Claude Is Down

4•blitzpoet•43m ago•2 comments

Sentinel-6B satellite set for launch to track rising seas

https://www.openaccessgovernment.org/sentinel-6b-satellite-set-for-launch-to-track-rising-seas/20...
1•Brajeshwar•44m ago•0 comments

Laptop Isn't Ready for LLMs

https://spectrum.ieee.org/ai-models-locally
1•Brajeshwar•44m 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•6mo ago

Comments

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

I've just saved untold generations from certain calamity.

** 6,000,000 years later **

Butterfly King: This chimpanzee-descended motherfucker ….

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