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!

Target 1: Baseten

https://www.silares.com/targets/target-1-baseten
1•todsacerdoti•3m ago•0 comments

A multi-entry CFG design conundrum

https://bernsteinbear.com/blog/multiple-entry/
2•fbuilesv•8m ago•0 comments

A Massacre in Mashhad

https://www.newyorker.com/news/as-told-to/a-massacre-in-mashhad
3•Tomte•10m ago•1 comments

Disney to Pay $10M in FTC Children's Data Settlement

https://natlawreview.com/article/court-approves-order-requiring-disney-pay-10mm-settle-ftc-attorn...
2•petethomas•12m ago•0 comments

Show HN: Lumina – Open-source observability for LLM applications

https://github.com/use-lumina/Lumina
3•iggycodexs•23m ago•0 comments

Hacker turned WiFi airwaves into LED art with a Raspberry Pi

https://www.theregister.com/2026/01/23/raspberry_pi_wifi_wall_art/
3•ghendelf•27m ago•0 comments

What Is Clawdbot? (and Why People Are Losing Their Minds over It)

https://twitter.com/noahepstein_/status/2015073824799371370
3•taubek•32m ago•0 comments

Kitty Cards

https://lmno.lol/alvaro/introducing-kitty-cards
3•todsacerdoti•33m ago•0 comments

'Fundamental reset': Scott Bessent has a plan to free the nation's banks

https://www.politico.com/news/2026/01/24/scott-bessent-banks-00744468
1•scrubs•36m ago•1 comments

Show HN: Markdown Viewer with LaTeX Math Support and Export to PDF/Word/HTML

https://markdownviewer.cc
1•LuckyBuddy•39m ago•0 comments

Box64 Expands into RISC-V and LoongArch territory

https://boilingsteam.com/box64-expands-into-risc-v-and-loong-arch-territory/
1•ekianjo•40m ago•0 comments

Neveragain.tech

https://neveragain.tech/
3•m-hodges•41m ago•0 comments

Show HN: Run world-class focus groups in minutes

https://chatgpt.com/g/g-6835306f9c48819185d3a665c09cc5d2-focus-groups-like-a-pro
1•vassilbek•41m ago•0 comments

Part 1: IndiaAI mission does not need compute, it needs data

https://gpt3experiments.substack.com/p/part-1-indiaai-mission-does-not-need
1•nutanc•42m ago•0 comments

JVic – The web-based VIC 20 emulator built with libGDX

https://vic20.games/
1•duck•49m ago•0 comments

The most precise mechanical indicators ever made – The Mikrokator [video]

https://www.youtube.com/watch?v=_HIKmxHcxkg
1•pillars•57m ago•0 comments

Apt-bundle: brew bundle for apt

https://github.com/apt-bundle/apt-bundle
1•sadeshmukh•57m ago•0 comments

Show HN: Document your tRPC API without mapping to OpenAPI

1•liorcodev•57m ago•0 comments

Deaths and deportations of citizens by Trump administration

https://en.wikipedia.org/wiki/Deaths,_detentions_and_deportations_of_American_citizens_in_the_sec...
13•praptak•1h ago•0 comments

Jeffrey Way: I'm Done

https://www.youtube.com/watch?v=g_Bvo0tsD9s
3•doppp•1h ago•0 comments

Ask HN

2•mekod•1h ago•0 comments

Fast Joystick Read – Elon Musk on Usenet, 1994

https://twitter.com/UsenetGems/status/2004876626161721467
1•nomilk•1h ago•0 comments

World’s most powerful literary critic is on TikTok

https://www.newstatesman.com/culture/books/2026/01/the-worlds-most-powerful-literary-critic-is-on...
2•insistey•1h ago•0 comments

Non-Functional Requirements: The Secret Sauce Nobody Wants to Season

https://blog.hermesc.gr/non-functional-requirements-the-secret-sauce-nobody-wants-to-season/
1•puppion•1h ago•0 comments

Show HN: Voice to Text– Free browser-based speech-to-text with local projects

https://www.voicetotextonline.com/
1•digi_wares•1h ago•0 comments

Show HN: Structured data extraction using local quantized LLMs

https://github.com/nxank4/loclean
1•nxank4•1h ago•0 comments

Jurassic Park: SGI Computers (2010)

http://www.sgistuff.net/funstuff/hollywood/jpark.html
1•exvi•1h ago•0 comments

Earth's Rotation Limits IBIS Performance to 6.3 Stops

https://thecentercolumn.com/2020/01/17/earths-rotation-limits-ibis-performance-to-6-3-stops/
4•Geo_ge•1h ago•0 comments

Lawsuit Claims Meta Can See WhatsApp Chats in Breach of Privacy

https://www.bloomberg.com/news/articles/2026-01-25/lawsuit-claims-meta-can-see-whatsapp-chats-in-...
4•g-b-r•1h ago•0 comments

The Brain of the Greatest Solo Climber

https://nautil.us/the-strange-brain-of-the-worlds-greatest-solo-climber-236051/
1•blondie9x•1h ago•0 comments