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!

macOS on PC becomes possible again thanks to Apple Silicon translator for x86-64

https://www.tomshardware.com/software/macos/macos-on-pc-becomes-possible-again-thanks-to-apple-si...
1•Brajeshwar•51s ago•0 comments

So you want to buy AI for your company

https://idiallo.com/byte-size/buying-ai-for-your-company
1•Brajeshwar•54s ago•0 comments

FAA expands AI advice to manage air traffic congestion across US airspace

https://arstechnica.com/ai/2026/11/faa-expands-ai-advice-to-manage-air-traffic-congestion-across-...
1•Brajeshwar•56s ago•0 comments

DeepL Aure

https://www.deepl.com/en/products/voice/aure
1•ff10•1m ago•0 comments

Eli Lilly CEO pushes back on Dario Amodei's ludicrous medical claims

https://garymarcus.substack.com/p/breaking-eli-lilly-ceo-becomes-latest
2•Noaidi•2m ago•0 comments

Politicians Must 'Call Bullshit' on AI Companies [video]

https://www.youtube.com/watch?v=xpwKob9bjko
1•DarkNova6•3m ago•0 comments

How Microsoft's Principal Software Engineering Manager Works and Uses AI

https://newsletter.eng-leadership.com/p/how-microsofts-principal-software
1•rbanffy•4m ago•0 comments

Research/Development Interviews Gordon Bell (1976)

https://computeradsfromthepast.substack.com/p/researchdevelopment-interviews-gordon
1•rbanffy•4m ago•0 comments

Before His Ouster, Jensen Huang Belittled the Executive Replacing Him

https://www.tovima.com/wsj/before-his-ouster-jensen-huang-belittled-the-executive-replacing-him/
1•Stevvo•4m ago•0 comments

What CS bodies are worth studying in the age of AI?

1•BigBlackGorilla•4m ago•0 comments

Make agent memory searchable – Jon Udell

https://blog.jonudell.net/2026/08/01/make-agent-memory-searchable/
1•rbanffy•4m ago•0 comments

A Deep Dive into Decision Models

https://jbarrow.ai/2026-10-23-deep-dive-into-decision-models/
1•jbarrow•5m ago•0 comments

Tell HN: Outlook Is Up

1•thorin•6m ago•0 comments

Set spending limits for Workers and Durable Objects

https://developers.cloudflare.com/changelog/post/2026-11-13-spend-management/
1•0o777•6m ago•0 comments

500 Lines or Less A 3D Modeller

https://aosabook.org/en/500L/a-3d-modeller.html
1•myth_drannon•6m ago•0 comments

Show HN: Latticework – Explore 83 investors' portfolios from SEC filings

https://latticework-x.com/
1•vadigepalli•7m ago•0 comments

The Downfall of Jensen Huang: Nvidia's Greed and Corruption [video]

https://www.youtube.com/watch?v=YYU_geUwQoA
2•belst•9m ago•0 comments

Show HN: Deccy – software engineering as decision management

https://edawise.com/deccy-framework/
1•nelaggy•10m ago•0 comments

What happens when you press Enter on ChatGPT [video]

https://www.youtube.com/watch?v=GWjA5eHIXXk
1•walidhadri•11m ago•0 comments

The Imperial Court: Why a Post-Midterm Mandate Must Include Judicial Reform

https://bluepressjournal.substack.com/p/the-imperial-court-why-a-post-midtermorm
2•WinstonWendell•12m ago•0 comments

Show HN: Jotship – Create small shareable software as easy as a Google Doc

https://jotship-7c2e3.web.app
2•paradise4all•12m ago•0 comments

Microsoft's uptime problem, solved (parody)

https://gomacrohard.ai/
3•notelon•15m ago•1 comments

Show HN: A free resume builder that runs in the browser (PDF and DOCX)

https://myuscareerpath.com/tools/resume-builder
2•uscareerpath•15m ago•0 comments

Show HN: Practice coding with AI on real tickets

https://algocademy.com/ai-coding-practice/
1•blasterz•18m ago•0 comments

Norway top court rules oil licences invalid in landmark ruling

https://www.afp.com/en/norway-top-court-rules-oil-licences-invalid-landmark-ruling
2•geox•18m ago•0 comments

Electric Vehicle Sales Data Tracker

https://ember-energy.org/data/ev-sales-tracker/
2•Symbiote•20m ago•0 comments

Now Nvidia loses on speed – Nvidia's own model 2.45x faster on Macs

https://nuketorch.ai/blog/#mac-vs-nvidia
2•klay_moon•20m ago•1 comments

Show HN: Webcrawl, an open-source web crawling API and MCP server for agents

https://github.com/brainfish-ai/webcrawl-anything
1•ajainvivek•20m ago•0 comments

GIFbit is a visualizer that reacts to music

https://github.com/PeterPorzuczek/gifbit
1•por314159•21m ago•1 comments

When Animals Were Put on Trial in Medieval Europe

https://www.openculture.com/2026/11/when-animals-were-put-on-trial-in-medieval-europe.html
2•Brajeshwar•21m ago•0 comments