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

The Cost of PostgreSQL Arrays

https://boringsql.com/posts/good-bad-arrays/
1•radimm•5m ago•0 comments

Ask HN: What is your meaning of life?

1•bunnybomb2•7m ago•0 comments

Logos Theorem Prover: Auto Tactic

https://logicaffeine.com/studio?file=examples/math/auto-tactic.logos
1•tristenharr•7m ago•1 comments

AI is causing developers to abandon Stack Overflow

https://www.infoworld.com/article/4115691/ai-is-causing-developers-to-abandon-stack-overflow.html
1•01-_-•9m ago•1 comments

Startup failure: It's never about timing

https://www.doctormarket.fit/p/debunking-the-timing-myth
1•01-_-•10m ago•0 comments

Most Code Should Be IKEA

https://kibbler.dev/blog/coding-is-becoming-a-lost-art
1•kewun•12m ago•0 comments

Neo Is Starting to Learn on Its Own [video]

https://www.youtube.com/watch?v=lS_z60kjVEk
1•simonebrunozzi•14m ago•0 comments

Why Slop Matters

https://arxiv.org/abs/2601.06060
1•50kIters•15m ago•0 comments

Richard Feynman: Can Machines Think?

https://www.youtube.com/watch?v=ipRvjS7q1DI
1•quantummagic•16m ago•0 comments

The month long, 3000 mile roller derby of Chicago

https://www.rollerskatingmuseum.org/roller-derby
1•afunk•19m ago•0 comments

Jamie Oliver to call millions in SA by their names – using AI

https://www.news24.com/business/companies/jamie-oliver-to-call-millions-in-sa-by-their-names-usin...
1•liampulles•20m ago•0 comments

Personal Information Firehose

https://adamwiggins.com/posts/personal-information-firehose/
1•tobr•22m ago•0 comments

Backstory-Generator

https://www.genstory.app/backstory-generator
1•RyanMu•24m ago•0 comments

Show HN: Arcane – minimal AI chat TUI

https://github.com/bm611/arcane
1•broxdeez•24m ago•0 comments

I got tired of teleprompter apps requiring accounts, so I built a web app

https://eript.com/
1•biwanadev•28m ago•1 comments

Data Exfiltration via DNS Resolution

https://github.com/anthropic-experimental/sandbox-runtime/issues/88
1•m-hodges•29m ago•0 comments

I want AI to steal my work

https://www.tornikeo.com/i-want-ai-to-steal-my-work/
2•tornikeo•31m ago•0 comments

Apple Foundation Models will now be based on Gemini

https://blog.google/company-news/inside-google/company-announcements/joint-statement-google-apple/
2•devangs•31m ago•0 comments

Defense Secretary touts AI war strategy at SpaceX Starbase

https://www.statesman.com/business/article/pete-hegseth-texas-arsenal-of-freedom-spacex-21290846.php
3•MarsOrWars•31m ago•1 comments

Comitis Capital Takes over Threema

https://borncity.com/blog/2026/01/13/comitis-capital-uebernimmt-threema/
1•sschueller•35m ago•0 comments

Context7 Without Context Bloat

https://upstash.com/blog/new-context7
1•mirzap•36m ago•1 comments

Google Meet Only Loves Chrome: R/Firefox

https://old.reddit.com/r/firefox/comments/1mq3r07/google_meet_only_loves_chrome/
1•doener•37m ago•0 comments

How General Counsel Can Operationalise AIVO Inside Legal Workflows

https://zenodo.org/records/18228787
1•businessmate•39m ago•1 comments

User-Agent Switcher and Manager

https://addons.mozilla.org/en-US/firefox/addon/user-agent-string-switcher/
1•doener•40m ago•0 comments

Yesterday I stared at my Dopamine Detox dashboard: YouTube: 2h15M

https://dopaminedetox.uk
1•Ogbon•42m ago•0 comments

Venngage

https://venngage.com/
1•Jess-D•43m ago•1 comments

Pentagon Recruiting Elon Musk to Win a Nuclear War

https://scheerpost.com/2025/02/11/the-pentagon-is-recruiting-elon-musk-to-help-them-win-a-nuclear...
4•shuttlestock•46m ago•3 comments

Nailing Jell-O to the Wall, Again. Why China Will Struggle to Contain LLMs

https://senteguard.com/blog/#post-jjip31e6y1iTyGKpzso4
2•djwide•47m ago•1 comments

The Startup Making Human Embryos with AI-Assisted Robots

https://www.bloomberg.com/news/features/2026-01-09/conceivable-wants-embryo-making-robots-to-tran...
3•NewCzech•50m ago•0 comments

Revolutionizing Accreted Systems

https://gleasonalia.com/posts/001-revolutionizing-accreted-systems/
1•gpi•52m ago•0 comments