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!

Can Kafka Queues Make Consumers Faster?

https://www.streamingdata.tech/p/can-kafka-queues-make-consumers-faster
1•sap1enz•31s ago•0 comments

Claude Architect Plugin

https://willhennessy.io/writing/introducing-architect.html
1•hennessywill•46s ago•1 comments

The One-Person Stack

https://www.ivan.codes/blog/the-one-person-stack
1•andout_•55s ago•0 comments

Ask HN: Claude Code usage changing (max 20x)

1•uptownhr•1m ago•0 comments

Supreme Court to Hear Arguments in Landmark Roundup Weedkiller Case

https://www.nytimes.com/2026/04/26/climate/supreme-court-bayer-monsanto-roundup-glyphosate.html
2•mikhael•4m ago•0 comments

Smart Files

https://theolincke.com/blog/10_smart_files_release
1•eatonphil•4m ago•0 comments

LLW 2026: opening legal conversations at the heart of Berlin

https://fsfe.org/news/2026/news-20260427-01.html
1•Tomte•5m ago•0 comments

AI Usage Analytics – Real-time budget enforcement and PII redaction for LLM

1•abdulmdev•5m ago•0 comments

Pure Business Capital Inc. Mark Shelton

https://purebusinesscapital.com/
1•purbiz•7m ago•1 comments

Fresh 2.3: Zero JavaScript by Default, View Transitions, and Temporal Support

https://deno.com/blog/fresh-2.3
1•ms7892•11m ago•0 comments

Clickup.com page source contains hardcoded Split.io API key – data leak

https://twitter.com/weezerOSINT/status/2048662702957134199
1•nazgulsenpai•11m ago•0 comments

iPhone Started with a Cold War Secret [video]

https://www.youtube.com/watch?v=tQRFnQWbrD4
1•gmays•12m ago•0 comments

Filtering YouTube Shorts from RSS Feeds

https://jarv.org/posts/newsgoat-filters/
2•Brajeshwar•12m ago•0 comments

Cost of PostgreSQL Performance Issues

https://stormatics.tech/blogs/cost-of-postgresql-performance-issues
4•ioololaa•13m ago•2 comments

ShadowStrike Phantom

1•Soocile•13m ago•1 comments

Apple is dropping AFP/TimeCapsule support in macOS 27

https://eclecticlight.co/2026/04/23/networking-changes-coming-in-macos-27/
8•pvtmert•13m ago•2 comments

Europe regulated itself into American vassalage

https://www.economist.com/europe/2026/04/22/how-europe-regulated-itself-into-american-vassalage
2•smnthermes•14m ago•1 comments

The Pentagon replicated a Ukrainian-style drone attack in Florida

https://www.defenseone.com/threats/2026/04/pentagon-ukraine-counter-drone/413087/
1•mikhael•14m ago•0 comments

Copilot silently inserts itself as a co-author in VS Code

https://github.com/orgs/community/discussions/194075
3•frabcus•14m ago•1 comments

How we use Claude Code to modernize a .NET Framework 4.8 monolith

https://tech.shipstation.com/posts/2026-03-26-ai-modernization/
1•semarj-auctane•15m ago•1 comments

Building Our Custom Wedding Website

https://adamfendley.com/2026/04/06/building-our-wedding-website.html
1•shortcrct•16m ago•0 comments

What Leopold's $5.5B portfolio reveals about powering the AI boom

https://theloadgrowth.substack.com/p/what-leopolds-55b-portfolio-reveals
3•agordhandas•17m ago•1 comments

The Woes of Sanitizing SVGs

https://muffin.ink/blog/scratch-svg-sanitization/
9•varun_ch•18m ago•1 comments

Show HN: Git-agecrypt – transparent file-level encryption for Git

https://github.com/bartei/git-agecrypt
2•bartei81•18m ago•0 comments

GPT 5.5 vs. Opus 4.7: Benchmarks Say One Thing, Reality Says Another

https://internetdecode.com/gpt-5-5-vs-opus-4-7-performance-comparison/
1•Utubepublisher•19m ago•0 comments

US Supreme Court Reviews Police Use of Cell Location Data to Find Criminals

https://www.nytimes.com/2026/04/27/us/politics/supreme-court-cell-data-geofence.html
4•unethical_ban•19m ago•0 comments

Hurl 8.0.0: run and test HTTP API with plain text

https://hurl.dev/blog/2026/04/27/announcing-hurl-8.0.0.html
2•jicea•20m ago•0 comments

Little-coder: A coding agent optimized to smaller LLMs

https://github.com/itayinbarr/little-coder
1•ThouYS•20m ago•0 comments

The First Background Agents Virtual Summit

https://background-agents.com/summit
1•sidk24•21m ago•0 comments

Show HN: I built a crypto signals platform with full 2-year transparent backtest

https://retired.today/
2•attendos•22m ago•1 comments