frontpage.
newsnewestaskshowjobs

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!

You can now play doom directly from Proton Drive

https://drive.proton.me/urls/ES5MR2XFYW#3vheWMKe4eAv
1•ghostoftiber•1m ago•0 comments

Why AI's Biggest Rivals Are Suddenly Calling for Restraint

https://www.cfr.org/articles/why-ais-biggest-rivals-are-suddenly-calling-for-restraint
1•DeepLogin•2m ago•0 comments

AI Doomsaying Is an Aggressive Sales Pitch

https://jacobin.com/2026/09/openai-anthropic-human-extinction-criti-hype
1•PaulHoule•2m ago•0 comments

PriFi and the Incomplete Institution: Securing the Transaction Supply Chain

https://blog.logos.co/article/pri-fi-securing-transaction-supply-chain
1•michaelsbradley•3m ago•0 comments

I rated every track on 445 albums using public data, then built a game on it

https://debutle.com/
1•diestro•5m ago•0 comments

A Top Law Firm Went from Standing Up to Trump to Bending the Knee

https://www.nytimes.com/2026/08/02/us/politics/paul-weiss-trump.html
1•saeranv•7m ago•0 comments

Cortex: An open-source L1 memory and state layer for autonomous AI agents

https://github.com/cortex-protocol/cortex-protocol
1•BysertK•7m ago•0 comments

How good are frontier models at physics?

https://arxiv.org/abs/2609.13009
6•qt31415926•8m ago•1 comments

Vortex: One Format for Any Shape

https://spiraldb.com/blog/vortex-one-format-for-any-shape
4•ConnorTsui20•8m ago•1 comments

Neurogrid Terminal Coding Agent

https://github.com/NeuroGrid-AI-exchange/neurogrid-tui
2•cheyodev•13m ago•0 comments

Show HN: Padwan-LLM, a lightweight LLM Python client

https://github.com/polarsen-io/padwan-llm
1•Orelus•15m ago•0 comments

Show HN: Trail, a New Logic Game

https://trail.franzai.com/
2•franze•15m ago•0 comments

Who Governs the Information State?

https://siliconprairies.substack.com/p/who-governs-the-information-state
2•JBruggeman•15m ago•0 comments

Memory in Grok Build

https://x.ai/news/grok-build-memory
2•vertigoruntime•15m ago•0 comments

Vector Search in open-source MySQL

https://villagesql.com/blog/vector-search-hnsw/
1•deesix•16m ago•1 comments

'We will rule in Canada': Letter from Bishnoi gang to police disclosed

https://www.cbc.ca/lite/story/9.7341131
3•colinprince•17m ago•0 comments

Fed Raises Rates for First Time in Three Years

https://www.wsj.com/economy/central-banking/fed-raises-rates-for-first-time-in-three-years-08539fbe
2•kaycebasques•17m ago•0 comments

Data Broker Radaris Loses Domains in Privacy Fight

https://krebsonsecurity.com/2026/09/data-broker-radaris-loses-domains-in-privacy-fight/
3•arnaudsm•18m ago•0 comments

Scientists Fuse Human Neurons into the Brains of Mice

https://www.nytimes.com/2026/09/16/science/human-mouse-brains-organoids.html
2•bookofjoe•18m ago•1 comments

Redact PDFs in the browser, with the file never leaving the device

https://hddn.app/
2•zilijonas•19m ago•0 comments

MillionGlucose: I built a Million Dollar Homepage for diabetes

https://millionglucose.com
1•bibinmohan•20m ago•1 comments

Forget the AI Apocalypse – The Real Threats Are Already Here

https://www.wsj.com/tech/ai/ai-apocalypse-dangers-already-here-f3cd57de
2•thm•20m ago•0 comments

Federal Reserve issues FOMC statement

https://www.federalreserve.gov/newsevents/pressreleases/monetary20260916a.htm
3•layer8•21m ago•1 comments

Webster's Revised Unabridged Dictionary of 1913

https://websters1913.timcieplowski.com/
1•gone35•21m ago•0 comments

Indian police to query Google over 500k fake Gmail IDs linked to bomb hoax

https://www.reuters.com/world/indian-police-query-google-over-500000-fake-gmail-ids-linked-bomb-h...
3•thisislife2•21m ago•0 comments

Show HN: In-Browser Sanskrit ASR Model

https://huggingface.co/gnumanth/sushrota-sanskrit-asr-onnx
2•init0•22m ago•0 comments

52 Factorial

https://czep.net/weblog/52cards.html
3•thunderbong•23m ago•0 comments

Barndoor acquires Diaphora, creators of open-source workflow runtime Frags

https://barndoor.ai/barndoor-acquires-diaphora/
2•mansilladev•24m ago•0 comments

Cyclomatic Complexity in C#

https://blog.ndepend.com/understanding-cyclomatic-complexity/
1•gone35•26m ago•0 comments

Children are taught distorted sounds of letters

3•LuqmanMichel•26m ago•1 comments