frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Pluely v0.1.6 -Open Source Invisible AI Assistant,Alternative to Cluely

https://pluely.com/downloads
1•truly_sn•1m ago•0 comments

Token-Relief

https://hollisrobbinsanecdotal.substack.com/p/token-relief
1•HR01•2m ago•0 comments

Walking is good for you. Walking backward can add to the benefits

https://apnews.com/article/walking-backward-fitness-workout-routine-26cb7374dedb2f01cdb4993cc77dd08c
1•petethomas•3m ago•0 comments

France's Gets Debt Warning as S&P Downgrades in Unscheduled Move

https://www.bloomberg.com/news/articles/2025-10-17/france-s-gets-debt-warning-as-s-p-downgrades-i...
2•zerosizedweasle•8m ago•0 comments

Creating Digital Replicas of History with AI

https://cacm.acm.org/news/creating-digital-replicas-of-history-with-ai/
1•sohkamyung•9m ago•0 comments

Mapped: The Compute, Cash, and Contracts That Power OpenAI

https://www.visualcapitalist.com/cp/compute-cash-contracts-that-power-openai/
2•yandie•10m ago•0 comments

Salesforce Pitched a 'Talent Acquisition' Contract to ICE

https://sfist.com/2025/10/17/another-clue-about-marc-benioffs-trumpy-turn-salesforce-was-pitching...
6•geox•11m ago•0 comments

Subwavelength phase engineering deep inside silicon

https://iopscience.iop.org/article/10.1088/2515-7647/adf7ef/meta
1•westurner•11m ago•0 comments

Ask HN: What is your go to job board?

1•rrmdp•13m ago•1 comments

Every vibe-coded website is the same page with different words. So I made that

https://vibe-coded.lol/
2•todsacerdoti•13m ago•0 comments

Near-Field Optical Nanopatterning of Graphene

https://onlinelibrary.wiley.com/doi/10.1002/smsc.202500184
1•westurner•13m ago•0 comments

Promoted on Sunday, Fired on Monday: Inside a NASA Office's Sudden Closure

https://www.planetary.org/articles/promoted-on-sunday-fired-on-monday-inside-a-nasa-offices-sudde...
3•ironyman•16m ago•0 comments

I Choose Email over Messaging

https://www.spinellis.gr/blog/20250926/
2•cratermoon•26m ago•1 comments

Ask HN: If AI has 'eaten software', does it eat 'business' next?

2•aaronSong•29m ago•0 comments

X-Shop – The AI Shopify Killer That Builds a Store in 46 Seconds

https://x-shop.com
3•PanosX-Shop•31m ago•2 comments

Show HN: Open-source, lightweight collaborative Python IDE for educators

https://pytogether.org
1•JawadR•32m ago•0 comments

Utah data sharing law creates path to upend social media model

https://news.bloomberglaw.com/privacy-and-data-security/utah-data-sharing-law-creates-path-to-upe...
1•hhs•32m ago•0 comments

Skills

https://github.com/anthropics/skills
2•michaelmior•39m ago•0 comments

Incremental Construction of Minimal Acyclic Finite-State Automata (2000) [pdf]

https://aclanthology.org/J00-1002.pdf
1•todsacerdoti•40m ago•0 comments

Why is Hetzner so cheap?

https://twitter.com/ronaldlangeveld/status/1978992249267503378
2•ronaldl93•43m ago•0 comments

"Will Motorola support the android 16 native Linux terminal feature?"

https://forums.lenovo.com/t5/motorola-razr-60-ultra-motorola-razr-ultra/Android-16-terminal-suppo...
2•sipofwater•45m ago•2 comments

Day 9, Choosing a Co-Founder

https://supremefounder.com/choosing-a-co-founder.html
1•fmfamaral•48m ago•0 comments

Folk – Neovim Color Schemes (abraxas, ushirogami, snawfus, mandragola, zaratan)

https://github.com/folksoftware/nvim
1•colo-colo•49m ago•0 comments

WebMCP

https://github.com/jasonjmcghee/WebMCP
3•sanj•52m ago•0 comments

Laser pointer at 2B FPS [video]

https://www.youtube.com/watch?v=o4TdHrMi6do
1•bwidlar•53m ago•0 comments

Neurologic Medication Costs: Direct-to-Consumer vs. Commercial Insurance

https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2837769
1•PaulHoule•54m ago•0 comments

Designing a board for the new Spartan UltraScale+ FPGAs

https://www.hackster.io/adam-taylor/creating-an-amd-spartan-ultrascale-scu35-tile-dfdee1
1•signalhound•56m ago•0 comments

The 50-State Write-In Candidate Analysis and Campaign Strategy

https://substack.com/inbox/post/176452797
1•dgolman•57m ago•0 comments

I think series.so is a fraud? [video]

https://www.youtube.com/watch?v=Bb9UJh706g0
10•misterchocolat•58m ago•2 comments

Show HN: WordPress AI Bot Tracker – Just Approved and Launched on Wordpress.org

1•legitcoders•59m 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•5mo ago

Comments

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

I've just saved untold generations from certain calamity.

** 6,000,000 years later **

Butterfly King: This chimpanzee-descended motherfucker ….

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