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!

Claude permanently raising weekly limits by 25%

https://bsky.app/profile/anthropicbot.bsky.social/post/3muaaxs5nx424
1•someone4958923•1m ago•0 comments

YouTube Safety Update: New Parental Controls for Teens

https://blog.youtube/news-and-events/updates-youtube-supervised-accounts-teens/
1•ohjeez•3m ago•0 comments

ICE eyes spending up to $2M on Boston Dynamics robot dogs to up 'officer safety'

https://www.bostonglobe.com/2026/08/29/business/boston-dynamics-robot-dog-ice/
1•bookofjoe•5m ago•1 comments

A Must-Have Capture Tool for Mac App Store Developers

https://medium.com/@chris.ahrweiler/a-must-have-capture-tool-for-mac-app-store-developers-5154b8e...
1•docjojo•5m ago•0 comments

The Pain of Knowing Your Child Will Never Launch

https://www.thecut.com/article/brooding-pain-of-knowing-your-child-will-never-launch.html
1•mooreds•6m ago•0 comments

Introduction to Solving Ordinary Differential Equations Numerically

https://davidumsonst.github.io/IntroToSolvingODEsNumerically/voici/render/IntroductionToSolvingOD...
1•vismit2000•7m ago•0 comments

LeVJEPA: Efficient and Scalable Video Pretraining Without the Heuristics

https://levjepa.github.io/
1•smusamashah•8m ago•0 comments

Htmx and Django LiveView, side by side

https://en.andros.dev/blog/94d14a9e/htmx-and-django-liveview-side-by-side/
1•ibobev•8m ago•0 comments

Forcing all derived classes to implement a specific non-virtual method, part 2

https://devblogs.microsoft.com/oldnewthing/20260828-00/?p=112654
1•ibobev•9m ago•0 comments

Introduction to Probability – 2nd Edition

https://open.umn.edu/opentextbooks/textbooks/introduction-to-probability
1•ibobev•9m ago•0 comments

Australian cops cuff alleged TeamPCP masterminds

https://www.theregister.com/security/2026/08/28/australian-cops-cuff-alleged-teampcp-masterminds/...
2•jruohonen•12m ago•0 comments

Ireland Moves $38M in Bitcoin Tied to Drug Dealer's Lost Fishing Rod

https://cryptonews.net/news/bitcoin/33367182/
1•mywacaday•12m ago•0 comments

Why Living Past 115 Is Almost Impossible [video]

https://www.youtube.com/watch?v=WKi9FHrGAjA
1•mgh2•13m ago•0 comments

Trees for a Changing Climate and Resilient Urban Forest (2022)

https://www.coolboulder.org/news/trees-for-a-changing-climate-resilient-urban-forest
1•mooreds•14m ago•0 comments

Envault –- A local, minimum, encrypted vault for coding agents

https://github.com/MildyNora/envault
1•MildyNora•14m ago•0 comments

Algebra Explorer

https://dreksh.github.io/algebra-explorer/blog/
1•vismit2000•14m ago•0 comments

Discovering Productive Numbers

https://prodgang.github.io/prod/words/intro.html
1•vismit2000•15m ago•0 comments

Show HN: SHOOK - A Hook for ASD Simplified English

https://github.com/viktorinkov/shook
1•viktorinkov•15m ago•0 comments

Spect2test – Playwright Test Generation

https://spec2test-intelligence.streamlit.app/
1•gaya3bollineni•20m ago•1 comments

One 'absolutely prolific' male bird is keeping his species alive in the U.K

https://www.cbc.ca/radio/asithappens/monatgus-harriers-9.7323206
2•ohjeez•21m ago•0 comments

The growing divide between AI hype and software engineering reality

https://optimizedbyotto.com/post/why-open-source-projects-ban-ai/
1•jruohonen•21m ago•0 comments

In less than a year, Google made scraping 10× harder

https://growtika.com/blog/google-goto-links-study
2•Growtika•28m ago•0 comments

Show HN: Idea Miner – I stopped ranking ideas by how often they're mentioned

https://idea-miner.com/en/
1•alexstarks•28m ago•0 comments

Why aren't my two Cortex-A9 cores cache coherent?

https://thejpster.org.uk/blog/blog-2026-08-22/
1•ingve•28m ago•0 comments

OpenSEO – open-source SEO Platform

https://openseo.so/
1•fkozlowski•30m ago•0 comments

Parselbox

https://github.com/thesanjeetc/parselbox
1•sanjeetc•32m ago•0 comments

Eggshell – Local work memory across independent Codex chats

https://github.com/o8vm/eggshell
1•o8_vm•38m ago•0 comments

Rails Pulse: a comprehensive performance monitoring and debugging gem

https://github.com/railspulse-org/rails_pulse
1•ksec•39m ago•0 comments

I built free SEO tools that answer 3 questions before you write anything

https://www.serpstep.com
1•dongli23•40m ago•0 comments

We open-sourced SIMURG. Bye-bye hallucinations in local quantized models

https://github.com/doofzoff/SIMURG
1•doofzz•41m ago•0 comments