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: Enshrouded (Game) Crafting Recipes

https://nicklewers.github.io/enshrouded-crafting-index/
1•nicklewers•1m ago•0 comments

Show HN: Built firewall for LLMs after prompt injection bypass GPT-4s guardrails

https://github.com/WardLink/TrustLayer--Security-Control-Plane-For-LLM-AI
1•Dushmesh_DS•1m ago•0 comments

Accessibility for Everyone

https://accessibilityforeveryone.site/
1•pentagrama•1m ago•0 comments

I wrote a game engine in JavaScript, then a puzzle game

https://kully.github.io/engine/
1•akully•1m ago•1 comments

Show HN: Screenize" Screen Studio Alternative

https://github.com/syi0808/screenize
1•syi0808•3m ago•0 comments

The State of Python Packaging in 2026: A Comprehensive Guide

https://learn.repoforge.io/posts/the-state-of-python-packaging-in-2026/
1•repoforge-io•4m ago•0 comments

Show HN: Telnet Server for Chatting with LLM

https://github.com/skorotkiewicz/telllm
1•modinfo•5m ago•0 comments

Radmon.org – free radiation monitoring website for enthusiasts

https://radmon.org
1•yesturi•5m ago•0 comments

Donald Trump announces Kevin Warsh as next Fed chair, replacing Jerome Powell

https://www.abc.net.au/news/2026-01-30/trump-nominates-kevin-warsh-as-next-fed-chair/106290084
2•testrun•7m ago•0 comments

Orchard: A GUI for Apple Containers

https://github.com/andrew-waters/orchard
2•tosh•7m ago•0 comments

Navigate with Gemini in Google Maps while walking or biking

https://blog.google/products-and-platforms/products/maps/gemini-navigation-biking-walking/
1•tosh•8m ago•0 comments

Thermodynamic Computing Slashes AI Image Energy Use

https://spectrum.ieee.org/thermodynamic-computing-for-ai
1•rbanffy•8m ago•0 comments

Harold Cohen on artist programmers (2003)

https://grandtextauto.soe.ucsc.edu/2003/06/17/harold-cohen-on-artist-programmers/
1•marttt•9m ago•0 comments

Former CNN journalist Don Lemon arrested in connection with Minnesota protest

https://abcnews.go.com/US/don-lemon-arrested-connection-minnesota-protest-sources/story?id=129699476
5•tortilla•10m ago•0 comments

Tesla introduces U.S.-manufactured solar panels

https://pv-magazine-usa.com/2026/01/29/tesla-introduces-u-s-manufactured-panels-completing-home-e...
1•andsoitis•12m ago•0 comments

How I Made AI Respect TDD

https://spin.atomicobject.com/make-ai-respect-tdd/
1•philk10•14m ago•1 comments

A legit 4k 100% P3 Portable OLED Monitor for under 250€ Review

https://sbcwiki.com/news/articles/portable-monitor-su13-review/
1•HeyMeco•14m ago•1 comments

SpaceX and Tesla to produce 100 GW each of PV per year in the U.S. this decade

https://pv-magazine-usa.com/2026/01/26/elon-musk-at-wef-spacex-and-tesla-to-produce-100-gw-each-o...
1•andsoitis•15m ago•0 comments

How big companies steal control from users

https://grumpy.website/1746
2•soheilpro•16m ago•0 comments

Show HN: EU AI Act

https://xthe.com/news/eu-ai-act-the-february-compliance-wall/
1•xthe•17m ago•0 comments

Show HN: I built a Go gateway to round-robin traffic across Vercel free tiers

https://crate.cc
1•nefintec•18m ago•1 comments

The case for optimism in South Africa

https://www.economist.com/middle-east-and-africa/2026/01/27/the-case-for-optimism-in-south-africa
2•andsoitis•20m ago•0 comments

1.4 Billion user records exposed by insecure Firebase instances in mobile apps

https://mrbruh.com/firewreckv2/
3•MrBruh•20m ago•0 comments

VS Code: Support for the Containerization Framework on macOS

https://github.com/microsoft/vscode-remote-release/issues/11012
2•tosh•21m ago•0 comments

Show HN: I acquired ExtraDock, rebuilt it, now it's the macOS app of my dreams

https://extradock.app/
3•pugdogdev•21m ago•0 comments

Federal Agents Arrest Journalist Don Lemon

https://www.nytimes.com/2026/01/30/us/don-lemon-arrest-minnesota-church-protest.html
16•josefresco•22m ago•1 comments

HTTP Cats

https://http.cat/
2•surprisetalk•22m ago•0 comments

The Fantastic Piece of Tinfoil in My Wallet

https://www.jefftk.com/p/the-fantastic-piece-of-tinfoil-in-my-wallet
1•surprisetalk•22m ago•0 comments

MathPages

https://mathpages.com/
2•surprisetalk•22m ago•1 comments

Tomo: The Language of Tomorrow (and the next day, and the next) [video]

https://www.youtube.com/watch?v=-vGE0I8RPcc
1•surprisetalk•22m ago•0 comments