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

Secrets in unlisted GitHub gists are reported to secret scanning partners

https://github.blog/changelog/2025-11-25-secrets-in-unlisted-github-gists-are-now-reported-to-sec...
1•petercooper•23s ago•0 comments

Await Is Not a Context Switch: Understanding Python's Coroutines vs. Tasks

https://mergify.com/blog/await-is-not-a-context-switch-understanding-python-s-coroutines-vs-tasks
1•remyduthu•2m ago•0 comments

Devenv 1.11: Module changelogs and SecretSpec 0.4.0

https://devenv.sh/blog/2025/11/26/devenv-111-module-changelogs-and-secretspec-040/
1•domenkozar•2m ago•0 comments

Practical Intro to Operational Transformation

https://archive.casouri.cc/note/2025/practical-intro-ot/
1•casouri•5m ago•0 comments

Estimating AI productivity gains from Claude conversations

https://www.anthropic.com/research/estimating-productivity-gains
1•kerim-ca•18m ago•0 comments

Show HN: ConfluenceMeter Beta, live panel for crypto confluence

https://www.confluencemeter.com/mvp
1•Paugallego•20m ago•1 comments

Show HN: Root-dir: a command-line community for devs, builders and creators

https://www.root-dir.com
1•madsmadsdk•23m ago•0 comments

Formal Specification for Authorization: Clarity Before Implementation

https://blog.gchinis.com/posts/2025/11/formal-specification-for-authorization/
2•gchinis•24m ago•0 comments

Hamas attack victims sue Binance for allowing payments to militant group

https://www.reuters.com/legal/government/hamas-attack-victims-sue-binance-allegedly-allowing-paym...
2•barredo•25m ago•0 comments

Alphaproof paper (IMO 2024 Silver) is finally published in Nature [pdf]

https://www.nature.com/articles/s41586-025-09833-y_reference.pdf
2•zuzatm•26m ago•1 comments

Show HN: MenuPhotoAI – AI food photography that keeps dishes real

https://www.menuphotoai.com
1•redp314•27m ago•0 comments

Canva is considering porting Affinity to Linux

https://techcentral.co.za/affinity-for-linux-canvas-next-big-move-could-reshape-the-desktop-softw...
4•methuselah_in•29m ago•0 comments

Dutch public broadcaster NOS quits X over disinformation

https://www.reuters.com/business/media-telecom/dutch-public-broadcaster-nos-quits-x-over-disinfor...
6•giuliomagnifico•30m ago•1 comments

Skyscrapers engulfed in flames after fire spreads on bamboo scaffolding

https://metro.co.uk/2025/11/26/three-skyscrapers-engulfed-flames-fire-spreads-bamboo-scaffolding-...
1•perihelions•32m ago•0 comments

Coffee

https://chrispymm.co.uk/coffee
1•worez•37m ago•0 comments

Invisible Details of Interaction Design

https://rauno.me/craft/interaction-design
1•bfirsh•37m ago•0 comments

Learnings from 1 year of agents: PostHog AI

https://posthog.com/blog/8-learnings-from-1-year-of-agents-posthog-ai
1•czue•46m ago•0 comments

Show HN: An app that turns doomscrolling into learning

https://apps.apple.com/app/id6754678719
1•HamadAlmheiri•46m ago•0 comments

Show HN: NxtPitch – AI that instantly generates pitch proposals

https://nxtpitch.com
1•anmolkushwah19•49m ago•0 comments

Get us off Microsoft! Lawmakers press EU Parliament to change in-house IT

https://www.politico.eu/article/get-us-off-microsoft-eu-lawmakers-press-parliament-to-change-in-h...
3•robtherobber•52m ago•0 comments

Dell (Dell) Q3 2026 Earnings Call Transcript

https://www.theglobeandmail.com/investing/markets/stocks/DELL/pressreleases/36316186/dell-dell-q3...
1•doener•52m ago•1 comments

I don't care how well your "AI" works

https://fokus.cool/2025/11/25/i-dont-care-how-well-your-ai-works.html
6•todsacerdoti•54m ago•1 comments

Dynamic Skillset Reference Architecture

https://chatbotkit.com/examples/dynamic-skillset-reference-architecture
1•_pdp_•54m ago•1 comments

Cosmic Paradox Reveals the Awful Consequence of an Observer-Free Universe

https://www.quantamagazine.org/cosmic-paradox-reveals-the-awful-consequence-of-an-observer-free-u...
1•ibobev•55m ago•0 comments

A Cell So Minimal That It Challenges Definitions of Life

https://www.quantamagazine.org/a-cell-so-minimal-that-it-challenges-definitions-of-life-20251124/
2•ibobev•56m ago•0 comments

New York City's Next Super Storm

https://www.nytimes.com/video/nyregion/100000010524474/new-york-citys-next-super-storm.html
2•fleahunter•56m ago•0 comments

Particle Physicists Detect 'Magic' at the Large Hadron Collider

https://www.quantamagazine.org/particle-physicists-detect-magic-at-the-large-hadron-collider-2025...
1•ibobev•56m ago•0 comments

U.S. Nuclear Arms Chief Warns Against Leaks of Secret Information

https://www.nytimes.com/2025/11/26/science/brandon-williams-nuclear-weapons-nnsa.html
2•quapster•56m ago•0 comments

Underappreciated Books to Learn Object Oriented Design and UML?

2•shivajikobardan•1h ago•0 comments

Council reaches position on Chat Control

https://www.consilium.europa.eu/en/press/press-releases/2025/11/26/child-sexual-abuse-council-rea...
4•tonoto•1h ago•2 comments