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•11mo 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•11mo ago
Finally!

MCP-Sync: One Config File to Rule Them All

https://medium.com/@vektormemory/mcp-sync-one-config-file-to-rule-them-all-8fa0837fc4c8
1•vektormemory•1m ago•0 comments

SaaS Isn't Dying. Its Users Are

https://tomashvili.com/posts/SaaS_Is_not_Dying_Its_Users_Are
1•beka-tom•3m ago•0 comments

WhenFS – Your Calendar Is Now a File System

https://github.com/lvkv/whenfs
1•wise_blood•4m ago•0 comments

One Year of EventSourcingDB, and the Language That Belongs Beside It

https://docs.eventsourcingdb.io/blog/2026/05/05/one-year-of-eventsourcingdb-and-the-language-that...
1•goloroden•5m ago•0 comments

Pgbackrest gets funding and will be maintained

https://github.com/pgbackrest/pgbackrest/commit/b93a2b8807adabec02ef33cca838e30f109c3eba
3•polyrand•9m ago•0 comments

BitStack – 1-bit gradient masks for continual learning without replay

https://github.com/g1g4b1t/bitstack
1•Piotr_Gawron•9m ago•0 comments

Podman rootless containers and the Copy Fail exploit

https://garrido.io/notes/podman-rootless-containers-copy-fail/
1•g0xA52A2A•10m ago•0 comments

How to make SSE token streams resumable, cancellable, and multi-device

https://zknill.io/posts/everyone-said-sse-token-streaming-was-easy/
1•zknill•10m ago•0 comments

Tfsec, Static Linter for Terraform

https://aquasecurity.github.io/tfsec/v1.28.13/
1•l1am0•11m ago•0 comments

AI Generated Code Looked Right, but the Data Was Wrong

https://mljar.com/blog/ai-generated-code-looked-right-data-was-wrong/
1•pplonski86•15m ago•1 comments

How do I know if my product is the right signal of the market?

https://meldgtm.space
1•Meld5792•16m ago•0 comments

Harvard doctor believes we've been getting cholesterol all wrong

https://www.telegraph.co.uk/health-fitness/conditions/heart-health/harvard-medic-cholesterol-stat...
3•g4k•18m ago•0 comments

Anthropic, OpenAI launch AI services companies, challenge TCS, Infosys in India

https://www.indiatoday.in/technology/news/story/anthropic-openai-launch-ai-services-companies-cha...
1•albert_e•21m ago•0 comments

Why Tim Cook Is Steve Ballmer and Why He Still Has His Job at Apple (2016)

https://steveblank.com/2016/10/24/why-tim-cook-is-steve-ballmer-and-why-he-still-has-his-job-at-a...
1•downbad_•26m ago•1 comments

Proton Pass: Second-Password Bypass Through Emergency Access

https://zolder.io/blog/proton-pass-second-password-bypass-through-emergency-access/
1•n00pn00p•28m ago•0 comments

Native Notepad++ Port for macOS

https://nextpad.org/
1•aoxomoxoa•29m ago•2 comments

Computational geometry modeling of the Neolithic circular ditch in Vinoř, Prague

https://community.wolfram.com/groups/-/m/t/3710432
1•tableofzero•29m ago•0 comments

Why Don't Physicists Just Write Clearly?

https://readingforlearning.org/2026/05/04/why-dont-physicists-just-write-clearly/
1•the-mitr•31m ago•0 comments

Transjt.ai Automates WordPress Development, Converting Figma to Gutenberg Blocks

https://transjt.ai
1•transjt•31m ago•0 comments

Oasis Linux

https://git.sr.ht/~mcf/oasis
4•birdculture•33m ago•0 comments

Y Combinator holds $5B stake in OpenAI

https://simonwillison.net/2026/May/5/john-gruber/
3•isaacfrond•34m ago•1 comments

SAP buys Dremio, Prior Labs for AI data push

https://finance.yahoo.com/sectors/technology/articles/sap-buys-dremio-prior-labs-161337813.html
2•raffael_de•35m ago•1 comments

The Mathematical Dance Inside Plant Cells

https://www.quantamagazine.org/the-hidden-mathematical-dance-inside-plant-cells-20260504/
2•isaacfrond•37m ago•0 comments

Replayable traces of Claude Code runs on ARC-AGI-3 public demo games

https://arc-agi-runs.web.app
1•dextersjab•38m ago•0 comments

Harmony Infra Ventures Under Harmandeep Singh Kandhari's Leadership

https://realty.economictimes.indiatimes.com/news/brand-connect-initiative/harmandeep-singh-kandha...
1•KirtiKKapoor•39m ago•0 comments

Carapace- Your OpenClaw Can See

https://carapace.info
1•mikepaepke•42m ago•1 comments

Next.js – A small framework for server-rendered universal JavaScript apps (2016)

https://vercel.com/blog/next
1•downbad_•42m ago•1 comments

Y-Zipper: 3D Printing Flexible-Rigid Transitions in One Click [video]

https://www.youtube.com/watch?v=AWig98GVIno
1•raffael_de•43m ago•0 comments

Monte Lua – The First AI Generated Visual Novel

https://continualmi.com/mdl
1•luisml77•44m ago•1 comments

PGKeeper: Building the bouncer we needed for Postgres

https://www.figma.com/blog/pgkeeper-building-the-bouncer-we-needed-for-postgres/
1•__natty__•49m ago•0 comments