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

Peter Vogel's personal Fairlight picture gallery

https://www.anerd.com/fairlight/gallery.htm
1•Ringz•29s ago•0 comments

A Primer on LLM Post-Training

https://pytorch.org/blog/a-primer-on-llm-post-training/
1•hyperpape•46s ago•0 comments

Peter Vogel's Limestone House

https://www.anerd.com/pv/house.htm
1•Ringz•1m ago•0 comments

Pacquet: Pnpm (JavaScript package manager) rewrite in Rust

https://github.com/pnpm/pacquet
1•maxloh•1m ago•0 comments

Show HN: MindCheck – Analyze your AI coding logs for over-delegation

https://github.com/PatrickSqx/MindCheck
1•Grp1•1m ago•0 comments

The Silent Frequency That Makes Old Buildings Feel Haunted

https://scienceblog.com/the-silent-frequency-that-makes-old-buildings-feel-haunted/
1•jnord•1m ago•0 comments

KDEConnect

https://userbase.kde.org/KDEConnect
1•Rygian•2m ago•0 comments

The Gate Test: Why Human-in-the-Loop Fails and How to Fix It

https://jitera.com/blog/agentic-gate/
2•everlier•2m ago•0 comments

Self-hosted red team workspace

https://github.com/Buthis404/RootNotes
1•hulupupu•2m ago•0 comments

So I'm making a 1000 player space game

https://mas-bandwidth.com/so-im-making-a-space-game/
1•gafferongames•3m ago•0 comments

Notion PDF Studio – Export Notion Pages as Professional PDFs

https://notion-pdf-studio.dynadia.com/
1•mathiasv•6m ago•0 comments

Man-in-the-Service: OpSec Safe Relay Techniques

https://turtlesec.io/talks/man-in-the-service-opsec-safe-relay-techniques
1•mastersplinter•6m ago•1 comments

The Authority Gap: Your SEO Top Spot Doesn't Earn AI Citations

https://keryxsolutions.substack.com/p/the-authority-gap-your-seo-top-spot
1•kdb1008•6m ago•0 comments

Check any website against the W3C Web Sustainability Guidelines

https://wsg-check.netlify.app/
1•speckx•8m ago•0 comments

Why Your AI Agents Keep Breaking Your Workflows

https://keryxsolutions.substack.com/p/why-your-ai-agents-keep-breaking
2•kdb1008•8m ago•0 comments

Show HN: Bareforge – A UI builder exporting stateful JavaScript/CLJS projects

https://github.com/avanelsas/bareforge
1•vanelsas•9m ago•1 comments

The Pious Little Delete Button

https://gpt.gekko.de/the-pious-little-delete-button/
1•ekadagami•9m ago•0 comments

Day Time Astronomy

https://navnirmitilearning.org/day-time-astronomy/
1•the-mitr•10m ago•0 comments

Why Is Piracy So Common in China? Confucian Cultural Traditions or Just Money?

https://hughstephensblog.net/2020/06/15/why-is-piracy-so-common-in-china-confucian-cultural-tradi...
1•keepamovin•10m ago•1 comments

ContainerLab v0.75

https://containerlab.dev/rn/0.75/
1•evilmonkey19•11m ago•1 comments

Do Agents Need Quickstart Guides?

https://techstackups.com/guides/agents-still-need-docs/
1•ritzaco•11m ago•0 comments

Show HN: Open-source GPU cost analysis tool

https://github.com/gpuaudit/cli
1•maksimov•12m ago•0 comments

A HAL by any other name is still a HAL

https://www.zarl.dev/posts/hal-by-any-other-name
1•xngbuilds•13m ago•0 comments

Effective Context Engineering for AI Agents: A Developer's Guide

https://machinelearningmastery.com/effective-context-engineering-for-ai-agents-a-developers-guide/
1•eigenBasis•14m ago•0 comments

A maintenance agent: 412 fixed, 14 refused. The 14 are the point

https://adriacidre.com/blog/maintenance-agent-14-refusals/
1•kumulo•15m ago•0 comments

Xiaomi releases MiMo-v2.5 Family weights with strong coding and agent benchmarks

https://firethering.com/mimo-v2-5-pro-xiaomi-coding-model/
1•steveharing1•15m ago•0 comments

Show HN: Trunks – Git repos backed by your own storage

https://github.com/layerbrain/trunks
1•aaronjaegar•16m ago•1 comments

So you've been asked to "take over" some old data pipeline

https://www.counting-stuff.com/so-youve-been-asked-to-take-over-some-old-data-pipeline/
2•speckx•17m ago•0 comments

Sell Any File

https://payable.link/#how-it-works
2•arbayi•18m ago•0 comments

Grand Tack Hypothesis

https://en.wikipedia.org/wiki/Grand_tack_hypothesis
1•JumpCrisscross•19m ago•0 comments