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!

Seven Questions to Custom Business Funding

https://fundingexplained.com/business-funding-quiz/
2•FE_com•2m ago•0 comments

Telstra outage blamed on known bug in obsolete server

https://ia.acs.org.au/article/2026/telstra-outage-blamed-on-known-bug-in-obsolete-server.html
2•shakna•9m ago•0 comments

We don't let the LLM decide what's clinically allowed

https://www.hamo.ai/blog/taking-the-clinical-decision-out-of-the-llm/
2•chrischengzh•10m ago•0 comments

Trust but Verify? Uncovering the Security Debt of Autonomous Coding Agents

https://arxiv.org/abs/2607.12428
1•Timofeibu•11m ago•0 comments

Xtree Fan Page

https://www.xtreefanpage.org/
2•razodactyl•12m ago•0 comments

Google and Epic stop fighting – third-party Android app stores coming next week

https://www.theverge.com/policy/965792/google-epic-withdraw-injunction-third-party-app-stores-com...
1•OuterVale•15m ago•0 comments

Show HN: I open-sourced the portal I built for a client's vibe-coded apps

https://github.com/menagerai/menagerai
1•tipani•17m ago•1 comments

Threading the AI in the UI for a personal app

https://millfolio.app/blog/millwright-ui-layers/
2•winding•19m ago•0 comments

Colombian Public School Reaches Top in Best School Prizes 2026

https://colombiaone.com/2026/07/13/colombian-public-school-reaches-top-10-in-worlds-best-school-p...
1•thunderbong•21m ago•0 comments

Poland begins construction of €2.3B deepwater port on Baltic coast

https://notesfrompoland.com/2026/07/14/poland-begins-construction-of-e2-3bn-deepwater-port-on-bal...
2•cromka•21m ago•0 comments

Is this the end of the once-mighty GoPro?

https://amateurphotographer.com/latest/photo-news/going-going-gone-is-this-the-end-of-the-once-mi...
2•aanet•26m ago•1 comments

Using One Agent Across Multiple Machines

https://syncless.ai/articles/let-syncless-across-your-environments
1•mountainview•27m ago•0 comments

The Matter of Taste(2018)

https://www.callum.website/the-matter-of-taste
2•num42•36m ago•0 comments

AgentCall – turn any coding agent into a live meeting participant

https://agentcall.dev
3•Marium_zehra•36m ago•0 comments

From Sawdust to Paw Patrol: The Spin Master Story (With Ronnen Harary) [audio]

https://www.econtalk.org/from-sawdust-to-paw-patrol-the-spin-master-story-with-ronnen-harary/
1•mooreds•37m ago•0 comments

Stripe, Advent offer to buy PayPal for more than $53B

https://www.reuters.com/business/finance/stripe-advent-offer-buy-paypal-more-than-53-billion-sour...
8•rvz•40m ago•3 comments

Atto Primo Oh God Opera Song

https://open.spotify.com/album/7DTggs1Cj2YcOmuJUWjjM4
1•mjbachhav•40m ago•0 comments

Show HN: GWZ – Git Workspace Zone (multi-repo that feels like plain Git)

2•owebeeone•44m ago•0 comments

The great flattening – article on Vorflux (launched by Rippling co-founder)

https://twitter.com/myprasanna/status/2077065557204222238
2•vardhanw•44m ago•1 comments

Sunburn Calculator

https://sunburntimer.com/
3•ckcheng•45m ago•0 comments

Make any winning ad yours

https://trykopykat.com/
2•justinbuilds•46m ago•1 comments

Our Company Was Worth $6B. We Shared Passwords over Slack

https://www.cerby.com/blog/our-company-was-worth-6-billion.-we-shared-passwords-over-slack
2•mooreds•46m ago•0 comments

Mr. Putin, where is the gas?

https://kyivindependent.com/mr-putin-where-is-the-gas/
2•dotcoma•53m ago•0 comments

Cell Just Changed Biology

https://www.youtube.com/watch?v=g9B3gBhcwqM
1•soupspaces•54m ago•0 comments

Data Showing Palantir's Positive Impact on NHS Riddled with Errors

https://novaramedia.com/2026/07/13/data-showing-palantirs-positive-impact-on-nhs-riddled-with-err...
4•notRobot•54m ago•1 comments

Mako: A Self-Evolving Agentic Operating System for Autonomous Web Exploitation

https://arxiv.org/abs/2607.11288
1•praneethn•55m ago•0 comments

Google Images is getting a visual refresh as it turns 25

https://www.neowin.net/news/google-images-is-getting-a-visual-refresh-as-it-turns-25/
1•bundie•58m ago•1 comments

CoreWeave considers derivatives to hedge against falling memory prices

https://finance.yahoo.com/markets/options/articles/exclusive-ai-cloud-company-coreweave-235016062...
1•mapping365•59m ago•0 comments

Flap Display//SF Ferries

https://www.chloeyan.me/ferry
1•audreyfei•1h ago•0 comments

I thought I had a good homelab

https://humanparadox.org/i-thought-i-had-a-good-homelab/
1•colingauvin•1h ago•0 comments