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!

Phone addiction is keeping you from achieving flow state [video]

https://www.youtube.com/watch?v=KHd-luu3M8s
1•felooboolooomba•4m ago•0 comments

Code is the hard part

https://bbuyukliev.blogspot.com/2026/08/code-is-hard-part.html
1•bluetomcat•4m ago•0 comments

Ask HN: Do you know how much head hunters cost?

1•mojomark•5m ago•0 comments

OSS WebUI Llms.py v4: Projects, Agent Profiles, PDF Studio, RAG

https://llmspy.org/docs/latest
1•mythz•5m ago•0 comments

Curl Performance Tests

https://curl.se/perf/
1•speckx•6m ago•0 comments

Show HN: Manager Blueprint

https://manager-blueprint.vercel.app
1•edimaudo•6m ago•0 comments

Coinbase eng lead on how they build with agents (video by Linear)

https://www.youtube.com/watch?v=bvwE9XpNXOI
1•ioanarebeca•6m ago•0 comments

Free of GitHub

https://carette.xyz/posts/free-of-github/
1•speckx•7m ago•0 comments

Will factory farming fix itself?

https://www.worksinprogress.news/p/will-factory-farming-fix-itself
1•devitoria•9m ago•0 comments

US courts will start publishing how often the government uses spyware

https://techcrunch.com/2026/08/14/us-courts-will-start-publishing-how-often-the-government-uses-s...
2•speckx•9m ago•0 comments

Failure to track a stable AMOC state under rapid climate change

https://www.nature.com/articles/s41558-026-02730-w
1•leonidasv•10m ago•0 comments

An Airport Sat Empty for $1.1M a Day

https://julienreszka.com/blog/an-airport-sat-empty-for-1-1-million-a-day/
1•julienreszka•10m ago•0 comments

I'm done coding with AI [video]

https://www.youtube.com/watch?v=2ZU3j4GQ4K8
1•franzb•10m ago•0 comments

Show HN: I built a website from 57,000+ US 401(k) plans from government filings

https://401kmonitor.com/
1•vincentjouanne•11m ago•0 comments

Minerals Companies Are Changing Their Names to Sound More American

https://www.wsj.com/business/minerals-companies-are-changing-their-names-to-sound-more-american-4...
1•impish9208•12m ago•1 comments

Evaluating how models perform using live traffic

https://labs.notion.com/knowledge-board
1•mschoening•13m ago•0 comments

The War Between Open Source, Open Weight, and Closed AI Models

https://www.nextplatform.com/ai/2026/08/13/the-war-between-open-source-open-weight-and-closed-ai-...
2•jonbaer•14m ago•0 comments

A thought leadership battle leads to a drive by [satire]

https://stuartdotson.substack.com/p/you-got-servedthought-leadership
1•sdotson•15m ago•0 comments

Shared Memories for Agent-Powered Communities

https://peterlebek.com/posts/shared-memories-for-agent-powered-communities.html
1•lebek•15m ago•0 comments

Dr. Becky: NASA's mind-blowing new space telescope [video]

https://www.youtube.com/watch?v=tecOr0Q9edM
1•ck2•16m ago•1 comments

CQ – a new q/qsql runtime for your cloud data lake

https://cqdb.io/
1•gohwell•17m ago•0 comments

If the Markets Reject OpenAI and Anthropic, the US Should Nationalize Them

https://www.schneier.com/blog/archives/2026/08/if-the-markets-reject-openai-and-anthropic-the-us-...
1•dtjb•17m ago•0 comments

Tabsdata – Pub/Sub for Tables to Replace ETL Pipelines

https://github.com/tabsdata/tabsdata
2•dockerd•17m ago•0 comments

Gpui-component: Rust GUI components for building cross-platform apps

https://longbridge.github.io/gpui-component/
2•klaussilveira•18m ago•0 comments

Indian solar mission's new findings throw light on enduring Sun mysteries

https://www.bbc.com/news/articles/c934wqpd74xo
1•berkeleyjunk•19m ago•0 comments

OctoMap an Efficient Probabilistic 3D Mapping Framework Based on Octrees

https://octomap.github.io/
1•Bluestein•20m ago•0 comments

Apple Trained Own AI Model for China Market with Help from Alibaba

https://www.macrumors.com/2026/08/14/apple-trained-own-ai-model-for-china/
3•tosh•21m ago•0 comments

Toddlers' Truce

https://en.wikipedia.org/wiki/Toddlers%27_Truce
3•oyster143•22m ago•1 comments

The three ways people build AI agent systems

https://mozaik.jigjoy.ai/blog/the-three-ways-people-build-ai-agent-systems
1•qikouki•22m ago•0 comments

Netflix to shut down two more game studios

https://www.gamefile.news/p/netflix-closes-night-school-moonloot
2•ilamont•22m ago•0 comments