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•7mo 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•7mo ago
Finally!

Show HN: Luxury Yacht, a Kubernetes management app

https://github.com/luxury-yacht/app
1•johnj-hn•1m ago•0 comments

FDA approves first GLP-1 weight loss pill

https://www.novonordisk.com/news-and-media/news-and-ir-materials/news-details.html
1•jshchnz•1m ago•0 comments

Welcome to the Weird, Wonderful British Ritual of Panto Theater

https://www.bloomberg.com/news/articles/2025-12-22/welcome-to-the-weird-wonderful-british-ritual-...
2•helsinkiandrew•4m ago•2 comments

TempleOS: FlightSim and FirstPersonShooter [video] [REPOST 2015]

https://www.youtube.com/watch?v=sIbcud3E36s
1•felipelalli•7m ago•1 comments

iOS 26.3 Brings AirPods-Like Pairing to Third-Party Devices in EU Under DMA

https://www.macrumors.com/2025/12/22/ios-26-3-dma-airpods-pairing/
3•Tomte•9m ago•0 comments

Show HN: A vibe-coded database GUI

https://seaquel.app
2•mootoday•16m ago•0 comments

Scamp (Suite for Computer-Assisted Music in Python)

https://scamp.marcevanstein.com
1•bthallplz•17m ago•0 comments

60 Minutes prison segment postponed by CBS briefly viewed in Canada on Global TV

https://www.cbc.ca/news/canada/cbs-60-minutes-report-el-salvador-cecot-global-9.7025912
12•throwawaysleep•20m ago•0 comments

Show HN: We built an AI Humanizer to fix unnatural AI writing

https://dechecker.ai/ai-humanizer
1•GrammarChecker•20m ago•0 comments

Starlog Is Prolog with Nested Predicate Calls

https://github.com/luciangreen/prolog_to_starlog
1•luciangreen128•23m ago•0 comments

Frederick Douglass on the Book That Changed His Life

https://derekbishton.com/frederick-douglass-on-the-book-that-changed-his-life/
1•shrubble•31m ago•1 comments

After Power Outage, SF Wonders: Can Robot Taxis Handle a Big Earthquake?

https://www.nytimes.com/2025/12/22/us/waymo-san-francisco-power-earthquake.html
2•mikhael•32m ago•0 comments

Memelang: An Axial Grammar for LLM-Generated Vector-Relational Queries

https://arxiv.org/abs/2512.17967
1•bri-holt•33m ago•0 comments

Grok's Phone Number

https://x.ai/legal/faq#can-i-phone-text-or-message-grok
1•swatson741•36m ago•0 comments

The AI History That Explains Fears of a Bubble

https://time.com/7340901/ai-history-bubble-benchmarks/
1•chrchr•44m ago•0 comments

Unverified Rumor Trump Admin in Talks with Edward Snowden for a Full Pardon

https://x.com/i/trending/2003299623616549167
4•annon3845•45m ago•1 comments

Aisora2.com

https://aisora2.com/
1•businesszh•49m ago•0 comments

Yes, AGI Can Happen – A Computational Perspective

https://danfu.org/notes/agi/
1•gmays•51m ago•0 comments

Show HN: Nønos – a zero-state OS that runs in RAM

https://docs.nonos.systems/building-nonos-os/running-in-qemu
1•mighty_moran•54m ago•1 comments

AI Data Center Gold Rush Driven by 1000's of Newcomers

https://www.bloomberg.com/graphics/2025-ai-data-center-ownership/
1•1vuio0pswjnm7•59m ago•0 comments

Houdini and the Magic of Logistics

https://www.tandfonline.com/doi/full/10.1080/17530350.2025.2471601#abstract
1•Tomte•1h ago•0 comments

Your chatbot keeps a file on you

https://www.washingtonpost.com/technology/2025/12/22/ai-privacy-settings-chatgpt-gemini-claude-co...
3•1vuio0pswjnm7•1h ago•1 comments

Could Torontonians soon ride self-driving taxis? That's Waymo's plan

https://www.cbc.ca/news/canada/toronto/waymo-self-driving-taxis-toronto-9.7023379
2•amichail•1h ago•0 comments

Alloconda: Zig toolkit for writing CPython extensions

https://github.com/mattrobenolt/alloconda
2•mattrobenolt•1h ago•0 comments

Show HN: CineCLI – Browse and torrent movies directly from your terminal

https://github.com/eyeblech/cinecli
3•samsep10l•1h ago•1 comments

Unix "find" expressions compiled to bytecode

https://nullprogram.com/blog/2025/12/23/
2•signa11•1h ago•0 comments

In Which My Situation Is Discussed

https://ascii.textfiles.com/archives/5783
3•Tomte•1h ago•0 comments

South Atlantic Anomaly

https://en.wikipedia.org/wiki/South_Atlantic_Anomaly
1•sixthDot•1h ago•2 comments

Show HN: Starships.ai – Build, deploy and orchestrate an AI agent team

https://starships.ai
4•brayn003•1h ago•1 comments

FreeBSD Closes the Laptop Gap: Year One Project Update

https://freebsdfoundation.org/blog/freebsd-closes-the-laptop-gap-year-one-project-update/
1•todsacerdoti•1h ago•0 comments