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!

Dev Log #0: A look inside GSV

https://gsv.space/blog/dev-log-0/
1•deathbyknowledg•15s ago•0 comments

Show HN: Health.md, an Apple Health exporter for files and self-hosted APIs

https://github.com/CodyBontecou/health-md
1•codybontecou•27s ago•0 comments

Egyptian Afterlife Walkthrough

https://zhenyi.gibber.blog/egyptian-afterlife-walkthrough
1•zhenyi•32s ago•0 comments

Human intelligence may lie in the power of a single brain cell

https://medicalxpress.com/news/2026-07-secret-human-intelligence-power-brain.html
1•gmays•1m ago•0 comments

The Chip Is a $15,000 25-MPH EV That Makes Driving Optional

https://insideevs.com/news/801772/chip-motors-ev-remote-driving-2026/
1•atlasunshrugged•2m ago•0 comments

Open-source multi-gateway payments in ~10 lines of code

https://github.com/paycan-app/paycan
1•mehraban•4m ago•0 comments

Join DreamGPT

https://joindreamgpt.com/
1•kinduff•5m ago•0 comments

Three governments agree on something the AI industry doesn't want to hear

https://www.theattachmenteconomy.com/p/three-governments-agree-on-something
1•mikelgan•5m ago•1 comments

LHIC – A local-first browser agent with 30ms latency and $0 LLM cost

https://github.com/chengmatt416/LHIC
1•pinyencheng•6m ago•0 comments

Microsoft Copilot OS revealed in LEAKED video

https://www.windowscentral.com/microsoft/windows-11/microsoft-copilot-os-revealed-in-leaked-video...
2•delduca•7m ago•0 comments

Show HN: AI Workflow Builder App Template for React

https://www.jointjs.com/demos/ai-workflow-builder
1•durman•8m ago•1 comments

Returning Zork

https://ruk.ca/content/returning-zork
1•speckx•9m ago•0 comments

ReactBench v1

https://www.reactbench.com/blog
1•aarvin_roshin•11m ago•0 comments

FinDom

https://obeyfindom.com/
1•LeoPanthera•11m ago•0 comments

I Left Google DeepMind

https://turntrout.com/why-i-left-google-deepmind
2•apsec112•11m ago•0 comments

You Might Be a Consulting Company with Good Tools

https://ben3d.ca/blog/consulting-company-with-good-tools
1•bhouston•11m ago•0 comments

(2013) You Won't Finish This Article

https://slate.com/technology/2013/06/how-people-read-online-why-you-wont-finish-this-article.html
1•bear_with_me•16m ago•1 comments

More people around the world now favour China over the US, Pew study suggests

https://www.bbc.com/news/articles/cd959q11g54o
2•hackernj•16m ago•1 comments

Archer Announces Zee, AI Foundation Model Purpose-Built for Aviation

https://www.investors.archer.com/news/news-details/2026/Archer-Announces-Zee-AI-Foundation-Model-...
1•vlovich123•18m ago•0 comments

I'm early in my career and built an honest job-search agent for senior engineers

https://www.reclaim.careers/
1•Adoomah•20m ago•1 comments

Nick Shirley Delivers his Testimony at the Senate Committee Hearing – 7/15/26 [video]

https://www.youtube.com/watch?v=0ZyuhayRQ10
1•Bender•21m ago•0 comments

Ask HN: Are AWS Certs worth getting for experienced Devs?

3•Gold-Ask-lx•21m ago•0 comments

Mixture of agents is obsolete, Meet MOD

https://twitter.com/KevRojo/status/2077452829128523951
1•devdulus•21m ago•0 comments

Show HN: Pgmig: Generate migrations between Postgres databases

https://github.com/Apakottur/pgmig
1•McAvey•22m ago•0 comments

Algo Framework Stress Tester

https://github.com/samar-gulati/Algorithm-tester
1•algoexperiment•22m ago•0 comments

Mass. startups raised nearly $5B last quarter, regaining lead over Texas

https://www.bostonglobe.com/2026/07/09/business/vc-funding-massachusetts-texas/
1•SaaSasaurus•22m ago•0 comments

Ask HN: Are the heaviest AI users of your team blowing past everyone else?

4•ex-aws-dude•26m ago•2 comments

India to allocate $20B to semiconductor and smartphone manufacturing

https://techcrunch.com/2026/07/15/india-bets-billions-on-breaking-chinas-grip-on-smartphone-manuf...
1•alephnerd•26m ago•2 comments

3D-printed bridge points the way to greener construction

https://news.mit.edu/2026/3d-printed-bridge-points-to-greener-construction-0715
1•gnabgib•26m ago•0 comments

Funding Signals – an API that finds companies the moment they raise money

https://funding-signals-api.onrender.com/
1•labombas•26m ago•0 comments