frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Would you believe try-catch-finally works in plain old C?

4•mf_taria•1y 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•1y ago
Finally!

Rockstacking for Dummies: Large-scale collaboration on public datasets

https://alpacasoft.dev/writing/rockstacking-for-dummies
1•TheAlpacalypse•1m ago•0 comments

Explainer about Anthropic's recent cryptanalysis breakthroughs

https://crypto-explainer.swarmsay.com/
1•oger•1m ago•0 comments

Alpöge x Claude x Riemann happened and now I'm drowning in the ocean of history

https://arbustoemchamas.substack.com/p/alpoge-x-claude-x-riemann-happened
1•milon•2m ago•0 comments

AI Awards for Atari

https://ai-awards-for-atari.github.io/2026/
1•tito•4m ago•2 comments

Year Ahead 2027 Sustaining resilience [pdf]

https://www.visualcapitalist.com/wp-content/uploads/2026/11/GWM-Chief-Investment-Office-Year-Ahea...
1•gmays•5m ago•0 comments

Google CEO promises changes after user's automated account ban goes viral

https://www.businessinsider.com/google-account-bans-locking-users-out-changes-sundar-pichai-2026-11
1•teachrdan•6m ago•0 comments

They Tried to Plan an Ideal City. They Made Something Worse

https://lithub.com/they-tried-to-plan-an-ideal-city-they-made-something-much-worse/
1•cainxinth•10m ago•0 comments

AI, Crypto, and Quantum Computers. What Anthropic's announcement means for us.

https://community.safebots.ai/t/ai-crypto-and-quantum-computers/47
1•EGreg•12m ago•0 comments

A magazine editor tries to defend AI writing

https://chengela.substack.com/p/an-editor-tries-to-defend-ai-writing
1•dyadicspore•12m ago•1 comments

Michael Nielsen takes down his free AI textbook after 13 years

https://maccus.fr/en/michael-nielsen-deep-learning-book/
1•extasetoi12•12m ago•0 comments

Observability 101: Metrics

https://labs.iximiuz.com/courses/observability-101
2•valyala•13m ago•0 comments

My prediction market based on sumo wrestling cats

https://moai.studio/SUMOMARKET/
1•ionwake•13m ago•1 comments

US churches closing at record rates, some congregations choosing a 'good death'

https://theconversation.com/us-churches-are-closing-at-record-rates-some-congregations-are-choosi...
1•toomuchtodo•14m ago•0 comments

Relax, Anthropic Probably Didn't Break Encryption

https://www.wired.com/story/anthropic-lattice-post-quantum-encryption-research/
2•jonbaer•14m ago•0 comments

RockStar Threatening Steam, demanding 90/10 revenue split

https://twitter.com/CSGO500/status/2127452725046542687
1•bigwheels•15m ago•2 comments

A year of building a game with AI coding agents

https://rjcorwin.github.io/blog/a-year-of-coding-with-ai.html
1•staticvar•15m ago•0 comments

Infinitary

https://getinfinitary.com/
1•ThatCaio•15m ago•0 comments

A continual-learning, granular memory research harness

https://aptifold.ai/
1•pwishall•15m ago•1 comments

Subscriptionmaxxing

https://bhuvanrj.me/portfolio/subscriptionmaxxing.html
1•Bhuvone•18m ago•0 comments

Personal Computing

https://pluralistic.net/2026/11/30/rainbows-end/#idiosyncrasy
1•jerhewet•23m ago•0 comments

Geezer Teaser

https://en.wikipedia.org/wiki/Geezer_teaser
1•herbertl•25m ago•0 comments

Deterministic tools with probabilistic interfaces are the future of AI

https://weidev.nl/blog/deterministic-tools-with-probabilistic-interfaces
1•modernorange•26m ago•0 comments

Demos written in TypeScript and run natively on different microcontroller boards

https://github.com/geastack/demos
1•arbayi•31m ago•0 comments

Scriptura: A cozy corner for your scripts

https://alanpearce.eu/post/scriptura/
1•matanyall•31m ago•0 comments

Show HN: 12 days building an offline iOS/Mac reader and 3 Swift packages

https://oozoofrog.dev/blog/ribbonpage-12-day-devlog-en/
1•oozoofrog•35m ago•0 comments

GLM-5.3-Flash on a single laptop. MacBook Pro / Nvidia spark

https://latencylabs.ai/blog/glm-5.3-flash-lala/
2•pantelisk•37m ago•0 comments

Show HN: PocketLLM Lite – open-source Android app that runs GGUF models offline

https://github.com/PocketLLM/pocketllm-lite
1•prashantc001•37m ago•0 comments

(Probably) SOTA AI image detector open weights model

https://huggingface.co/mesmertech/mesmer-ai-image-detector
1•mesmertech•38m ago•1 comments

Tell HN: Is there something wrong with you?

2•Eridanus2•39m ago•1 comments

Nvidia Remediation Orchestrator

https://github.com/dsx-ai-factory/remediation-orchestrator
1•rkoval•41m ago•0 comments