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

Firefox's cute and fierce new mascot wants to protect you from the internet

https://www.fastcompany.com/91509645/firefoxs-new-mascot-wants-to-protect-you-from-the-internet
1•stalfosknight•43s ago•0 comments

Self Hosted Website Analytics with SQLite

https://github.com/kaichaosun/swa
1•kaichao•3m ago•0 comments

Show HN: Sonder – self-hosted AI social simulation engine

https://github.com/RedsonNgwira/sonder
1•RedsonNgwira•4m ago•0 comments

Show HN: Talewright is a Given-When-Then syntax testing library for Playwright

https://www.npmjs.com/package/talewright
1•orizens•5m ago•0 comments

I analyzed 10 major OSS repos for development drift – every one had issues"

1•codequal•6m ago•0 comments

Giving AI agents an API for the "shadow org chart"

https://behaviorgraph.com/blog/posts/the-layer-every-enterprise-ai-platform-is-missing.html
2•yumiatlead•6m ago•1 comments

Hands-On Prescriptive Analytics

https://www.oreilly.com/library/view/hands-on-prescriptive-analytics/9781098153168/
1•teleforce•7m ago•0 comments

Show HN: My 11-year-old built a pixel shop game using OpenClaw in 2 days

https://shopst4r.com
1•jeyzolo•7m ago•0 comments

How Much Memory Do You Need to Run 1M Concurrent Tasks? (2023)

https://pkolaczk.github.io/memory-consumption-of-async/
2•eatonphil•9m ago•0 comments

Peter Thiel Fears the Antichrist Is Coming

https://www.nytimes.com/2026/03/17/world/europe/peter-thiel-rome-antichrist-catholics.html
1•anjel•9m ago•1 comments

Stressed about getting that first coding job in the era of AI?

https://docs.priset.ai/blog/junior-dev-is-dead-student-founder/
1•tk5•10m ago•1 comments

Amazon Dies: A Possible, Maybe Likely Future

https://markatwood.substack.com/p/how-amazon-dies-a-possible-maybe
2•skmurphy•11m ago•0 comments

Pakistan Airstrikes on Kabul Hit Drug Rehab Clinic, Killing Civilians

https://www.wsj.com/world/middle-east/pakistan-airstrikes-on-kabul-hit-drug-rehab-clinic-killing-...
1•nailer•13m ago•0 comments

Are AI courses mostly a waste of time?

1•lock-locku•16m ago•1 comments

EVs Avoided the Use of 2.3M Barrels of Oil per Day in 2025

https://www.bloomberg.com/news/articles/2026-03-18/electric-vehicles-avoided-use-of-2-3-million-b...
1•toomuchtodo•17m ago•0 comments

Team simulates a living cell that grows and divides

https://news.illinois.edu/team-simulates-a-living-cell-that-grows-and-divides/
1•geox•21m ago•0 comments

The internet has no attribution layer for viral content

1•Proofmeme•25m ago•0 comments

Astronomers discover long-period radio transient of unknown origin

https://phys.org/news/2026-03-astronomers-period-radio-transient-unknown.html
1•wglb•28m ago•1 comments

As of today, Brazil requires identity verification to use social media

https://twitter.com/ProtonVPN/status/2033990861843726682
3•absqueued•31m ago•0 comments

Show HN: ToolGuard – Pytest for AI agent tool calls

1•Heer_J•34m ago•1 comments

5-Minute Agent Setup with Microsoft AI Toolkit (VS Code, March 2026 Update)

https://insider.dforge.ca/issues/2026-03-16/#steal-this
1•mcdoolz•34m ago•0 comments

Show HN: Lytok v3.0.1 – A high-density data protocol (JSON alternative)

https://github.com/lytok/lytok-js
2•joguel96•35m ago•0 comments

Microplastics Discovered in Prostate Tumors

https://medicalxpress.com/news/2026-02-microplastics-prostate-tumors.html
1•PaulHoule•36m ago•0 comments

Show HN: Xecai, a minimal Python interface for LLM providers for RAG systems

https://github.com/AdrianVispalia/xecai
1•adrianvi•37m ago•0 comments

Boeing 929 Jetfoil

https://en.wikipedia.org/wiki/Boeing_929_Jetfoil
2•WorldPeas•37m ago•0 comments

Toward autonomous self-organizing biological robots with a nervous system

https://wyss.harvard.edu/news/toward-autonomous-self-organizing-biological-robots-with-a-nervous-...
2•KenRuf•39m ago•0 comments

What's your biggest challenge as a founder?

1•bysyd•40m ago•3 comments

The LCA problem revisited [pdf]

https://www3.cs.stonybrook.edu/~bender/talks/BenderFa00-lca-talk.pdf
1•remywang•40m ago•1 comments

"Kai su, teknon" Caesar last words were probably a curse, not a farewell (2018)

https://www.lrb.co.uk/the-paper/v40/n23/thomas-jones/see-you-in-hell-punk
2•kwikiel•43m ago•0 comments

Ex-Uber self-driving chief crashes his Tesla on FSD, exposes supervision snafu

https://electrek.co/2026/03/17/former-uber-self-driving-chief-tesla-fsd-crash-supervision-problem/
1•aanet•43m ago•1 comments