frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

4•mf_taria•9mo 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•9mo ago
Finally!

Apple Postpones Smart Home Display Launch as It Waits for New AI and Siri

https://www.bloomberg.com/news/articles/2026-03-09/apple-postpones-smart-home-display-launch-as-i...
1•gbourne•56s ago•0 comments

Denver International Airport is one of the busiest airports in the world

https://www.flydenver.com/about-den/
1•mooreds•1m ago•0 comments

AI Boom Comes for CPUs, Which Are 'Cool Again'

https://www.hpcwire.com/2026/03/09/ai-boom-comes-for-cpus-which-are-cool-again/
1•rbanffy•2m ago•0 comments

Text to Print: Claude Code for 3D printing

https://github.com/Patrick0shea/DDD
1•posky0•2m ago•0 comments

Personalized Birth Flower Gift Mom Printable Mother's Day Gift(Digital Download)

https://www.etsy.com/listing/4466729214/personalized-birth-flower-gift-for-mom
1•robertsshaun•3m ago•0 comments

Nvidia's Groq Plot Thickens

https://thechipletter.substack.com/p/nvidias-groq-plot-thickens
1•rbanffy•4m ago•0 comments

Southern Italy scrambles for doctors after US pressure on Cuban programme

https://www.euractiv.com/news/southern-italy-scrambles-for-doctors-after-us-pressure-on-cuban-pro...
2•vrganj•4m ago•1 comments

The AI C-Suite (of 99helpers.com)

https://99helpers.com/tools/csuite-advisor
1•nickk81•5m ago•1 comments

Building a Package Manager on Top of Meson's Wrap System

https://collider.ee/blog/2026-03-09-2328_building_a_package_manager/
1•mog_dev•5m ago•0 comments

Free Self-Coach Reset – 7-Day Guide to Calm, Clarity, Confidence and Direction

https://startherestudio.gumroad.com/l/free-self-coach
1•robertsshaun•6m ago•0 comments

AI enables a Who's Who of brown bears in Alaska

https://actu.epfl.ch/news/ai-enables-a-who-s-who-of-brown-bears-in-alaska/
1•mooreds•8m ago•0 comments

Show HN: I built a 38K-line Rust CLI using 3 AI models as my engineering team

1•edenwang233•8m ago•0 comments

Download Audible library and strip DRM

https://getlibation.com/
1•bookofjoe•8m ago•0 comments

Mirror image pheromones help beetles 'swipe right' to find mates

https://phys.org/news/2026-02-mirror-image-pheromones-beetles-swipe.html
2•PaulHoule•10m ago•0 comments

Agentic Harness Bootstrap

https://github.com/synthnoosh/agentic-harness-bootstrap
1•synthnoosh•10m ago•0 comments

Missing money, shipped chips and a 350k% profit

https://www.theguardian.com/politics/2026/mar/09/key-takeaways-on-ai-phantom-investments-uk
1•cdrnsf•10m ago•0 comments

Catching malicious contributions in Datadog's open source repos

https://www.datadoghq.com/blog/engineering/stopping-hackerbot-claw-with-bewaire/
3•scapecast•11m ago•0 comments

Ask HN: Is GitHub getting less reliable, or is it just me?

2•_pdp_•11m ago•0 comments

Rendezvous with Rama

https://blog.engora.com/2026/03/rendezvous-with-rama.html
9•Vermin2000•12m ago•4 comments

Study finds teens spend nearly a third of the school day on smartphones

https://phys.org/news/2026-03-teens-school-day-smartphones-frequent.html
2•bikenaga•13m ago•2 comments

Employees at OpenAI and Google support Anthropic's lawsuit against The Pentagon

https://www.theverge.com/ai-artificial-intelligence/891514/anthropic-pentagon-lawsuit-amicus-brie...
2•dougb5•13m ago•1 comments

Real-Time LLM Debate

https://debate.apxlabs.dev
1•romirpatel•13m ago•1 comments

Electrical upgrades for our Winnebago Solis camper van

https://www.jamesxli.com/2026/van-electrical-upgrades/
2•bobbiechen•14m ago•1 comments

Tokenized Stocks Are Coming to a Market Near You

https://www.wsj.com/finance/stocks/tokenized-stocks-are-coming-to-a-market-near-you-five-things-t...
2•petethomas•17m ago•0 comments

Show HN: LOAB – AI agents get decisions right but skip the process [pdf]

https://github.com/shubchat/loab/blob/main/assets/loab_paper_mar2026.pdf
1•shubh-chat•17m ago•0 comments

But why do we change the clocks at 2am?

https://www.rd.com/article/why-does-daylight-saving-time-start-at-2-a-m/
1•gbacon•18m ago•0 comments

Hosted MCP server "everything" for testing

https://servereverything.dev/
1•pj3677•20m ago•0 comments

Train Neural Network Using DirectCompute D11

https://pypi.org/project/directcompute-nn/
1•raviadiprakoso•21m ago•1 comments

Reviving the Maintenance of MkDocs

https://github.com/orgs/mkdocs-community/discussions/1
1•netule•21m ago•0 comments

Energy-based Model (EBM) for enterprise AI security Ship it or keep tuning?

2•ALMOIZ_MOHMED•21m ago•0 comments