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!

A Short History of the Glass Mirror

https://www.cabinetmagazine.org/issues/14/mcelheny.php
1•o4c•1m ago•0 comments

Gen Z are arriving to college unable to even read a sentence

https://fortune.com/2026/01/09/gen-z-college-students-struggling-to-read-professors-forced-to-ret...
1•LostMyLogin•2m ago•1 comments

First Ever Image of a Multi-Planet System Around a Sun-Like Star

https://www.eso.org/public/news/eso2011/
1•thunderbong•5m ago•0 comments

Standard.site: The Publishing Gateway

https://stevedylan.dev/posts/standard-site-the-publishing-gateway/
1•stevedsimkins•14m ago•0 comments

Pixwit.ai is an AI-powered video creation platform

https://pixwit.ai
1•maysunyoung•14m ago•1 comments

Ask HN: Has anyone built payment flows inside AI voice calls?

1•wasiyc•19m ago•0 comments

Show HN: Karmic Tail – A calculator for the Destiny Matrix numerology system

https://karmictail.com/
2•hugh1st•21m ago•0 comments

The Pain of Real Linear Types in Rust (2017)

https://faultlore.com/blah/linear-rust/
1•xpe•24m ago•1 comments

Show HN: Pointa – Point-and-click annotations for AI coding agents (open source)

https://www.pointa.dev/
1•jberthom•27m ago•0 comments

Letting Claude Play Text Adventures

https://borretti.me/article/letting-claude-play-text-adventures
1•zdw•27m ago•0 comments

Show HN: Dutix – set default apps for file types and URL schemes on macOS

https://github.com/jackchuka/dutix
1•jackchuka•29m ago•0 comments

Show HN: App Logo AI – Your generated application logo

https://applogoai.com/
1•goingmerryapps•33m ago•0 comments

Fed Served with DOJ Subpoenas, Powell Vows to Stand Firm

https://www.bloomberg.com/news/articles/2026-01-12/powell-says-justice-department-served-fed-with...
5•ZeroCool2u•33m ago•2 comments

Everybody's Got a Claim

https://ipcopilot.ai/2026/01/03/everybodys-got-a-claim/
1•lettergram•34m ago•0 comments

16 Best Practices for Reducing Dependabot Noise

https://nesbitt.io/2026/01/10/16-best-practices-for-reducing-dependabot-noise.html
2•zdw•35m ago•1 comments

DOJ has subpoenaed central bank, threatens criminal indictment

https://apnews.com/article/federal-reserve-trump-subpoena-bf4fc6c690fa248fbc531bc9bc7f1758
6•SilverElfin•39m ago•5 comments

Ask HN: Claude Code Degradation

2•lobito25•42m ago•0 comments

Duplicate tab notifications and auto closures

https://chromewebstore.google.com/detail/newtab/ajpgplnoabdfhpnlepboonoocpipmhkg
1•pinestack•46m ago•0 comments

Complete Guide to Agentic Commerce Standards

https://curateclick.com/blog/2026-universal-commerce-protocol
2•QingWu•47m ago•0 comments

Advancing Claude in healthcare and the life sciences

https://www.anthropic.com/news/healthcare-life-sciences
1•meetpateltech•49m ago•0 comments

California governor proposes $200M in new state EV tax rebates

https://www.reuters.com/world/california-governor-proposes-200-million-new-state-ev-tax-rebates-2...
3•MilnerRoute•50m ago•0 comments

Show HN: AI Cleaner:Phone Cleaner and Storage Analyzer App

https://ai-cleaner.net/
1•jumpdong•50m ago•0 comments

India proposes forcing smartphone makers to give source code

https://www.reuters.com/world/china/india-proposes-forcing-smartphone-makers-give-source-code-sec...
5•Brajeshwar•1h ago•0 comments

Show HN: Personal news curator running 24/7 on a Raspberry Pi 4 with local LLM

https://life-of-utkarsh.medium.com/pushing-the-limits-running-local-llms-and-a-24-7-personal-news...
2•ukrocks007•1h ago•0 comments

Show HN: Tiktokify Your Blog

https://github.com/NISH1001/tiktokify
2•igaurab•1h ago•0 comments

Universal Commerce Protocol: Open standard for agentic commerce interoperability

https://a2aprotocol.ai/blog/2026-universal-commerce-protocol
2•czmilo•1h ago•2 comments

Patela v2: From Certificates to Hardware

https://osservatorionessuno.org/blog/2025/12/patela-v2-from-certificates-to-hardware/
1•todsacerdoti•1h ago•0 comments

LLVM: The Bad Parts

https://www.npopov.com/2026/01/11/LLVM-The-bad-parts.html
2•zdw•1h ago•0 comments

Subformer: Multilingual video dubbing with speaker diarization and voice cloning

https://subformer.com/en-US
1•mashreghi•1h ago•1 comments

Show HN: `tc` like `wc` but for LLM tokens

https://github.com/jamierpond/tokencount
2•jamiepond•1h ago•0 comments