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!

One year later: have any lessons from TARmageddon been learnt?

https://edera.dev/stories/1-year-later-lessons-from-tarmageddon
1•ivytheaxolotl•30s ago•0 comments

Third conversation with Claude that Anthropic reported to police since August

https://www.tomshardware.com/tech-industry/artificial-intelligence/anthropic-reports-florida-woma...
1•felineflock•1m ago•0 comments

State of Devs 2026

https://2026.stateofdevs.com/en-US
1•absqueued•2m ago•0 comments

Opus 5.5 builds a working game engine in one prompt (TheCherno) [video]

https://www.youtube.com/watch?v=R_uf5OfMGio
1•TheRoque•3m ago•0 comments

The Machine Stops [pdf]

https://www.cs.ucdavis.edu/~rogaway/classes/188/materials/the%20machine%20stops.pdf
1•pcfwik•4m ago•0 comments

Default Mode Network (DMN)

https://en.wikipedia.org/wiki/Default_mode_network
2•sans_souse•9m ago•0 comments

Schema-guard, stop AI agents from inventing column names in SQL

https://github.com/idk-arsh/schema-guard
1•arsh9745774•9m ago•0 comments

(Japanese Acrobat Lantern) Akita Kanto Festival [video]

https://www.youtube.com/watch?v=Y3-HsuS2nZ8
1•rawgabbit•10m ago•1 comments

Pulls.review – A better way for review GitHub Pull Requests

https://github.com/antfu/pulls.review
1•parksb•11m ago•0 comments

What Is Proactive AI?

https://proton.me/blog/proactive-ai
3•devonnull•12m ago•0 comments

Photopea creator weighs in on Photosuite project

https://github.com/eolix/photosuite/issues/77
2•montag•13m ago•0 comments

Show HN: Free Analytics for People Using Cloudflare Web Analytics

https://freeanalytics.co/
1•si_164•14m ago•0 comments

Pure UI – rauchg's blog on writing functional UIs from 2015

https://rauchg.com/2015/pure-ui
1•vhawk19•16m ago•0 comments

Citrix discloses third actively exploited NetScaler zero-day in less than a week

https://cyberscoop.com/citrix-netscaler-third-exploited-zero-day-vulnerability/
2•Gaishan•18m ago•0 comments

Improving Agents by Bootstrapping Experientially-Learned Environmental Knowledge

https://arxiv.org/abs/2511.20297
1•azhenley•19m ago•0 comments

Fireship: PewDiePie is setting AI free and OpenAI is furious [video]

https://www.youtube.com/watch?v=_5p1_TNSWqQ
2•doctaj•20m ago•0 comments

Orbital golf 2k27: guide your ship through space

https://orbitalgolf.lol/
2•idiomltd•24m ago•0 comments

We reverse-engineered Telegram channel IDs, now they tell us each channel's age

https://tgscope.io/rnd/telegram-channel-id-clock
2•coubri•25m ago•0 comments

Ada Lovelace Answered the Big Questions About A.I

https://www.nytimes.com/2026/10/05/opinion/ada-lovelace-ai.html
2•uxhacker•29m ago•0 comments

WTF Is Going on with Marino Wijay [audio]

https://www.arresteddevops.com/wtf-is-going-on/
2•mooreds•30m ago•0 comments

High Diesel Prices Bankrupted 16 Trucking Companies in Just 30 Days

https://www.thedrive.com/news/high-diesel-prices-bankrupted-16-trucking-companies-in-just-30-days
6•speckx•30m ago•1 comments

Don't Throw Away Your Old Laptop – macOS Might Surprise You

https://www.youtube.com/watch?v=AQVd39nt_CY
2•cable2600•35m ago•0 comments

Googlebook

https://store.google.com/category/laptops?hl=en-US
3•runamuck•40m ago•1 comments

I got tired of asking "what do you mean?" on every bug report

https://twitter.com/tejashaveridev/status/2107251170725003713
2•TejasHaveri•45m ago•1 comments

Daegun v1.2.0 – Big Update

https://github.com/zztaeha/daegun/releases/tag/v1.2.0
2•silly-tae•45m ago•0 comments

The AI Buildout Has Turned into a Doom Loop

https://bird.makeup/users/gnoble79/statuses/2107068301004210338
2•doener•46m ago•0 comments

Wikipedia operator says OpenAI's 'rogue' bots may be linked to a May outage

https://www.theverge.com/news/1004929/wikipedia-openai-rogue-bots-wikimedia-foundation-outage
5•sbulaev•48m ago•0 comments

Fraudulent research is an accelerating problem

http://deevybee.blogspot.com/2026/08/acceleration-of-arms-race-between.html
2•t0mpr1c3•49m ago•0 comments

XCOR launches to trace outages in minutes. It still pages engineers

https://thenewstack.io/cortex-xcor-ai-observability/
3•geoffbp•52m ago•0 comments

AI Tutoring with Khanmigo in a Two-Year School Experiment

https://edworkingpapers.com/ai26-1551
15•bryan0•54m ago•5 comments