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!

Firefox 148 Launches with AI Kill Switch Feature and More Enhancements

https://serverhost.com/blog/firefox-148-launches-with-exciting-ai-kill-switch-feature-and-more-en...
2•shaunpud•4m ago•0 comments

Show HN: AgentBudget – Real-time dollar budgets for AI agents

https://github.com/sahiljagtap08/agentbudget
4•sahiljagtapyc•5m ago•0 comments

Are functions just syntactic sugar for inheritance?

https://arxiv.org/abs/2602.16291
1•yangbo•5m ago•0 comments

'An AlphaFold 4' - Scientists marvel at DeepMind drug spin-off's new AI

https://www.scientificamerican.com/article/an-alphafold-4-scientists-marvel-at-deepmind-drug-spin...
1•helloplanets•10m ago•0 comments

AI Isn't People

https://www.todayintabs.com/p/a-i-isn-t-people
1•HotGarbage•11m ago•0 comments

Who Wins When Everyone's Writing Code?

https://predictabledialogs.com/learn/openclaw/future-of-software
2•jaikant•26m ago•4 comments

Taiwan's PSMC Joins Intel, SoftBank's ZAM alternative to HBM AI Memory

https://www.trendforce.com/news/2026/02/23/news-psmc-joins-intel-softbanks-zam-initiative-to-manu...
1•walterbell•26m ago•0 comments

Show HN: Build Your Own CLI Coding Agent in Python

https://github.com/primaprashant/alduin
1•primaprashant•26m ago•1 comments

Rust Debugging Survey 2026

https://blog.rust-lang.org/2026/02/23/rust-debugging-survey-2026/
2•umairnadeem123•28m ago•0 comments

Machine-Generated, Machine-Checked Proofs for a Verified Compiler

https://arxiv.org/abs/2602.20082
1•umairnadeem123•29m ago•0 comments

Machine gun set up close to the University of Tehran

https://www.iranintl.com/en/202602234502
2•ukblewis•29m ago•0 comments

Show HN: Describe a workflow in plain English and builds the multi-agent system

https://www.phinite.ai/
2•PhiniteAI•31m ago•3 comments

Cassandra Complex

https://en.wikipedia.org/wiki/Cassandra_(metaphor)
2•sans_souse•32m ago•0 comments

How to Organize Safely in the Age of Surveillance

https://www.wired.com/story/how-to-organize-safely-in-the-age-of-surveillance/
2•jbegley•34m ago•0 comments

Colt – Describe a browser task in English, get a Playwright script

1•Vipul_Sharma_69•35m ago•0 comments

Anthropic misanthropic toward China's AI labs

https://www.theregister.com/2026/02/24/anthropic_misanthropic_chinese_ai_labs/
1•abdelhousni•37m ago•1 comments

Show HN: Memctl.com: Open-source shared memory infrastructure for coding agents

2•meszmate•42m ago•0 comments

The Looming Taiwan Chip Disaster That Silicon Valley Has Long Ignored

https://www.nytimes.com/2026/02/24/technology/taiwan-china-chips-silicon-valley-tsmc.html
6•blatherard•43m ago•3 comments

Workaholic open source developers need to take breaks

https://www.theregister.com/2026/02/23/open_source_devs_column/
2•abdelhousni•45m ago•0 comments

Show HN: enveil – hide your .env secrets from prAIng eyes

https://github.com/GreatScott/enveil
3•parkaboy•46m ago•1 comments

Huntarr – Your passwords and your ARR stack's API keys are exposed to anyone

https://old.reddit.com/r/selfhosted/comments/1rckopd/huntarr_your_passwords_and_your_entire_arr_s...
2•donutshop•47m ago•0 comments

Why I Hate Anthropic and You Should Too

https://danielmiessler.com/blog/why-you-should-hate-anthropic
4•curmudgeon22•52m ago•0 comments

Show HN: L88 – A Local RAG System on 8GB VRAM (Need Architecture Feedback)

2•adithyadrdo•54m ago•0 comments

Compiler Education Deserves a Revolution

https://thunderseethe.dev/posts/compiler-education-deserves-a-revoluation/
3•azhenley•56m ago•1 comments

Torvalds Drops Old Linux Kconfig Option to Address Tiresome Kernel Log Spam

https://www.phoronix.com/news/Torvalds-Unseeded-Random
2•voxadam•57m ago•0 comments

FDA approves swallowable weight-loss balloon as alternative to GLP-1 drugs

https://www.businesswire.com/news/home/20260223930098/en/Allurion-Receives-U.S.-FDA-Approval
4•sizzle•57m ago•0 comments

The Mind Illuminated [pdf]

https://ia803200.us.archive.org/view_archive.php?archive=/26/items/ebook-buddhism-2/EBOOK%20BUDDH...
2•andsoitis•58m ago•1 comments

From ASPLOS to Orbit: Unikernels Twelve Years Later

https://gazagnaire.org/blog/2026-02-23-asplos-unikernels.html
1•matt_d•58m ago•1 comments

DPDP and AIF Operations: Investor Data Compliance Guide 2026

https://taghash.io/blog/dpdp-and-aif-operations-investor-data-compliance-guide-2026/
1•koolhead17•1h ago•0 comments

Show HN: ClinTrialFinder –AI-powered clinical trial matching for cancer patients

https://www.clintrialfinder.info
2•chncwang•1h ago•0 comments