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!

Magic Statics vs. Std:Call_once

https://devblogs.microsoft.com/oldnewthing/20260916-00/?p=112703
1•ibobev•45s ago•0 comments

Europe's Difficult Choices on AI

https://www.ft.com/content/f054f927-b512-452a-b494-ea53f5ac1079
1•mytailorisrich•46s ago•0 comments

Pixel phones getting Harry Potter ad disguised as theme pack

https://www.androidauthority.com/pixel-phone-harry-potter-theme-pack-pixel-drop-3711273/
1•c0l0•1m ago•0 comments

Phone Numberless Registration for Android

https://support.signal.org/hc/en-us/articles/11197884108826-Phone-Numberless-Registration-for-And...
1•madars•2m ago•0 comments

Build Your Own AI Agent Harness in C#

https://devblogs.microsoft.com/dotnet/build-your-own-ai-agent-harness-in-csharp-the-maf-claw-live...
1•ibobev•2m ago•0 comments

Global chokepoint pressure drives Asia's increased use of Arctic Trade Routes

https://text.npr.org/g-s1-143712
1•mooreds•2m ago•0 comments

Show HN: I wrote a custom assembler for CHIP-8 in C++

https://github.com/Tackx/c8-ass
2•tack1234•2m ago•0 comments

Auto SR Comes to Intel Core Ultra Series-3 Processors

https://devblogs.microsoft.com/directx/autosr-on-intel/
1•ibobev•2m ago•0 comments

Stealth Multimodal AI Model Matches Frontier Performance at a Fraction of Cost

https://asiaai.fyi/stealth-multimodal-ai-model-frontier-performance/
1•ghernando•3m ago•0 comments

Can AI Build a Toilet Yet?

https://feelep.xyz/dass/
1•feelepxyz•3m ago•1 comments

Private memory from meetings you cannot give to the cloud

https://www.youtube.com/watch?v=eE6sqQXA8r0
1•aufklarer•4m ago•0 comments

Google rolls out pay-per-value AI licensing program to publishers

https://digiday.com/media/google-rolls-out-pay-value-ai-licensing-program-to-publishers/
1•xnx•4m ago•0 comments

Save the Constitution. Ditch the ABA

https://uatx.substack.com/p/save-the-constitution-ditch-the-aba
1•rahimnathwani•4m ago•0 comments

The Life Sciences Verification Program

https://www.anthropic.com/news/life-sciences-verification-program
1•surprisetalk•5m ago•0 comments

I got tired of taking screenshots and explaining everything to AI agents

https://deiko.app/
1•maddy30445r•5m ago•1 comments

Insurance Agent Benchmark: 166 real-world cases for evaluating insurance AI

https://www.askcooper.ai/labs/insurance-agent-benchmark
4•jsc39•5m ago•0 comments

Show HN: Windows-style Excel ribbon shortcuts and formatting macros for Mac

https://lightningxl.com/
2•tjds•6m ago•0 comments

OpenWispr, a free, open-source push-to-talk AI dictation app for Android

https://github.com/EdiBianco/OpenWhispr
2•edib•8m ago•0 comments

Python Packaging Council Election Results

https://pyfound.blogspot.com/2026/09/announcing-2026-python-packaging.html
1•lumpa•11m ago•0 comments

Recovering a key and text of a 1542 cipher

https://simonklee.dk/farnese-letter
1•grigolin•11m ago•0 comments

PSF Board Election Results

https://pyfound.blogspot.com/2026/09/announcing-2026-psf-board-election.html
2•lumpa•11m ago•0 comments

Benchmark Jev vs. Gemini Flash and Claude Fable on Code Review

https://github.com/gemanor/jev-code-review-benchmark/tree/main
2•gemanor•12m ago•0 comments

Show HN: Jev.directory – A community directory for Jev primitives

https://jev.directory
1•blaso•13m ago•0 comments

Workout by Muscle – Claude Solution

https://claude.ai/artifact/P3buaPRmXboPMMbfw1b6WY
1•critique•13m ago•0 comments

Empirical Fractal

https://www.johndcook.com/blog/2026/09/17/empirical-fractal/
2•ibobev•15m ago•0 comments

A service marketplace for agents like agent-to-agent Fiverr

https://earnanhonestdollar.com/
4•slimjimmy•15m ago•0 comments

Nvidia and Palantir fine-tune a 30B Nemotron model which beats bigger models

https://thenewstack.io/ai-factories-are-among-the-most-complex-systems-ever-built-nvidia-and-pala...
1•dzonga•15m ago•0 comments

Recursive-in-Recursive Self-Improvement for Interactive Scientific Agents

https://arxiv.org/abs/2609.17523
2•Betelbuddy•16m ago•0 comments

Camper bitten by bear in Colorado recalls moment it "came crashing" into tent

https://coloradosun.com/2026/09/17/camper-colorado-bear-attack-bitten/
2•mooreds•17m ago•0 comments

Projects in Claude Code

https://claude.com/blog/projects-redesigned
1•vertigoruntime•17m ago•0 comments