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

PaywallPro

https://www.paywallpro.app/
1•candyyao•2m ago•0 comments

Ed Gutenburg: The First Autonomous Investigative Reporter

https://alec.is/posts/worlds-first-fully-autonomous-investigative-reporter-ai-agent/
1•arm32•2m ago•0 comments

Show HN: Giggles – A batteries-included React framework for TUIs

https://github.com/zion-off/giggles
2•ajz317•4m ago•0 comments

Curl documentation bans the word 'very'

https://mastodon.social/@bagder/116161776616642292
2•keyboardJones•5m ago•0 comments

Building an Open-Source Verilog Simulator with AI: 580K Lines in 43 Days

https://normalcomputing.com/blog/building-an-open-source-verilog-simulator-with-ai-580k-lines-in-...
1•matt_d•5m ago•0 comments

Iran's Cryptic Shortwave Messages [video]

https://www.youtube.com/watch?v=ErmbTpxAM7Q
1•bane•6m ago•0 comments

Entry-level PC market to 'disappear' by 2028 – memory prices strain PC market

https://www.tomshardware.com/tech-industry/rising-memory-prices-pile-more-strain-on-consumer-pc-m...
3•ivewonyoung•9m ago•0 comments

How to Recover Your Stolen Crypto After a Scam–Guidance from Intelligence Wizard

1•Petersrobert•9m ago•0 comments

Show HN: Autonoma – Python secret fixer that refuses unsafe fixes

https://github.com/VihaanInnovations/autonoma
1•v_CodeSentinal•9m ago•0 comments

The Excommunicated Devs Making Games with AI

https://www.tyleo.com/blog/the-excommunicated-devs-making-games-with-ai
3•tyleo•14m ago•0 comments

Ask HN: What Online LLM / Chat do you use?

3•ddxv•18m ago•0 comments

CKAN – an open-source DMS (data management system)

https://ckan.org/
3•gjvc•22m ago•1 comments

My (Hypothetical) SRECon26 Keynote

https://charity.wtf/2026/03/03/my-hypothetical-srecon26-keynote-xpost/
2•donutshop•25m ago•0 comments

Prompt Vault – Save and organize your AI prompts ($9 Pro)

https://prompt-vault-sage.vercel.app
2•VyperandUltron•26m ago•0 comments

Show HN: An Auditable Decision Engine for AI Systems

https://maelstrom.ghostlogic.tech
2•adamscottthomas•28m ago•0 comments

How to Recover Your Stolen Crypto After a Scam–Guidance from Intelligence Wizard

2•Petersrobert•31m ago•0 comments

Do AI Agents Make Money in 2026? Or Is It Just Mac Minis and Vibes?

https://www.siliconsnark.com/do-ai-agents-actually-make-money-in-2026-or-is-it-just-mac-minis-and...
4•SaaSasaurus•31m ago•0 comments

Underground Salt Caverns Are Preserving Our History

https://eos.org/features/salt-of-the-earth-vast-underground-salt-caverns-are-preserving-our-histo...
2•sohkamyung•32m ago•0 comments

One-Stop Wan AI Video and Image Generator Platform

https://towan.net/
2•seagnson•33m ago•1 comments

Show HN: Ask Mob

https://mob.army/
2•cc-d•40m ago•0 comments

Show HN: A Kotlin Multiplatform app that works on watch, CLI, browser extension

https://arnav.tech/architecting-twofac-my-journey-into-kotlin-multiplatform-module-structure
2•championswimmer•40m ago•0 comments

NY bill would prohibit AI chatbots from giving legal advice

https://twitter.com/RobertFreundLaw/status/2028550955386704285
5•timr•43m ago•0 comments

Show HN: Generate random, valid US residential addresses for testing

https://meiguodz.com
3•roookiecookie•44m ago•0 comments

Unbound Video AI is the most unrestricted AI video tool I've tried in 2026

https://unbound.video
3•gabrieln•46m ago•1 comments

A timeline of cyber attacks:home users, contractors, and SMBs are now targets

3•EricAUS•48m ago•0 comments

Iran unleashes Shahed drones aimed at targets across Middle East

https://www.theguardian.com/world/2026/mar/02/iran-unleashes-hundreds-of-drones-aimed-at-targets-...
15•0in•49m ago•5 comments

Shutting down, open sourced private AI document server

https://github.com/queryhat/super-hat
4•chhetri978•51m ago•4 comments

Zuckerberg's internal emails rendered as Facebook Messenger

https://zuckmail.vercel.app/
37•not-chatgpt•53m ago•4 comments

Daily LNG freight rates jump over 40% amid Mideast strikes

https://www.reuters.com/business/energy/daily-lng-freight-rates-jump-over-40-amid-mideast-strikes...
6•geox•53m ago•0 comments

Solar Time vs. Standard Time heat map chart

https://blog.poormansmath.net/images/SolarTimeVsStandardTime.png
3•ivewonyoung•54m ago•0 comments