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!

DevPlace – The New DevRant

https://devplace.net/
1•blindxfish•5m ago•1 comments

The True Cost of Claude Code

https://papercompute.com/blog/true-cost-of-claude-code/
1•rane•6m ago•0 comments

Clerk System Outage Postmortem – 19th Feb 2026

https://clerk.com/blog/2026-02-19-system-outage-postmortem
1•daniel-vazquez•7m ago•0 comments

Show HN: Nebark – Simple A/B Testing for system prompts using steganography

https://app.nebark.com/
1•nicolasmery•8m ago•0 comments

Universal Bug Reporter

https://www.universalbugreporter.com
1•dimitrici•9m ago•1 comments

Legendary SF Author Harlan Ellison Had Nothing but Harsh Words About Star Wars

https://www.slashfilm.com/2104889/sci-fi-author-harlan-ellison-harsh-words-star-wars/
1•Michelangelo11•9m ago•0 comments

Height Surgery for Men Can Add Inches but Has Risks

https://www.nytimes.com/2026/02/17/us/height-surgery-limb-lengthening-men-health.html
2•bookofjoe•11m ago•1 comments

Show HN: Memimpact – memory footprint CLI written in Rust

https://github.com/Mifour/memimpact
2•goldenarm•12m ago•0 comments

AI Capex: Share of U.S. GDP Growth by Quarter

https://paulkedrosky.com/n/4df9b3a4-8d5e-49d6-ac37-371232cbaea7
1•giuliomagnifico•13m ago•0 comments

Hundreds tell BBC how medication triggered gambling and other addictions

https://www.bbc.co.uk/news/articles/ce948d9gxevo
1•basisword•15m ago•0 comments

Pipelined Relational Query Language, Pronounced "Prequel"

https://prql-lang.org/
1•dmit•16m ago•1 comments

Review of Sex Is a Spectrum: Biological Limits of the Binary by Agustín Fuentes

https://blog.edhagen.net/posts/2025-08-07-review-sex-is-a-spectrum/
1•plauge•16m ago•0 comments

Show HN: I bought Big Interview's .ai domain to roast their negligence

https://biginterview.ai/
1•justice_devb•17m ago•0 comments

AI chatbots provide less-accurate information to vulnerable users

https://news.mit.edu/2026/study-ai-chatbots-provide-less-accurate-information-vulnerable-users-0219
2•interpol_p•18m ago•0 comments

Show HN: CozyProfit – A crop profit calculator for cozy farming sims

https://cozyprofit.com/
2•causalzap•21m ago•1 comments

YoNoSplat: You Only Need One Model for Feedforward 3D Gaussian Splatting

https://botaoye.github.io/yonosplat/
2•smusamashah•22m ago•0 comments

Toyota may ban drivers from switching off safety tech

https://www.chasingcars.com.au/news/car-safety/toyota-may-ban-drivers-from-switching-off-safety-t...
2•geox•23m ago•0 comments

Show HN: FluxAPI – 13-rule API performance auditor with network-adjusted scoring

https://github.com/aswinsasi/fluxapi
1•aswinsasi123•33m ago•0 comments

AI helped me through burnout (but not how you think)

https://keygen.sh/blog/ai-helped-me-through-burnout/
2•saeedesmaili•38m ago•0 comments

Over 80% of 16 to 24-year-olds would vote to rejoin the EU

https://www.itv.com/news/2026-02-19/over-80-of-16-to-24-year-olds-would-vote-to-rejoin-the-eu-itv...
5•saubeidl•39m ago•2 comments

Show HN: CheckAPI – open-source API monitoring built with FastAPI and Next.js

https://www.checkapi.io/
2•JEONSEWON•40m ago•0 comments

The Current State of RDAP

https://www.ietf.org/blog/current-state-of-rdap/
2•gslin•40m ago•0 comments

Show HN: EV424 – Evidence Definition (Don't Trust, Verify)

2•lws9262•43m ago•1 comments

A managed disk adapter storage and routing layer for LoRA adapters on vLLM

https://github.com/shayonj/loraplex
2•shayonj•50m ago•0 comments

Don't leave assumptions up to AI

https://aklodhi.com/articles/dont-leave-assumptions-up-to-ai
2•capex•53m ago•0 comments

Ask HN: How do we protect tech workers fast

3•orangecoffee•56m ago•1 comments

Memed-in: Meme-fy your LinkedIn feed

https://github.com/taman-islam/memed-in
3•hedayet•1h ago•0 comments

Over 4 days of Google AI Studio outages

https://aistudio.google.com/status
2•idoxer•1h ago•0 comments

Decades-old programming languages still power critical modern systems

https://www.dongascience.com/en/news/76423
2•benewton•1h ago•0 comments

As We Can't Slow AI, We Must Accelerate Responsibility

https://www.michaelagreiler.com/if-we-cant-slow-ai-we-must-accelerate-responsibility/
3•madamdo•1h ago•0 comments