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

John Varley, 1947-2025

http://floggingbabel.blogspot.com/2025/12/john-varley-1947-2025.html
1•decimalenough•4m ago•0 comments

OpenAI sued for allegedly enabling murder-suicide

https://www.aljazeera.com/economy/2025/12/11/openai-sued-for-allegedly-enabling-murder-suicide
1•wslh•4m ago•0 comments

Apples, Trees, and Quasimodes

https://systemstack.dev/2025/09/humane-computing/
2•entaloneralie•4m ago•0 comments

Programming language speed comparison using Leibniz formula for π

https://niklas-heer.github.io/speed-comparison/
1•PKop•5m ago•0 comments

Ask HN: Any Devtools for Easy Integrations?

1•funerr•8m ago•0 comments

Intifada Globalized

https://critiqueanddigest.substack.com/p/intifada-globalized
1•wslh•8m ago•0 comments

SKILLs vs. MCP for Coding Agents

https://twitter.com/pjay_in/status/2000397495978033503
1•priyanshujain•10m ago•0 comments

GPT 5.2 benchmarks were run with extra tokens

https://old.reddit.com/r/singularity/comments/1pkeb7v/deceptive_marketing_from_oai_benchmarks_wer...
1•zyh888•15m ago•0 comments

Japanese Peril Created the Internet [video]

https://www.youtube.com/watch?v=6P8_72cNZ8k
1•mgh2•17m ago•0 comments

SoundCloud just banned VPN access

https://old.reddit.com/r/SoundCloudMusic/comments/1pltd19/soundcloud_just_banned_vpn_access/
2•empressplay•17m ago•0 comments

Popular platform, StudioArt gets open sourced due to web hosting issues,newsite

https://eotter-beep.github.io/studioart/
1•telui•22m ago•1 comments

Elysia: Decision Tree Agentic Framework

https://github.com/weaviate/elysia
1•bbzjk7•23m ago•0 comments

Show HN: ElasticMM – 4.2× Faster Multimodal LLM Serving (NeurIPS 2025 Oral)

1•PaperWeekly•23m ago•0 comments

What's going on here, with this human?

https://grahamduncan.blog/whats-going-on-here/
2•staticshock•27m ago•0 comments

It's 2025. Why Can't Americans Use a Simple Roundabout?

https://www.thedrive.com/news/its-2025-why-cant-americans-use-a-simple-roundabout
4•PaulHoule•29m ago•1 comments

The View from Inside the AI Bubble

https://www.theatlantic.com/technology/2025/12/neurips-ai-bubble-agi/685250/
1•harambae•30m ago•0 comments

How LLMs Think Like Clinicians

https://dochobbs.github.io/ai101/llm-thinking.html
1•vampiresdoexist•32m ago•0 comments

How to Get Reddit Karma Fast (The Safe Way, 2025 Guide)

https://www.wappkit.com/blog/how-to-get-karma-fast-2025
2•asphero•37m ago•1 comments

CtrlAssist: Controller Assist for Gaming on Linux

https://github.com/ruffsl/CtrlAssist
2•ruffsl•40m ago•1 comments

Show HN: Bets on Post-GPU Compute

https://www.vishalv.com/notes/bets-on-post-GPU-compute
1•visvig•43m ago•0 comments

Show HN: I implemented generics in my programming language

https://axe-docs.pages.dev/features/generics/
2•death_eternal•48m ago•0 comments

'I've been allergic to AI for a long time': an interview with Peter Thiel

https://www.spectator.co.uk/article/ive-been-allergic-to-ai-for-a-long-time-an-interview-with-pet...
1•kerim-ca•53m ago•1 comments

Hell is other people's markup

https://www.htmhell.dev/adventcalendar/2025/13/
1•emschwartz•54m ago•0 comments

Show HN: web app to match with people nearby on 7 dimensions of needs

https://deep-union-web.vercel.app/
1•arthurstarlake•56m ago•0 comments

Pilot narrowly avoids 'midair collision' with US Air Force plane near Venezuela

https://www.theguardian.com/us-news/2025/dec/14/jetblue-pilot-avoids-midair-collision-air-force-v...
6•prmph•57m ago•2 comments

Feature-First Development

https://jackson.dev/post/feature-first-development/
1•Arcuru•1h ago•0 comments

Role reversal: Meta adopts Qwen as Chinese AI becomes industry foundation

https://www.scmp.com/tech/big-tech/article/3336243/role-reversal-meta-adopts-qwen-chinese-ai-beco...
2•djhu9•1h ago•0 comments

PSRT v2.1 – A Bounded Architecture for Intelligence and Meaning

https://zenodo.org/records/17932629
1•nettalk83•1h ago•1 comments

Redfern Station Christmas artwork to be removed after complaints of 'AI slop'

https://www.smh.com.au/national/nsw/redfern-station-s-ai-generated-christmas-artwork-to-be-remove...
1•healsdata•1h ago•0 comments

The Architects of AI Are TIME's 2025 Person of the Year

https://time.com/7339621/person-of-the-year-2025-ai-architects-choice/
1•pseudolus•1h ago•0 comments