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!

One Email, Three Identities: SPF, DKIM and DMARC Explained

https://senderledger.com/articles/one-email-three-identities-spf-dkim-dmarc
1•adulion•5m ago•0 comments

Study Finds Short AI Chats Reduced Belief in New Conspiracies

https://aiunderstanding.org/news/ai-chats-emerging-conspiracy-beliefs-study
1•ashurandi•6m ago•0 comments

Tech leaders say AI means less work – staff say they work up to 90 hours a week

https://www.bbc.com/news/articles/cvgx4yd1gl2o
1•dijksterhuis•8m ago•0 comments

Robot Videos: Heavy Lift Cargo Drones, Grippers, More

https://spectrum.ieee.org/video-friday-heavy-lift-drone
1•rbanffy•9m ago•0 comments

Show HN: I procrastinated on a course by building a course tracker.

https://ckourse.com
1•redaantar•11m ago•0 comments

Claude Code, AI Slop, and the Death of the Art?

https://vladthe.dev/blog/claude-code-ai-slop-and-the-death-of-the-art
2•pacMakaveli•11m ago•1 comments

One-command OpenTelemetry setup on Linux hosts

https://opentelemetry.io/blog/2026/packaging-first-repo/
1•svrnm•13m ago•0 comments

Bitcoin Home

https://bitcoinhome.com
2•TURNMY•16m ago•0 comments

The Flatness Era

https://refusethemean.magazine-page.workers.dev/
1•rs9000•19m ago•0 comments

After holding Why.com for 27 years, Rasheed Richmond launches the site

https://www.reddit.com/user/rasheed106/submitted/
1•jawns•19m ago•0 comments

So, I wrote a fiction book. Meet "The Side Project"

https://blog.maartenballiauw.be/posts/2026-07-31-so-i-wrote-a-fiction-book-meet-the-side-project/
1•GordonS•19m ago•0 comments

Digitvest – Buy ready-to-launch SaaS businesses with integrated payments

https://digitvest.com/en
1•digitvest•20m ago•0 comments

The Run Greenville Project

https://news.wandrer.earth/2026/07/22/run-greenville-project.html
1•altilunium•21m ago•0 comments

Did Apple Search engine bot enter the security LLM fuzzing gauntlet

1•duttonw•23m ago•0 comments

Sound Advice from the White Knight

https://systemsapproach.org/2026/05/18/sound-advice-from-the-white-knight/
1•signa11•29m ago•0 comments

Claude Skill Makes Edits Synced to Song Beat

https://github.com/ZiadAbdelkarim/beat-synced-edit
1•iwasastreamer•30m ago•0 comments

Skill Nostalgia

https://aeon.co/essays/the-radical-reasons-why-you-dream-of-making-things-by-hand
2•cesarrg•31m ago•0 comments

Sphere Triangulation to Square

https://lageosis-geometric-v-p427.bolt.host/
1•tvali•32m ago•0 comments

Python Parallel Testing Library

https://pypi.org/project/cloadtester/
1•icode007•33m ago•1 comments

Django is moving to an annual release cycle

https://www.djangoproject.com/weblog/2026/aug/10/annual-release-cycle/
2•j4mie•35m ago•0 comments

Implant – an extension to VS Code that exposes its APIs to coding agents

https://marketplace.visualstudio.com/items?itemName=strangepleasures.implant
3•strangepleasure•39m ago•0 comments

What I did in Gaza: an Israeli soldier's reckoning

https://www.economist.com/interactive/1843/2026/05/29/what-i-did-in-gaza-an-israeli-soldiers-reck...
4•tumdum_•40m ago•0 comments

Northwest Europe's electricity network visualised in Blender

https://fosstodon.org/@robhawkes/117070228914160153
2•robin_reala•40m ago•0 comments

Show HN: Watching browser fingerprinting calls via Chromium's Blink layer

https://kameleo.io/blog/this-is-the-closest-well-ever-get-to-reverse-engineering-anti-bots
3•brnbs•41m ago•0 comments

Show HN: FOMO: the tool that catches when a workplace stops agreeing with itself

https://usefomo.net
2•JadAmmar•43m ago•0 comments

Show HN: Issue Apple and Google wallet passes from Node.js

https://github.com/getpassmint/passmint
2•alexpate•44m ago•0 comments

Githubprofileforjagermiser

2•jagermister•47m ago•1 comments

Show HN: OptiQra – Open-source AI website optimization and intelligence platform

https://github.com/armin5872/OptiQra
2•ArminNX•47m ago•0 comments

Glitchwave Game Charts

https://glitchwave.com/charts/
2•frozenseven•51m ago•0 comments

Fitting a messenger, wallet, and password manager into 482 bytes of memo space

https://paragraph.com/@z-text/how-we-fit-a-messenger-wallet-and-password-manager-into-482-bytes
2•ztextzksnarks•1h ago•0 comments