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!

Launching Open-Clawbot.com

https://www.open-clawbot.com/
1•Abenaitwe•18s ago•0 comments

Long-term vision for improving build times on Clang/LLVM

https://discourse.llvm.org/t/meta-rfc-long-term-vision-for-improving-build-times/89828
1•pjmlp•2m ago•0 comments

Show HN: Nectar Gold – Breastmilk tracker where an AI agent manages data via CLI

https://stash-ruby.vercel.app
1•geo_leo•2m ago•0 comments

Show HN: AI Agent for SEO on Autopilot

https://usefox.ai
1•Creator-io•6m ago•0 comments

Show HN: Ratunit – A TUI for browsing JUnit XML test reports written in Rust

https://github.com/rupert648/ratunit
1•pure-orange•7m ago•0 comments

InfoSec fundraiser to take back squatted securityfocus.com

https://infosec.exchange/@briankrebs/116082265821094869
1•endre•9m ago•1 comments

Rug – Repeat Until Good

https://github.com/github/awesome-copilot/blob/76b1c55befc0366a3bd4098cfdbbd38517e8dc2c/agents/ru...
1•everlier•9m ago•0 comments

Babashka 1.12.215: Revenge of the TUIs

https://blog.michielborkent.nl/babashka-1.12.215.html
2•Borkdude•14m ago•1 comments

AI Online Terminal

https://www.runskill.ai/
1•shitianfang•15m ago•0 comments

Blind Schnorr Signatures – Interactive Demo

https://blindsigs.utxo.club
1•monsuta•16m ago•1 comments

Terry Tao – Machine assistance and the future of research mathematics [video]

https://www.youtube.com/watch?v=zJvuaRVc8Bg
2•danielmorozoff•17m ago•0 comments

China to require physical controls for vehicle functions, starting July 1, 2027

https://carnewschina.com/2026/02/16/china-to-require-physical-controls-for-vehicle-functions-redu...
5•giuliomagnifico•17m ago•0 comments

Retired Netflix Engineering Director on Regrets, Video Engineering, Hiring

https://www.youtube.com/watch?v=ApG9vjbHDCk
1•ksec•19m ago•0 comments

Toolspotting: A new way to measure engagement

https://www.toolspotting.com/spotlight
1•mrdalal•20m ago•0 comments

499 is a prime number with this property: 499⁴⁹⁹ ends in 499499

https://twitter.com/pickover/status/2023047194211701052
3•keepamovin•24m ago•0 comments

Ask HN: What is the best bang for buck budget AI coding?

1•LowResBudget•24m ago•1 comments

Teaching Claude to Write Pony

https://www.ponylang.io/blog/2026/02/teaching-claude-to-write-pony/
2•spooneybarger•25m ago•1 comments

Browse Code by Meaning

https://haskellforall.com/2026/02/browse-code-by-meaning
1•romac•25m ago•0 comments

A remote control for your agents

https://www.restate.dev/blog/a-remote-control-for-your-agents
1•stsffap•26m ago•2 comments

Data Is Your Moat

https://www.parseable.com/blog/data-is-your-moat
1•tiwarinitish86•26m ago•2 comments

Capita taps Microsoft Copilot to dig it out from UK pensions backlog

https://www.theregister.com/2026/02/17/capita_microsoft_copilot_pensions/
1•jjgreen•28m ago•1 comments

Show HN: Nibble a fast and easy to use network scanner

https://github.com/backendsystems/nibble
1•saberd•30m ago•0 comments

Capitalist Countries 2026

https://worldpopulationreview.com/country-rankings/capitalist-countries
2•ksec•30m ago•0 comments

Two Bits Are Better Than One: making bloom filters 2x more accurate

https://floedb.ai/blog/two-bits-are-better-than-one-making-bloom-filters-2x-more-accurate
5•matheusalmeida•32m ago•0 comments

I broke into my own AI system in 10 minutes. I built it

2•mohith_km•32m ago•0 comments

Cascade standalone DNSSEC signer in Rust from NLnet

https://blog.nlnetlabs.nl/cascade/
2•xvilka•33m ago•0 comments

The Infrastructure of Jeffrey Epstein's Power

https://www.nytimes.com/2026/02/13/opinion/ezra-klein-podcast-anand-giridharadas.html
3•rbanffy•34m ago•0 comments

The Cost of Staying

https://twitter.com/amytam01/status/2023593365401636896
1•canadianhacker•36m ago•0 comments

Chinese Memory Penetrates Global PC Supply Chains

https://www.chosun.com/english/industry-en/2026/02/08/ZHVGQTPLQ5CQ5BE2YBT22GTS2M/
2•Qem•37m ago•0 comments

Show HN: CleanCloud – 20 rules to find what's costing you money in AWS and Azure

1•sureshcsdp•38m ago•1 comments