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!

Fridge with a Tiny Funnel Site

https://tailscale.com/blog/funnel-fridge
1•ChicknNuggt•1m ago•0 comments

The King and the Swarm

https://firstthings.com/the-king-and-the-swarm/
1•cratermoon•1m ago•0 comments

OpenAI Codex tool linked to malicious NPM supply chain attack

https://www.techradar.com/pro/security/openai-codex-tool-with-over-29-000-downloads-linked-to-mal...
1•ChicknNuggt•3m ago•0 comments

HttpBin Service

https://github.com/conductor-oss/httpbin
1•opiniateddev•5m ago•0 comments

Show HN: AI Gauge, a desktop monitor for Claude/Codex/Copilot usage limits

https://github.com/jpajak/ai-gauge
1•jpajak•7m ago•0 comments

Darknet Market Maximalism

https://antimoonboy.com/darknetmarketmaximalism/
2•Cider9986•13m ago•0 comments

Algebra of Contexts

https://github.com/neurons-me/.me
2•suiGn•18m ago•0 comments

Father of VR: The best AI future nobody is talking about – Jaron Lanier [video]

https://www.youtube.com/watch?v=v8f73ueeSTw
2•tartoran•20m ago•0 comments

Grok Becomes the Voice of Vapi

https://x.ai/news/grok-vapi
2•azeitona•23m ago•0 comments

The ancient diseases that plagued the dinosaurs

https://www.bbc.com/future/article/20230214-could-dinosaurs-get-cancer
2•thunderbong•24m ago•0 comments

When IPOs go wrong: SpaceX, AI firms face a delicate process

https://www.reuters.com/legal/transactional/when-ipos-go-wrong-spacex-ai-firms-face-delicate-proc...
2•1vuio0pswjnm7•25m ago•0 comments

Standardization and price adjustment of our server products effective 15 June

https://docs.hetzner.com/general/infrastructure-and-availability/faq-standardization-and-price-ad...
3•Topology1•25m ago•0 comments

AI Conversations Are Not Yours. Yet

https://medium.com/@vektormemory/your-ai-conversations-are-not-yours-yet-cd1b7925e9cf
2•vektormemory•30m ago•0 comments

AI has a water problem; Google thinks it has a fix

https://www.theverge.com/policy/942296/google-water-commitments-data-centers
2•1vuio0pswjnm7•30m ago•2 comments

Show HN: A rich, HTML-native document canvas for human <> AI collaboration

https://app.productnow.ai/app/home
2•kadhirvelm•30m ago•0 comments

MSI PRO B850-P coreboot port: GFX init, Promontory21, and ACPI improvements

https://blog.3mdeb.com/2026/2026-06-03-msi_pro_b850p_part5/
2•2bluesc•31m ago•0 comments

How about new Java based phone apps?

https://inavoyage.blogspot.com/2026/06/how-about-new-java-based-phone-apps.html
2•initramfs•33m ago•0 comments

Rooting Home Assistant through MeshCore: XSS attacks with a LoRa node name

https://mxsasha.eu/posts/meshcore-xss-home-assistant/
3•WhyNotHugo•37m ago•0 comments

A Famous Math Problem Stumped Humans for 80 Years. AI Just Cracked It

https://www.wsj.com/tech/ai/ai-math-solves-erdos-problem-openai-c4029e84
2•gmays•40m ago•1 comments

Show HN: LiveComment – "Who Is Hiring?" Plugin

https://github.com/d08ble/livecomment
3•ellis0n•41m ago•0 comments

Ian Mackintosh

https://en.wikipedia.org/wiki/Ian_Mackintosh
2•petethomas•42m ago•0 comments

Show HN: CPU-only fact-check, summarize, explain, translate any text

https://github.com/kouhxp/fftext
2•mrkn1•44m ago•0 comments

Konversio: Open-source agentic customer support for digital sovereignty

https://www.konversio.org/
3•rcoenen•44m ago•0 comments

A2 Is Released

https://www.neuralampmodeler.com/post/a2-is-released
2•vcxy•46m ago•0 comments

'Close to the Terminator narrative': the dawn of self-improving AI

https://www.ft.com/content/7cc7800f-18ed-47d8-9539-221ae3e16182
2•petethomas•53m ago•0 comments

Show HN: Browser-based, Blender-like hard-surface modeling

https://roughform.com/
2•benhmoore•53m ago•0 comments

Steve Ballmer blasts Aspiration co-founder's bid for leniency in sentencing

https://www.latimes.com/sports/story/2026-04-23/steve-ballmer-delivers-rebuke-to-aspiration-exec-...
2•1vuio0pswjnm7•55m ago•0 comments

Microsoft Scout

https://learn.microsoft.com/en-us/microsoft-scout/
2•doppp•1h ago•1 comments

Show HN: an AI app that settles small couple arguments

https://thepiece.app/en
4•Byalpel•1h ago•0 comments

Teaching AI agents to ask better questions by playing "Battleship"

https://news.mit.edu/2026/teaching-ai-agents-ask-better-questions-playing-battleship-0603
2•droidjj•1h ago•1 comments