frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Would you believe try-catch-finally works in plain old C?

4•mf_taria•1y ago
I was digging through some of my old repositories and found a C language extension I wrote years ago. Even now, I think it’s kinda cool — and I’d love for you to check it out.

https://github.com/simpart/c-try

It recreates `try {}` / `catch {}` / `finally {}` in plain C using just macros and global variables. There's also a `$` macro to propagate errors between function calls — a bit like a mini DSL for error handling.

You can find a working example in `test.c`.

It doesn't support nesting or multithreading, and yes, it abuses macros. But hey, it's C.

Comments

actionfromafar•1y ago
Finally!

Think, Don't Speak

https://sspai.net/think-dont-speak/
1•firexcy•1m ago•0 comments

Terafab by Tesla

https://terafab.ai/
1•dhruv3006•2m ago•0 comments

Musk's SpaceX to build $100B launch facility in Louisiana

https://www.bbc.com/news/articles/cq5xel4v642o
2•nativeit•3m ago•2 comments

Buying power. Do Duke Energy's NC campaign donations fuel influence?

https://carolinapublicpress.org/75549/buying-power-do-dukes-energys-nc-campaign-donations-fuel-in...
1•newsomix9xl•4m ago•0 comments

Show HN: Weavit UI – A Weaviate GUI for macOS, Windows and Linux

https://github.com/XenoraAI/weavit-ui
1•srnathan•6m ago•0 comments

Linear probing for confidence estimation of simulations

https://www.simile.com/blog/confidence
1•wesel•8m ago•0 comments

The Commodore 77, an All-New Cyberpunk 2077 Collaboration

https://commodore.net/commodore-jacks-into-night-city-with-the-commodore-77-an-all-new-cyberpunk-...
2•binarycrusader•10m ago•0 comments

Big Tech's Frantic Race to Quell the Growing Backlash to AI

https://www.wsj.com/tech/inside-big-techs-frantic-race-to-quell-the-growing-backlash-to-ai-2a717339
3•newsomix9xl•13m ago•1 comments

Letter from Dolly Parton to Eminem

https://twitter.com/Eminem/status/2092367272891310482
7•tibbar•14m ago•1 comments

Dependencies in the LLM API Reseller Ecosystem

https://arxiv.org/abs/2608.20732
1•sbulaev•16m ago•0 comments

Show HN: Building a marketplace where you post a need and pick who helps

https://beebranchly.com
1•BeeBranchly•17m ago•0 comments

Locking 1B coins for 200 years with OP_CHECKLOCKTIMEVERIFY

https://github.com/goldcoin/goldcoin-timelock
1•microguy•18m ago•0 comments

Show HN: Declaude

https://speak-english.tenken.co/
2•rryoung98•19m ago•0 comments

US consumer spending on Apple's App Store fell for the first time in a decade

https://www.ft.com/content/e5533f32-e4c2-4ce1-9d2e-a831e96546b4
4•nreece•21m ago•0 comments

Novel class of medications, orexin receptor antagonists, for insomnia

https://pmc.ncbi.nlm.nih.gov/articles/PMC4948724/
1•Alien1Being•21m ago•0 comments

Show HN: Using Golang to Speed Up Monte Carlo Simulations

https://www.range.com/blog/using-golang-to-speed-up-monte-carlo-simulations
2•knair97•21m ago•1 comments

Nvidia Is Speedrunning the Creation of a Synthetic Hyperscaler

https://taekim.substack.com/p/nvidia-is-speedrunning-the-creation
1•gmays•22m ago•0 comments

Amazon announced it's shuttering Mechanical Turk on Sept. 30

https://www.cnbc.com/2026/08/25/amazon-service-that-jeff-bezos-called-artificial-ai-is-shutting-d...
3•pgrote•25m ago•1 comments

Self-Hosting Email: Achieving Proton's Zero-Access with Stalwart and WKD

https://remoterails.com/stalwart-mail-vs-protonmail-a-technical-deep-dive-into-modern-email-secur...
1•bluequills•30m ago•0 comments

Tom Robbins' Remington SL3 Typewriter from "Still Life with Woodpecker"

https://typecast.munk.org/2015/08/01/tom-robbins-remington-sl3-typewriter-from-still-life-with-wo...
1•pcfwik•31m ago•0 comments

Ask HN: Interesting Tech Adjacent Jobs?

3•njandh•36m ago•2 comments

Europe Built a Single Market–Now It's Packaging It Away

https://fee.org/articles/europe-built-a-single-market-now-its-packaging-it-away/
2•WaitWaitWha•40m ago•0 comments

Native Java with GraalVM and Virtual Threads on Kubernetes

https://piotrminkowski.com/2023/01/04/native-java-with-graalvm-and-virtual-threads-on-kubernetes/
1•ejboy•40m ago•0 comments

US halts all immigrant visa applications amid tightening restrictions

https://www.theguardian.com/us-news/2026/aug/25/us-immigrant-visa-application-trump-crackdwon
4•andsoitis•42m ago•3 comments

Joint Optimization of Tool Creation and Use for Large Language Model Agents

https://tool-use-smith.github.io/
1•blackcat201•46m ago•0 comments

Training LLMs to write tools generalized beyond self use

https://arxiv.org/abs/2608.24571
3•blackcat201•47m ago•0 comments

Free Startup Dataroom Template

https://github.com/emal-avala/data-room
2•emal•47m ago•1 comments

Ora benchmarks every major AI agent on Vercel – Customers

https://vercel.com/customers/how-ora-benchmarks-every-major-ai-agent-on-vercel
2•kyisaiah47•47m ago•0 comments

NoRecognition: Could a pattern on clothing fool Facial Recognition?

https://www.youtube.com/watch?v=WyPmt8CE5L4
2•ipkstef•49m ago•1 comments

SBA proposes rewrite of small business size standards

https://www.washingtontechnology.com/contracts/2026/08/sba-proposes-sweeping-rewrite-small-busine...
1•WaitWaitWha•49m ago•0 comments