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•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!

PoC: VPN over WebRTC to Bypass Whitelists

https://github.com/kulikov0/whitelist-bypass
1•kulikov0•52s ago•1 comments

Poor Sleep Tied to Alzheimer's Risk in Older Women

https://today.ucsd.edu/story/poor-sleep-tied-to-alzheimers-risk-in-older-women
1•gmays•1m ago•0 comments

What Is Happening to Publishing?

https://resobscura.substack.com/p/what-is-happening-to-publishing
1•benbreen•2m ago•0 comments

Small PR Rule Won't Survive AI

https://blog.quent.in/blog/2026/05/19/your-small-pr-rule-wont-survive-ai/
2•sylvainkalache•6m ago•0 comments

Zero: The Programming Language for Agents

https://github.com/vercel-labs/zero
1•afshinmeh•6m ago•0 comments

RISC-V and Floating-Point

https://fprox.substack.com/p/risc-v-and-floating-point
1•naves•7m ago•0 comments

Shhh, Don't Put Secrets in the Repo

https://andreasflakstad.no/posts/kimen/
2•andreasflakstad•7m ago•0 comments

CPU OP Cache Corruption

https://www.amd.com/en/resources/product-security/bulletin/amd-sb-7052.html
1•losfair•8m ago•0 comments

Ask HN: Is grpcurl home page compromised?

2•jicea•12m ago•0 comments

Plex's 200% Lifetime Pass price hike tries forcing users to another subscription

https://arstechnica.com/gadgets/2026/05/plexs-200-lifetime-pass-price-hike-tries-forcing-users-to...
3•ndr42•12m ago•1 comments

Show HN: Bevel – Guess the book from its opening passage

https://bevel.ink
2•knotalegend•13m ago•0 comments

Show HN: AgentKit SEO - a career context file that installs as agent skills

https://github.com/agentkit-seo/agentkit-seo
1•renatomignone•14m ago•1 comments

Show HN: YouTube MCP, give any AI agent access to YouTube

https://github.com/umbertotancorre/youtube-mcp
3•umbertotancorre•15m ago•0 comments

Biometric Surveillance in New York City

https://www.stopspying.org/biometric-map
2•raybb•16m ago•0 comments

Built DealSensematch in 2 months. No team. No funding. Just me

https://dealsensematch.com
2•Louiemarlow•17m ago•1 comments

Building the First AI-Native Hotel Booking Platform

https://hotels.cooveb.com/
1•sshinde•17m ago•0 comments

I am not a Software Engineer

https://huronbikes.mataroa.blog/blog/i-am-not-a-software-engineer/
2•l0b0•20m ago•0 comments

Understanding the Garbage Collector

https://ocaml.org/docs/garbage-collector
1•jkxyz•21m ago•0 comments

"Antarctica" – Fiction; the Yale Review

https://yalereview.org/article/jen-silverman-antarctica
2•everybodyknows•22m ago•0 comments

Show HN: DDS Vibe Academy – 31 free AI coding masterclasses, built by AI agents

1•robert_ddsbos•23m ago•0 comments

US transportation bill would add a $130 annual fee for EV drivers

https://arstechnica.com/cars/2026/05/bipartisan-bill-in-congress-includes-130-annual-ev-registrat...
8•logickkk1•25m ago•1 comments

Use Grok in OpenClaw

https://x.ai/news/grok-openclaw
2•surprisetalk•25m ago•1 comments

"How We Think" by John Dewey [pdf]

https://bef632.wordpress.com/wp-content/uploads/2015/09/dewey-how-we-think.pdf
2•baxtr•26m ago•0 comments

Tiny Basic feels like a dead albatross around my neck (1975)

https://archive.org/details/dr_dobbs_journal_vol_01
1•robin_reala•27m ago•0 comments

Most AI agent papers stack one LLM with a vector store, we flipped it

https://sbarron.com/writing/substrate-is-the-body
2•iampneuma•28m ago•1 comments

Solving the "Zork" Mystery

https://www.dpolakovic.space/blogs/zork-part2
1•dpola•29m ago•1 comments

LibrePCB 2.1 with cross-probing, net highlighting, UI themes and more

https://librepcb.org/blog/2026-05-19_release_2.1.0/
1•rnestler•29m ago•0 comments

Show HN: ECD++ 2026.3.10 Is Released

https://github.com/nbauma109/ecd/releases/tag/2026.3.10
1•nbauma109•31m ago•0 comments

Show HN: 5 Minute Frenzy – free multiplication practice game for kids

https://5minutefrenzy.com
2•carvil•31m ago•2 comments

'Obvious markers of AI': doubts raised over winner of short story prize

https://www.theguardian.com/books/2026/may/19/commonwealth-short-story-prize-winner-doubts-ai-art...
5•n1b0m•32m ago•1 comments