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!

Base Fatality List

https://bfl.baseaddict.com/list
1•hluska•43s ago•0 comments

New Domain for Sign in with Apple and iCloud+ Hide My Email

https://developer.apple.com/news/?id=sus6t6ab
2•nnx•2m ago•0 comments

SVGs and PDFs can both be interactive

https://vexlio.com/blog/svgs-and-pdfs-can-both-be-interactive/
1•thunderbong•4m ago•0 comments

Anthropic pauses Claude Agent SDK policy

1•rbitar•5m ago•0 comments

Humanity isn't ready for the coming intelligence explosion

https://www.economist.com/by-invitation/2026/06/15/humanity-isnt-ready-for-the-coming-intelligenc...
1•andsoitis•7m ago•1 comments

Aspectarian – a Jyotiṣa transit reader for macOS using Claude

https://github.com/SpecStudio-net/Aspectarian
1•SpecStudioHN•7m ago•0 comments

CA Gov Newsom Under Federal Investigation for Billions of Fraud

https://twitter.com/GavinNewsom/status/2066585778982166808
1•cagovzz•9m ago•0 comments

Anthropic lost the White House's trust – and then its flagship product

https://www.washingtonpost.com/technology/2026/06/15/how-anthropic-lost-white-houses-trust-then-i...
1•reaperducer•12m ago•0 comments

Enough with the hype about underwhelming or speculative cancer treatments

https://greyenlightenment.com/2026/06/15/enough-with-the-hype-about-underwhelming-or-speculative-...
1•paulpauper•21m ago•0 comments

Show HN: Locket – Robust feature-level access control for LLMs

https://github.com/ssg-research/locket
1•ttttonyhe•21m ago•0 comments

Axiomata – A Codex of Becoming

https://v1tali.com/axiomata-codex-of-becoming-nine-paces
1•vitali•26m ago•0 comments

Show HN: Deep-XPIA – Prompt injection benchmark for multi-agent AI systems

https://freyzo.github.io/deep-xpia/
1•leo_agent•28m ago•0 comments

Trump administration considers $300B fund for Iran if deal is upheld

https://www.ft.com/content/088c14d3-f708-44d8-a306-7996aa5211de
3•JumpCrisscross•28m ago•2 comments

Show HN: A GPT to get a free URL for AI generated content

https://chatgpt.com/g/g-6a2aad2c30988191abd95b3940008e90-boomurl-publish-a-website
1•dorongrinstein•28m ago•1 comments

Omnigent: A Meta-Harness to Combine, Control and Share Your Agents

https://www.databricks.com/blog/introducing-omnigent-meta-harness-combine-control-and-share-your-...
2•lobo_tuerto•30m ago•0 comments

An Overview of Modern AI Robotics from First Principles

https://interlatent.com/blog/interlatent-modern-ai-robotics-first-principles
1•o4c•34m ago•0 comments

Probably just end up embarrassing myself, but here is Sidekick

https://github.com/geoffmcc/sidekick
2•geoffmcc•40m ago•0 comments

ZZüy: A Lesson in Perseverance

https://martinrue.com/zzuy-a-lesson-in-perseverance/
1•afisxisto•40m ago•0 comments

HPE offers VMware refugees a year off the meter

https://www.theregister.com/virtualization/2026/06/15/hpe-offers-vmware-refugees-a-year-off-the-m...
1•SanjayMehta•42m ago•0 comments

Generate per-session LoRA adapters in <1s for inference tasks

https://pypi.org/project/tessera-hypernetwork/
1•Facingsouth•49m ago•0 comments

OrangeCheck, sybil resistance from a Bitcoin signature

https://ochk.io/
1•bixvolt•55m ago•0 comments

How do I prevent myself from being a crank in areas I know little about?

https://philosophy.stackexchange.com/questions/139075/how-do-i-prevent-myself-from-being-a-crank-...
3•azeemba•57m ago•2 comments

The Anthropic Fable Farce by Ben Goertzel

https://bengoertzel.substack.com/p/the-anthropic-fable-farce
3•Prof_Sigmund•57m ago•0 comments

Show HN: Open-source CLI to see your AI coding token usage and compare it

https://github.com/amiinwani/whoburnedmore.com
1•arhaam•1h ago•0 comments

Show HN: Bing Maps Leads Extractor

https://chromewebstore.google.com/detail/maps-leads-extractor/omnjmmkpblpilcjbdadamlaajdndjnnj
1•qwikhost•1h ago•0 comments

Text-to-Lottie: Generate Lottie animations with coding agents

https://github.com/diffusionstudio/lottie
3•vantareed•1h ago•0 comments

AI hasn't killed our bootstrapped enterprise software company yet

https://www.nocobase.com/en/blog/future-of-software-programmers-revenue-doubled
1•mountainview•1h ago•0 comments

Claude subscription changes for Conductor delayed indefinitely

https://www.conductor.build/blog/claude-subscription-update
1•bjhess•1h ago•0 comments

America has lost its war with Iran

https://www.independent.co.uk/voices/editorials/america-trump-iran-ceasefire-agreement-war-hormuz...
18•testing22321•1h ago•3 comments

The Effect of the Great Recession on U.S. Fertility

https://read.dukeupress.edu/demography/article/doi/10.1215/00703370-12664250/411033/The-Effect-of...
4•paulpauper•1h ago•0 comments