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

Vercel says some of its customers' data was stolen prior to its recent hack

https://techcrunch.com/2026/04/23/vercel-says-some-of-its-customers-data-was-stolen-prior-to-its-...
1•ejcx•41s ago•0 comments

Towards end-to-end automation of AI research

https://www.nature.com/articles/s41586-026-10265-5
1•hardmaru•1m ago•0 comments

The Flavor of the AI Interface

https://metedata.substack.com/p/009-the-flavor-of-the-ai-interface
1•young_mete•4m ago•0 comments

GitHub randomly reverting merged commits without notification

https://twitter.com/theotherelliott/status/2047467609486954623
1•cancan•7m ago•1 comments

Kaplay.js, HTML5 Game Library for JavaScript and TypeScript

https://kaplayjs.com
1•Tomte•7m ago•0 comments

Ask HN: Agentic Prompt Compaction Strategies

1•davidajackson•7m ago•0 comments

Norway Set to Become Latest Country to Ban Social Media for Under 16s

https://www.bloomberg.com/news/articles/2026-04-24/norway-wants-kids-to-be-kids-with-social-media...
2•1vuio0pswjnm7•7m ago•0 comments

In the AI Era, Shopify Is Investing in Junior Engineers–Not Cutting Them

https://coderpad.io/blog/hiring-developers/in-the-ai-era-shopify-is-investing-in-junior-engineers...
3•herbertl•8m ago•1 comments

What Will It Take to Get A.I. Out of Schools?

https://www.newyorker.com/culture/progress-report/what-will-it-take-to-get-ai-out-of-schools
2•healsdata•8m ago•0 comments

GitHub secure repo template (pinned SHAs and vulnerability scanning)

https://github.com/CaseyLabs/kc-secure-repo-template
1•lenova•8m ago•0 comments

The DevTool Verdict Ft Madhav Bhagat [video]

https://www.youtube.com/watch?v=VFFzC1GpC-o
1•mooreds•10m ago•0 comments

The Tribe Has to Outlive the Model

https://christophermeiklejohn.com/ai/zabriskie/agents/reliability/2026/04/23/the-tribe-has-to-out...
1•speckx•10m ago•0 comments

A few thoughts on «Using Obsidian with AI»

https://www.ssp.sh/brain/using-obsidian-with-ai/
1•sspaeti•10m ago•0 comments

A Breakthrough Heart Procedure Comes with Risky Tradeoffs

https://www.wsj.com/health/healthcare/heart-valve-tavr-surgery-aorta-1e0eda70
2•impish9208•10m ago•2 comments

Vibe-coding video games with Claude

https://gamevibe.us/11-breakout-ultra
2•pzxc•12m ago•1 comments

Agent is a distributed system (and fails like one)

https://maheshba.bitbucket.io/blog/2026/04/24/agentfailures.html
1•pramodbiligiri•12m ago•0 comments

Ask HN: What can I read to learn about ADHD?

1•eudamoniac•13m ago•0 comments

Amazon-Backed Hollywood Production Startup Deploys AI for Speed and Cost-Cutting [video]

https://www.youtube.com/watch?v=D5Ylmvn_D6g
2•mgh2•13m ago•0 comments

Future-proofing an enterprise agentic platform architecture

https://medium.com/quantumblack/creating-a-future-proof-enterprise-agentic-platform-architecture-...
2•stichers•17m ago•0 comments

Different Language Models Learn Similar Number Representations

https://arxiv.org/abs/2604.20817
7•Anon84•18m ago•0 comments

Sourcehut disrupted due to DDoS attack

https://status.sr.ht/issues/2026-04-22-ddos-attack/
1•bradley_taunt•18m ago•0 comments

Show HN: Browser Harness – simplest way to give AI control of real browser

https://github.com/browser-use/browser-harness
2•gregpr07•21m ago•0 comments

Graphical Emacs Browser

https://github.com/emacs-os/embr.el
3•qazxcvbnm•22m ago•1 comments

Scientists map how HIV hijacks human cells–and how cells can fight back

https://medicalxpress.com/news/2026-04-scientists-hiv-hijacks-human-cells.html
1•gmays•23m ago•0 comments

Sabotaging projects by overthinking, scope creep, and structural diffing

https://kevinlynagh.com/newsletter/2026_04_overthinking/
25•alcazar•24m ago•2 comments

Parfit – a codebase-aware comment reflow tool written in Rust

https://github.com/caldempsey/parfit
1•caldempsey•25m ago•1 comments

Food for Agile Thought #541: GPT-5.5, Product Managers&Trouble, Product on Speed

https://age-of-product.com/food-agile-thought-541-gpt-55/
1•swolpers•26m ago•0 comments

Why Meta is laying off 10% of its workforce

https://www.latimes.com/business/story/2026-04-23/why-meta-is-laying-off-10-of-its-workforce
4•1vuio0pswjnm7•28m ago•2 comments

Ask HN: How are you using AI code assistants on large messy legacy code bases?

2•thinkingtoilet•28m ago•1 comments

What is a passkey, how does it work and why is it better than a password?

https://www.theguardian.com/technology/2026/apr/24/what-is-a-passkey-how-does-it-work-and-why-is-...
1•charlieirish•29m ago•0 comments