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!

Show HN: acorn – LLM framework for long running agents

https://github.com/askmanu/acorn
1•onel•40s ago•0 comments

Show HN: Lila-E8 – 40M Parameter LLM with 0.37 Loss via E8 Lattice Attention

1•bootstraptor•41s ago•0 comments

Skir: Like Protocol Buffer but Better

https://skir.sh/
1•gepheum•57s ago•0 comments

Show HN: CtxVault – Local memory control layer for multi-agent AI systems

1•FiloVenturini•1m ago•1 comments

Show HN: WebPerceptor – Enabling AI Mediated Web Browsing

https://github.com/theartofhci/WebPerceptor
1•theartofhci•1m ago•0 comments

Show HN: OpenClaw remembers for OpenClaw. Sekha remembers for your full workflow

https://sekha.dev
1•sekha-ai•1m ago•0 comments

Show HN: SynapServe – zero-allocation HTTP server in Rust with io_uring

https://synapserve.io
1•Meatack•1m ago•0 comments

OSS Tool: Hard spending limits for AI agents

1•miridar•1m ago•0 comments

Productive Procrastination

https://www.ssp.sh/brain/productive-procrastination/
2•articsputnik•2m ago•0 comments

Show HN: BitClaw – A self-upgrading AI agent in 1,500 lines of code

https://github.com/NickTikhonov/bitclaw
1•nicktikhonov•2m ago•0 comments

Writing High Quality Production Code with LLMs Is a Solved Problem

https://escobyte.substack.com/p/writing-high-quality-production-code
1•menzoic•2m ago•1 comments

Meta to spend billions on AMD chips

https://www.reuters.com/business/amd-clinches-second-mega-chip-supply-deal-this-time-with-meta-20...
1•bjnstad•2m ago•0 comments

Show HN: SNKV – SQLite's B-tree as a key-value store (C/C++ and Python bindings)

https://github.com/hash-anu/snkv
5•swaminarayan•3m ago•0 comments

Show HN: Claude Copy – Drop-in fix for Claude Code's broken copy-paste

https://github.com/andersmyrmel/claude-copy
2•andersmyrmel•4m ago•0 comments

IRS Tactics Against Meta Open a New Front in the Corporate Tax Fight

https://www.nytimes.com/2026/02/24/business/irs-meta-corporate-taxes.html
1•mitchbob•5m ago•1 comments

Semantic Syntax Highlighting for Lisp in Emacs

https://github.com/calsys456/lisp-semantic-hl.el
1•oumua_don17•5m ago•0 comments

Show HN: PDP – A 'robots.txt' protocol for AI prompt privacy

https://github.com/oug-t/pdp
1•oug-t•6m ago•1 comments

SaaS is (ought to be) dead

https://dev.ribic.ba/saas-is-dead
1•ribice•8m ago•0 comments

Anthropic joins OpenAI in flagging distillation campaigns by Chinese AI firms

https://www.cnbc.com/2026/02/24/anthropic-openai-china-firms-distillation-deepseek.html
1•seydor•8m ago•0 comments

Show HN: SlayZone – Each card is a terminal, my record is 25 concurrent

https://slay.zone
1•debuglebowski•8m ago•0 comments

AI blamed again as hard drives are sold out for this year

https://www.theregister.com/2026/02/20/ai_blamed_again_as_hard_drives_sell_out/
1•tosh•9m ago•0 comments

Show HN: Lettoral – Send one message, get one back. No social hack

https://lettoral.com
1•hayner•9m ago•0 comments

I hacked ChatGPT and Google's AI – and it only took 20 minutes

https://www.bbc.com/future/article/20260218-i-hacked-chatgpt-and-googles-ai-and-it-only-took-20-m...
1•matthewsinclair•9m ago•0 comments

Constraints and the Lost Art of Optimization

https://denodell.com/blog/constraints-and-the-lost-art-of-optimization
1•MindGods•10m ago•0 comments

Mercari's Phishing-Resistant Accounts with Passkey

https://engineering.mercari.com/en/blog/entry/20251106-mercari-phishing-resistant-accounts-with-p...
1•Techbrunch•10m ago•0 comments

Embarrassingly Solved Problems

https://zjpea.substack.com/p/embarrassingly-solved-problems
1•zjp•10m ago•0 comments

Data centres seek credit ratings to unlock billions in funding for AI push

https://www.ft.com/content/e0d9d5f2-c09d-426e-af03-193b488b7b1e
1•alecco•11m ago•1 comments

The End of Snow

https://www.nytimes.com/2024/01/02/opinion/climate-angst.html
1•bilsbie•11m ago•0 comments

xAI and Pentagon reach deal to use Grok in classified systems

https://www.axios.com/2026/02/23/ai-defense-department-deal-musk-xai-grok
2•ironyman•11m ago•0 comments

IBM Sinks Most Since 2000 as Anthropic Touts COBOL Tool

https://www.bloomberg.com/news/articles/2026-02-23/ibm-shares-plunge-as-anthropic-touts-cobol-mod...
2•wslh•12m ago•2 comments