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!

Databricks vs. Snowflake Weekly

https://claude.ai/public/artifacts/eb39f250-4869-4fb3-840d-d49620ee3b51
1•noashavit•3m ago•0 comments

How to remove One UI from a Samsung device?(2025)

https://tinygrab.com/how-to-remove-one-ui-from-a-samsung-device-note-this-is-likely-not-possible-...
1•rolph•4m ago•0 comments

I built a million-pixel canvas where strangers buy individual squares

https://pixel-wall-kofi-s1k3-production.up.railway.app/
1•matthewder•4m ago•0 comments

RLix: A scheduling layer for concurrent LLM RL

https://github.com/rlops/rlix
1•matt_d•4m ago•0 comments

AI as a Fascist Artifact – OSnews

https://www.osnews.com/story/144823/ai-as-a-fascist-artifact/
1•abdelhousni•4m ago•0 comments

It's time for the regular person to start testing local AI models

https://eeshans.com/writing/its-time-for-the-regular-person-to/
1•tipoffdosage904•4m ago•1 comments

Same algorithm, 16x faster: optimizing a vector search engine's hot path

https://dubeyKartikay.com/posts/sembed-engine-vector-search-performance/
1•birdculture•5m ago•0 comments

How the Kremlin's internet crackdown is frustrating Russians [video]

https://www.bbc.co.uk/news/videos/c75kpx2w452o
1•Cider9986•6m ago•0 comments

Mirror Field Operating System: a commit-boundary approach to AI governance

https://zippy-cucurucho-a24a3e.netlify.app/
1•tcook462•9m ago•0 comments

The Emerging Push to Extend Some US Benefits to IDF Soldiers

https://www.military.com/feature/2026/04/19/emerging-push-extend-some-us-benefits-idf-soldiers.html
1•tareqak•11m ago•0 comments

AI can cost more than human workers now

https://www.axios.com/2026/04/26/ai-cost-human-workers
3•Brajeshwar•13m ago•1 comments

Slay At Work – AI tool for freelancers to get more clients

https://slayatwork.com/
1•overplex•13m ago•1 comments

Self-Hosted Alternative to Telegra.ph

https://github.com/du82/nonograph
1•nohell•14m ago•0 comments

Show HN: Arktur – explore architecture and building history around you (iOS)

https://apps.apple.com/us/app/arktur/id6755520013
1•fjwater•16m ago•0 comments

FrontierSWE – Benchmark for long horizon coding tasks

https://github.com/Proximal-Labs/frontier-swe
1•pHequals7•19m ago•1 comments

The Underhanded C Contest

https://www.underhanded-c.org/
1•gregsadetsky•20m ago•0 comments

I learned Rust with rustlings, so I built the same thing for Go

https://github.com/Ichihiroy/golings
1•ichihiroy•20m ago•0 comments

Claude.md

https://gist.github.com/vinayakkulkarni/05954385ff86dd65ea8a21da6971add7
1•vinayakkulkarni•21m ago•0 comments

Show HN: <Hyper-frame> – an iframe element to embed any website

https://www.hyper-frame.art/
1•keepamovin•21m ago•0 comments

Checkers

https://checkers.page
1•I_hate_hn•21m ago•0 comments

Show HN: I replaced a memory app with two Markdown files and a Git repo

1•achiles•23m ago•0 comments

Media dinner shooting suspect wrote about targeting of administration officials

https://apnews.com/article/white-house-correspondents-dinner-trump-gunman-3cd1911ecc8a4f7d208ba5e...
2•m_nathan•23m ago•0 comments

I built an agent that breaks your AI agents before someone else does

https://fabraix.com/
3•zachdotai•25m ago•3 comments

The Effects of Emoji Use on Perceptions of Competence and Appropriateness

https://online.ucpress.edu/collabra/article/12/1/147309/217078/Emojis-at-Work-The-Effects-of-Emoj...
1•geox•25m ago•0 comments

NeurotecIO – Your Study AI Assistant

https://neurotec.io
1•areeshalam•25m ago•0 comments

Ask HN: Are interview questions getting harder?

2•mosfets•26m ago•1 comments

Waymo says expecting driverless taxis to stay out of bike lanes is unrealistic

https://road.cc/news/driverless-taxis-veering-into-cycle-lanes-normal-practice-says-waymo
9•randycupertino•27m ago•0 comments

High-Precision Software Sabotage 5 Years Before Stuxnet

https://www.sentinelone.com/labs/fast16-mystery-shadowbrokers-reference-reveals-high-precision-so...
1•AndrewDucker•29m ago•0 comments

From 14 Browser Tabs to 10k Jobs: How I Turned Web Scraping into a Startup

https://www.ismatsamadov.com/blog/from-browser-tabs-to-startup-birjob
2•ismats•29m ago•0 comments

Can your AI solve this? Be honest

1•0xBA5ED•29m ago•0 comments