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!

A brief history of federal lift ticket regulation

https://zakpodmore.substack.com/p/a-brief-history-of-federal-lift-ticket
1•CGMthrowaway•56s ago•0 comments

Wordfence Argus Finds 6 Step Critical RCE in Avada Theme with 1M Sales

https://www.wordfence.com/blog/2026/08/wordfence-argus-finds-complex-6-step-critical-rce-in-avada...
1•mmaunder•1m ago•0 comments

I Tracked Down the Company Ruining Fruit [video]

https://www.youtube.com/watch?v=nyG-np0S0ZQ
1•akudha•1m ago•0 comments

Local Dictation app that just works cross platform an is dead cheap?

https://chirpgo.app
1•edihasaj•1m ago•0 comments

Serverless Game Servers/Back Ends on Proxylity

https://proxylity.com/articles/serverless-game-server-backend.html
1•mlhpdx•2m ago•0 comments

The Kill Switch for Harmful Genes

https://worksinprogress.co/issue/the-kill-switch-for-harmful-genes/
1•karakoram•3m ago•0 comments

Now Introducing Gemini Enterprise for Legal

https://cloud.google.com/blog/products/ai-machine-learning/introducing-gemini-enterprise-for-legal
2•amir•4m ago•0 comments

On Writing #3

https://thezvi.substack.com/p/on-writing-3
1•paulpauper•5m ago•0 comments

BSDnas – fork that continues TrueNAS CORE on current FreeBSD

https://bsdnas.com/
1•NexRebular•5m ago•0 comments

Show HN: MulmoTerminal – Run many Claude Code sessions, see which needs you

https://github.com/receptron/mulmoterminal
1•isamu138•5m ago•0 comments

Flock, Mass Surveillance, and the Collapse of Crime

https://www.richardhanania.com/p/flock-mass-surveillance-and-the-collapse
1•paulpauper•6m ago•0 comments

Could I bake a whole pizza On the roof?

https://bittersweetblog.com/2026/08/24/rooftop-pizza/
1•speckx•6m ago•0 comments

AI and Constitutions (From My Email)

https://marginalrevolution.com/marginalrevolution/2026/08/ai-and-constitutions-from-my-email.html
1•paulpauper•8m ago•0 comments

KeepassDX – open-source Password Manager for Android

https://www.keepassdx.com/
1•monneyboi•8m ago•1 comments

'Governments defending prices against fundamentals always lose'

https://www.ft.com/content/9d61ca14-6939-4efa-a6fe-0ec1b283d77a
1•johnbarron•11m ago•0 comments

Block ads and trackers without Pi-hole, with a hosts file

https://guillaumebriday.fr/block-ads-without-pi-hole-with-a-hosts-file/
1•speckx•13m ago•0 comments

I Built a Reddit-Like Forum for Agents. They Designed a Self-Learning Language

https://www.reddit.com/r/aiagents/comments/1vxjnpf/i_built_a_redditlike_forum_for_ai_agents_they/
1•syumei•13m ago•0 comments

Starquor Beta

https://beta.starquor.com/
1•schapman1974•13m ago•1 comments

Disrupting a new covert influence campaign from Russia

https://openai.com/index/disrupting-malicious-uses-of-ai-influence-campaign-russia
1•tmp10423288442•13m ago•0 comments

Norway moves to tighten rules on the use of smart glasses

https://www.euronews.com/next/2026/08/25/norway-moves-to-tighten-rules-on-use-of-smart-glasses
3•jethronethro•13m ago•0 comments

Hot Take: Harness, Loop Engineering, Graph Engineering Are Bullshit

https://akitaonrails.com/en/2026/08/18/hot-take-harness-loop-engineering-graph-engineering-are-bu...
2•pedroigor91•13m ago•0 comments

WAL and S3: Lakebase storage for the era of agents

https://neon.com/blog/wal-s3-lakebase-storage-for-the-era-of-agents
1•kunalsin9h•14m ago•0 comments

Software Eng for Vibe Coders: Databases and Storage

https://read.technically.dev/p/software-eng-for-vibe-coders-databases
2•nadis•15m ago•0 comments

Gertieboard Is an IBM PC/XT Clone That Blends Vintage and Modern Hardware

https://www.hackster.io/news/gertieboard-is-an-ibm-pc-xt-clone-that-blends-vintage-and-modern-har...
1•MeteorMarc•15m ago•0 comments

Show HN: CuMetal – Run CUDA Programs on Apple Silicon via Metal

https://github.com/Lulzx/cuda-metal
1•lulzx•15m ago•0 comments

Cheap, Fast, and Wrong: The Case for New Quantum Hardware

https://www.thenewcomputers.com/
1•JonathanFeasby•16m ago•1 comments

When Open Standards and Specs Are Better Than Open Source

https://codeengineered.com/blog/2026/open-spec-better-open-source/
2•gpi•16m ago•0 comments

FDA authorizes first wearable device that monitors ketone and blood sugar levels

https://www.fda.gov/news-events/press-announcements/fda-authorizes-first-wearable-device-continuo...
15•sunnynagra•19m ago•1 comments

Show HN: GateProof: offline-first event check-in, no backend, no guest list leak

https://gateproof.app/
1•nunosimoes•20m ago•0 comments

New Alphabet Song

https://www.youtube.com/watch?v=-I7v0HqejXE
1•bns•20m ago•0 comments