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

Show HN: AI-powered Git reports that write themselves

1•inferno22•45s ago•0 comments

Formally Verifying PBS Kids with Lean4

https://www.shadaj.me/writing/cyberchase-lean
1•shadaj•58s ago•0 comments

Shipping fast with AI without building something fragile

https://markallen.io/pace-layers-ai-product-development
1•marktron•2m ago•0 comments

Snowflake and OpenAI partner to bring frontier intelligence to enterprise data

https://openai.com/index/snowflake-partnership/
1•amusingimpala75•2m ago•0 comments

All of It

https://futures.unrulycap.com/p/all-of-it
1•simonebrunozzi•2m ago•0 comments

Rural Americans Are Trying to Hold Back the Tide of AI

https://www.wsj.com/politics/policy/these-rural-americans-are-trying-to-hold-back-the-tide-of-ai-...
1•rpcope1•5m ago•0 comments

The Dumbest Performance Fix Ever

https://computergoblin.com/blog/the-story-of-a-5-minute-endpoint/
1•signa11•5m ago•0 comments

What ChatGPT Got Wrong When It Saved My Life

https://substack.com/home/post/p-186612866
1•bethanymarz•6m ago•0 comments

Companies behind Postgres 18 development

https://theconsensus.dev/p/2026/02/02/companies-behind-postgres-18.html
2•mooreds•7m ago•0 comments

We Quit Our Job to Build Wearables for Cows [video]

https://www.youtube.com/watch?v=E4Ng1iW_tfs
1•xavaki•7m ago•0 comments

The Lobster Report – A weekly guide to wildest emergent AI behaviors

https://lobsterreport.substack.com/p/the-agents-are-talking
2•dmitryv•7m ago•0 comments

Pi Is the Linux of Agent Harnesses

https://sibylline.dev/articles/2026-02-02-pi-is-the-linux-of-agent-harnesses/
1•CuriouslyC•7m ago•0 comments

Humanity's Last Machine

https://www.humanityslastmachine.com/
1•chiwilliams•8m ago•0 comments

Show HN: File Markers – Track file status directly in VS Code's Explorer

https://github.com/joneldominic/vscode-file-markers
2•joneldominic•8m ago•1 comments

Forced to deceive: Inside the cyber mafia – DW Documentary [video]

https://www.youtube.com/watch?v=ukb68SnVISQ
1•tomaytotomato•9m ago•0 comments

Kevin Warsh: you have to make a bet

https://www.ft.com/content/057a215b-763c-450d-931c-4a92f9cc4ec1
1•kaycebasques•10m ago•0 comments

Why Your AI Agent Failed in Production

https://clouatre.ca/posts/ai-observability-gaps/
1•french_exec•13m ago•0 comments

Notes on structured concurrency, or: Go statement considered harmful

https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/
1•redman25•14m ago•0 comments

Show HN: A different approach to intonation training

https://intunetrainer.conpixel.es/
2•ogig•15m ago•0 comments

Cutting LLM token Usage by ~80% using REPL driven document analysis

https://yogthos.net/posts/2026-01-16-lattice-mcp.html
3•PaulHoule•16m ago•0 comments

Greenland tensions harden Europe's push for energy independence

https://www.ft.com/content/e9c90df9-ee03-4c51-bbd3-dad45e212961
3•JumpCrisscross•17m ago•0 comments

"Five-Point Haskell" Part 1: Total Depravity

https://blog.jle.im/entry/five-point-haskell-part-1-total-depravity.html
2•jle•18m ago•0 comments

Show HN: Stelvio – Ship Python to AWS

https://stelvio.dev/
2•michal-stlv•19m ago•0 comments

Use Claude Code the same way Claude Code team do

https://twitter.com/bcherny/status/2017742741636321619
1•tzury•19m ago•0 comments

Show HN: Investor relations platform lets investors bid on meeting the founders

https://investor.data.flowers/
1•eggspurt•21m ago•0 comments

SpamBlocker – Android Call/SMS Blocker

https://github.com/aj3423/SpamBlocker
1•basemi•21m ago•0 comments

Waymo Seeking About $16B Near $110B Valuation

https://www.bloomberg.com/news/articles/2026-01-31/waymo-seeking-about-16-billion-near-110-billio...
4•JumpCrisscross•23m ago•0 comments

The Georgia voter data is clean

https://tilores.io/content/Is-Georgias-Voter-Data-Clean
1•Major_Grooves•23m ago•0 comments

Ask HN: What Happened to Prompt Injection?

2•dpflan•25m ago•0 comments

Semi-Autonomous Mathematics Discovery with Gemini: Erdős Problems Case Study

https://arxiv.org/abs/2601.22401
1•tzury•26m ago•0 comments