frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: W++ – Garbage-Collected Threads

1•sinisterMage•2h ago
Hey HN! I’ve been working on something that might change how we think about multithreading.

You might remember W++ — a chaotic scripting language I originally built on .NET. Well, I’ve rewritten it from scratch in Rust + LLVM, and accidentally invented something new: a garbage collector for threads.

Instead of leaving OS threads to manual management, W++ treats them as heap objects. They’re reference-counted, swept, and safely cleaned up — just like any other GC value.

Highlights: • Threads are managed with `Arc` + `Weak` and collected by a background daemon • `GcMutex` auto-unlocks if its owning thread dies • Thread ancestry tracking prevents recursive spawns • A background GC thread periodically joins finished threads • All compiled to native LLVM IR — no VM required

The result? No zombie threads, no deadlocks that outlive their owner, and no manual joins.

It’s experimental, not perfect — but it works. If you’ve built runtimes or GCs before, I’d love your thoughts.

GitHub: https://github.com/sinisterMage/WPlusPlus Feedback, critique, or “you’re insane but I love it” comments welcome!

The State of PHP 2025

https://blog.jetbrains.com/phpstorm/2025/10/state-of-php-2025/
1•ChrisArchitect•38s ago•0 comments

The FAIR Guiding Principles for scientific data management and stewardship

https://www.nature.com/articles/sdata201618
1•radus•1m ago•0 comments

Book Preview: Rebels, Pirates and Tentacles: The Story of LucasArts

https://www.andreacontato.com/rebels--pirates-and-tentacles---preview-eng
1•CharlesW•1m ago•0 comments

OpenAPI 3.2 Released

https://www.openapis.org/blog/2025/09/23/announcing-openapi-v3-2
1•sander1095•1m ago•0 comments

Should LLMs just treat text content as an image?

https://www.seangoedecke.com/text-tokens-as-image-tokens/
1•codeclimber•2m ago•0 comments

Build Your Own Database

https://www.nan.fyi/database
1•nansdotio•3m ago•0 comments

Seaweed Makes for Eco-Friendly Tissue Scaffolds and Reduces Animal Testing

https://publishing.aip.org/publications/latest-content/seaweed-makes-for-eco-friendly-tissue-scaf...
2•geox•5m ago•0 comments

The Icons in Pifmgr.dll

https://devblogs.microsoft.com/oldnewthing/20251020-00
1•LorenDB•7m ago•1 comments

D-POAF-The First AI-Native Decentralized Software Development (Open Source)

https://github.com/INOVIONIX/D-POAF
1•inovionix•8m ago•1 comments

Why 2025 is the single most pivotal year in our lifetime [video]

https://www.youtube.com/watch?v=w5k72A30kUc
2•duck•8m ago•0 comments

No evidence Donald Trump said he might buy 'all of England'

https://fullfact.org/us/donald-trump-fake-quote-england/
2•beardyw•8m ago•3 comments

Instagram shows eating disorder content to vulnerable teens, Meta internal docs

https://www.reuters.com/business/instagram-shows-more-eating-disorder-adjacent-content-vulnerable...
2•randycupertino•8m ago•1 comments

Is PHP declining? JetBrains says yes. And no

https://www.theregister.com/2025/10/21/massive_jetbrains_dev_survey/
1•beardyw•10m ago•0 comments

Wirelessly Charging Your Porsche EV Like an iPhone Is a Reality

https://www.thedrive.com/news/wirelessly-charging-your-porsche-ev-like-an-iphone-is-a-reality-but...
1•speckx•10m ago•1 comments

Can a U.S.-Australia Partnership Shake China's Grip on Rare Earths?

https://www.nytimes.com/2025/10/21/world/australia/rare-earths-us-partnership.html
1•JumpCrisscross•11m ago•0 comments

ChatGPT Atlas [video]

https://www.youtube.com/watch?v=8UWKxJbjriY
1•hebejebelus•11m ago•1 comments

Claude for Life Sciences

https://www.anthropic.com/news/claude-for-life-sciences
1•mbreese•15m ago•0 comments

What it's like to walk across Massachusetts

https://pudding.cool/2025/10/walk/
2•c-oreills•15m ago•0 comments

The AI chatbots replacing India's call-center workers

https://www.reuters.com/world/india/meet-ai-chatbots-replacing-indias-call-center-workers-2025-10...
2•bookofjoe•16m ago•1 comments

Kraken's software is swallowing Octopus Energy

https://www.ft.com/content/ef5f2373-dc85-4f7d-bf19-269efdfe87a7
1•NomDePlum•16m ago•1 comments

HelloFresh Fined NZ$845,000 for Misleading Subscription Reactivations

https://www.subscriptioninsider.com/article-type/news/hellofresh-fined-nz845000-for-misleading-su...
3•ilamont•18m ago•0 comments

Microplastics May Be Tied to Vascular Dementia Cases

https://www.sciencealert.com/microplastics-may-be-tied-to-vascular-dementia-cases-review-finds
4•fluxist•18m ago•0 comments

The Attention Economy Is Everywhere. Self-Hosting Is the Escape [video]

https://www.youtube.com/watch?v=PUtG4Zmd_AY
1•EPendragon•18m ago•0 comments

Can we find a good definition of AGI?

https://philipball86.substack.com/p/can-we-find-a-good-definition-of
1•FromTheArchives•18m ago•0 comments

Regulation Isn't the European Trap – Resignation Is

https://lucumr.pocoo.org/2025/10/21/eu-resigation/
3•vaylian•19m ago•0 comments

Servo 0.0.1 Release

https://servo.org/blog/2025/10/20/servo-0.0.1-release/
1•djha-skin•19m ago•1 comments

How to Launch a Secure DeFi Protocol in 120 Days

https://blog.layerx.xyz/how-to-launch-secure-defi-protocol-in-120-days
2•felltrifortence•20m ago•0 comments

Binary Retrieval-Augmented Reward Mitigates Hallucinations

https://arxiv.org/abs/2510.17733
2•MarlonPro•20m ago•0 comments

Server rendering benchmarks: Railway vs. Cloudflare vs. Vercel

https://blog.railway.com/p/server-rendering-benchmarks-railway-vs-cloudflare-vs-vercel
2•thisismahmoud_•20m ago•1 comments

Contexttree

https://contexttree.vercel.app/
1•sirius1718•22m ago•1 comments