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!

Trump gets data center companies to pledge to pay for power generation

https://arstechnica.com/tech-policy/2026/03/leading-ai-datacenter-companies-sign-pledge-to-buy-th...
1•joozio•36s ago•0 comments

SimEarth: Realtime

https://github.com/xraymemory/simearth-realtime
1•idempotent_•1m ago•1 comments

Lawmakers Want DoD Investigated for Biblical 'Armageddon' Claims

https://www.military.com/daily-news/2026/03/06/lawmakers-want-dod-hegseth-investigated-biblical-a...
1•Jimmc414•2m ago•0 comments

Show HN: Personal Standup

https://personal-standup.vercel.app/
2•baristaGeek•2m ago•0 comments

January 6 commemorative plaque appears in Capitol after years of delay

https://www.cnn.com/2026/03/07/politics/january-6-plaque-installed-capitol
2•Tomte•2m ago•0 comments

The Power Brokers Behind the $250B Influencer Economy

https://www.wsj.com/lifestyle/careers/uta-influencer-managers-ali-berman-raina-penchansky-alix-ea...
3•gmays•3m ago•0 comments

The Antifragile Organization: Designing Systems That Evolve Through Chaos

https://medium.com/@adocarreno/the-antifragile-organization-designing-systems-that-evolve-through...
2•lawrenceyan•3m ago•0 comments

Footage shows US citizen shot dead by ICE agent in Texas traffic stop

https://www.bbc.com/news/articles/cedzep6gp07o
2•tartoran•4m ago•0 comments

Show HN: NoCopilotKey – Utility to change Copilot Key back into right ctrl key

https://github.com/Dwedit/NoCopilotKey
2•Dwedit•4m ago•0 comments

Track AIPAC – Follow Israel lobby spending in U.S. politics

https://www.trackaipac.com
3•bjourne•6m ago•0 comments

IronCurtain: A Personal AI Assistant Built Secure from the Ground

https://www.provos.org/p/ironcurtain-secure-personal-assistant/
2•dnw•7m ago•0 comments

Show HN: Leonardo – FFmpeg Video Converter for Linux Creators

https://github.com/RossContino1/Leonardo
2•RossC17331•7m ago•1 comments

Does society delegating truth-finding to algorithms lose ability to self-govern?

https://spinchange.github.io/ai-debates/truth-by-algorithm/
1•spinchange•9m ago•1 comments

T3 Code is the best way to code with AI

https://t3.codes/
2•fdb•10m ago•1 comments

Show HN: Python script that alerts when your CLI AI agent goes idle

https://github.com/davecandi/vibechime
1•davecandi•10m ago•0 comments

Show HN: TeamShotsPro – AI team headshots from a selfie in 60 seconds

https://www.teamshotspro.com
1•Mvhaperen•12m ago•0 comments

The Underwriter as Creative Director

https://medium.com/@benedictaltier/the-underwriter-as-creative-director-bf97bf161009
1•benedictallen•16m ago•1 comments

Traditional tales from Cornwall, with maps for stories' locations

https://www.mazedtales.org/
1•ohjeez•16m ago•0 comments

Show HN: ContentForge – Repurpose any text into posts for 8 platforms

https://www.contentforgehq.com/
1•chadtd1•18m ago•0 comments

Game Theory Expert: America Will Lose Iran War – Professor Jiang

https://www.youtube.com/watch?v=YJJRjK2fWnA
1•n1b0m•18m ago•0 comments

Show HN: Excalidraw Architect MCP for AI Based IDEs

https://github.com/BV-Venky/excalidraw-architect-mcp
2•Venky1729•19m ago•0 comments

Show HN: Share files and folders on your own domain or subdomain

https://www.bulkshare.cloud
1•api008•21m ago•0 comments

Show HN: I built a daily game that tests if you can tell 1999 apart from 2005

https://yeartobeat.com/
1•FKJ•22m ago•1 comments

Show HN: Paster – A keyboard-first clipboard manager for Vim users

https://pasterapp.com
2•luanderock•22m ago•0 comments

Everybody Loves to Hate Dubai. Here's Why They're Wrong

https://www.wsj.com/world/middle-east/dubai-iran-a2582863
2•pr337h4m•23m ago•0 comments

CIS352: Principles of Programing Languages

https://kmicinski.com/cis352-s26/
1•linhns•24m ago•0 comments

Ensu – Ente's Local LLM App

https://ente.io/ensu/
3•Riyadh_Hossen•24m ago•1 comments

Tessera – MCP server that gives Claude persistent memory and local RAG search

https://github.com/besslframework-stack/project-tessera
3•jasonjeong•24m ago•0 comments

Best AI Prompt Systems of 2026: 9 Tools with 270 Built-In Modules

https://medium.com/@robert.shane.kirkpatrick/best-ai-prompt-systems-of-2026-9-engineered-tools-wi...
2•totalvaluegroup•25m ago•0 comments

Motif Mindset Design

https://motifmindsetdesign.etsy.com
2•robertsshaun•26m ago•0 comments