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!

Pokémon turns 30 – how the fictional pocket monsters shaped science

https://www.nature.com/articles/d41586-026-00441-y
1•kgwgk•12s ago•0 comments

An honest take about AI [video]

https://www.youtube.com/watch?v=ZM2c33qy16U
1•mgh2•47s ago•0 comments

Show HN: A compression tool that beats xz on x86_64 ELFs by 6%

1•mohsen1•2m ago•0 comments

Clawed

https://www.hyperdimensional.co/p/clawed
1•jger15•2m ago•0 comments

The Root Cause Fallacy

https://fffej.substack.com/p/the-root-cause-fallacy
1•PretzelFisch•4m ago•0 comments

Show HN: AI powered platform for Brazilian due diligence

https://vero.stratir.com
1•VanceVP•4m ago•0 comments

Show HN: Self-destructing, end-to-end encrypted Pastebin

https://paste.ente.io
1•vishnukvmd•5m ago•0 comments

The CAP theorem for Agents

https://www.osohq.com/post/the-cap-theorem-for-agents
1•meghan•6m ago•0 comments

Ask HN: Websites requiring government ID

2•piratesAndSons•8m ago•0 comments

Show HN: Pulse – a beautiful service monitor that lives in your notch

https://github.com/jsattler/Pulse
1•jsattler•11m ago•0 comments

European users can now run a disconnected Azure Local service

https://www.techradar.com/pro/european-users-can-now-run-a-fully-disconnected-azure-local-service...
1•giuliomagnifico•11m ago•0 comments

A webpage that supports controlling 16+ CLI Agents(CC,Codex,GeminiCli) remotely

https://twitter.com/AionUi/status/2027349747695300970
1•waili•12m ago•0 comments

Metrics Make Us Miserable

https://www.derekthompson.org/p/how-metrics-make-us-miserable
2•herbertl•14m ago•0 comments

Claude Experiencing Elevated Errors Across All Platforms

https://status.claude.com/incidents/0ghc53zpsfmt
7•meetpateltech•15m ago•0 comments

The world wants social media ban for children, but consequences will be for all

https://www.theguardian.com/commentisfree/2026/mar/02/ban-children-social-media-biometic-data-sur...
3•robtherobber•19m ago•0 comments

Claude Seems to Be Down

10•FpUser•19m ago•3 comments

Offshore aquaculture of Atlantic surfclams Spisula solidissima

https://academic.oup.com/naja/advance-article/doi/10.1093/naaqua/vraf038/8475327?login=false
1•PaulHoule•19m ago•0 comments

Show HN: Rst2typst – Convert from ReStructuredText to Typst Code and PDF

https://rst2typst.attakei.dev/
1•attakei•20m ago•0 comments

The CTH Framework: A Functional Real-World Psychohistory

https://github.com/AlejoMalia/CTHmodules
1•hamburgererror•21m ago•1 comments

React Native App Development Cost in the US (2026) + a One-Page Budget Checklist

https://www.budventure.technology/blog/react-native-app-development-cost-usa
1•kajolshah_bt•23m ago•1 comments

How do you handle domain-specific transformation logic without hardcoding it?

1•namdionwuachu•23m ago•1 comments

ZXsheet

https://bunsen.itch.io/zxsheet-sinclair-zx-spectrum-by-matthew-begg
1•xkriva11•26m ago•1 comments

Show HN: PipeDream – A state-aware AI visualizer for CLI text adventures

https://github.com/CPritch/PipeDream
1•PxldLtd•30m ago•1 comments

How Talks Between Anthropic and the Defense Dept. Fell Apart

https://www.nytimes.com/2026/03/01/technology/anthropic-defense-dept-openai-talks.html
5•m-hodges•31m ago•1 comments

Living Human Brain Cells Play Doom on a CL1 [video]

https://www.youtube.com/watch?v=yRV8fSw6HaE
1•smusamashah•31m ago•0 comments

Narwhal v0.5.0 – pub/sub messaging server, now powered by io_uring

https://github.com/narwhal-io/narwhal/releases/tag/narwhal-0.5.0
1•ortuman•34m ago•1 comments

Tell HN: Claude Is Down

17•rishikeshs•34m ago•3 comments

Show HN: AgentEmail Free and Open Source Email Infra for AI Agents

https://github.com/zaddy6/agent-email
1•zeekwithz•36m ago•0 comments

Show HN: Go WebSocket orchestrator for 11 crypto exchanges

https://github.com/psychosomat/limpio-exchange-orchestrator
2•arturstankevicz•36m ago•0 comments

Iran all but vanishes from the global internet amid US-Israel strikes

https://www.theregister.com/2026/03/02/iran_internet_blackout/
1•Bender•38m ago•0 comments