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!

Ask HN: What Happened to dLLMs?

1•ray__•41s ago•0 comments

Show HN: Picchio caught Qwen3.8-27B spilling 28 layers into the CPU

https://github.com/logxio/picchio/releases/tag/v1.0.0
1•logickkk1•1m ago•0 comments

HQ Trivia but for Developers

https://app.rebase.tv/
1•ryanvogel•3m ago•0 comments

Run local agentic AI on the Mac using MLX [video]

https://developer.apple.com/videos/play/wwdc2026/232/
1•Austin_Conlon•4m ago•0 comments

Rune – I got tired of AI coding agents re-reading my codebase cold every session

https://github.com/thecolourfoundation/rune
1•malixp•4m ago•0 comments

Argentina Wants to Let AI Own Companies

https://www.forbes.com/sites/anishasircar/2026/06/10/ai-owned-companies-argentina/
3•andsoitis•5m ago•0 comments

We must not grant AI agents legal personhood

https://www.ft.com/content/b8cc4bf4-6d3c-4974-8428-9a091983c473
1•andsoitis•6m ago•0 comments

I replaced Calendly with agents. Here are the receipts

https://www.bulaev.net/p/i-replaced-calendly-with-agents-here
2•sbulaev•9m ago•1 comments

TMOG – task manager for macOS, Windows, and Linux

https://tmog.org/
1•gjvc•11m ago•0 comments

The Remote Work Challenge: Lessons from 5 Cities

https://www.pew.org/en/research-and-analysis/reports/2026/05/the-remote-work-challenge-lessons-fr...
2•softwaredoug•15m ago•0 comments

Yuval Harari: AIs will control civilisation and what it would mean to be human

https://www.economist.com/insider/the-insider/an-interview-with-yuval-noah-harari
1•andsoitis•15m ago•0 comments

Verifiable Domains Will Eat the World

https://twitter.com/jon_stokes/status/2091383885569405025
1•barry-cotter•16m ago•0 comments

Building an AI Agent for PCB Design

https://luvsheth.com/p/building-an-ai-agent-for-pcb-design
1•Reviving1514•18m ago•1 comments

Experimental compound helps burn fat without muscle loss

https://www.sciencedaily.com/releases/2026/08/260823014953.htm
1•toomuchtodo•19m ago•0 comments

DefCon 34 – Stalking the Wily Hacker: 40 years later [video]

https://www.youtube.com/watch?v=656058JxTM0
2•AJRF•23m ago•1 comments

FCC pulls HoverAir Versa certification three days after launch

https://www.tomshardware.com/tech-industry/drones/fcc-pulls-hoverair-versa-certification-three-da...
1•sbulaev•24m ago•0 comments

Erik Brynjolfsson says an AI "job apocalypse" is unlikely

https://wpintelligence.washingtonpost.com/topics/ai-tech/2026/08/19/wpi-conversation-why-an-ai-jo...
2•gumby•24m ago•0 comments

Basic iPhone Tricks I Built with iOS 27's Revamped Shortcuts App

https://www.wired.com/story/7-basic-iphone-tricks-i-built-with-ios-27s-revamped-shortcuts-app/
1•joozio•30m ago•0 comments

20 years after Pluto was made a dwarf planet, some still can't let go

https://www.nbcnews.com/science/space/pluto-dwarf-planet-20-years-rcna593156
2•croes•31m ago•1 comments

Only Apple Can Abolish the Job Application

https://loitery.substack.com/p/only-apple-can-abolish-the-job-application
3•mchannon•33m ago•2 comments

Isometric Plotter

https://notion-images.laravel.cloud/
1•lopespm•34m ago•0 comments

Show HN: Tiny uptime monitor (account-less, agent-native)

https://upok.dev
2•flomllr•35m ago•0 comments

A website for debloated open source alternatives

https://debloat.dev/
16•ryanvogel•37m ago•2 comments

Show HN: Anagnorisis – local recommendation engine (v0.4.10 update)

https://github.com/volotat/Anagnorisis
2•volotat•37m ago•0 comments

GenAI in the Wild

https://koenvangilst.nl/lab/genai-in-the-wild
1•vnglst•38m ago•0 comments

RSoC 2026: Eevdf for Redox

https://www.redox-os.org/news/rsoc-eevdf/
3•akshitgaur2005•41m ago•1 comments

I've tested some local LLMs on prosumer hardware, here are some findings

1•felineflock•42m ago•0 comments

An Introduction to Canvas in GNU Emacs

https://monadicsheep.org/blog/an-introduction-to-canvas-in-emacs.html
1•birdculture•45m ago•0 comments

Best Friendship Quiz

1•HPhammad123•47m ago•0 comments

Show HN: Mnemosyne Local hierarchical memory engine for AI agents (MCP Native)

https://github.com/M4F-S/mnemosyne
2•mfathy7•47m ago•0 comments