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!

Jack Dennis; American computer scientist

https://grokipedia.com/page/Jack_Dennis
1•__patchbit__•21s ago•0 comments

Zuckerbot is coming: Meta is building an AI version of Mark Zuckerberg

https://www.neowin.net/news/zuckerbot-is-coming-meta-is-reportedly-building-an-ai-version-of-mark...
1•bundie•1m ago•0 comments

Decluttering Projects You Can Do in Half an Hour or Less

https://www.nytimes.com/2024/04/12/well/live/organize-your-home-declutter.html
1•zacharyozer•2m ago•0 comments

Show HN: Pushduck – S3 uploads that run on Cloudflare Workers, no AWS SDK

1•abhay_ramesh•4m ago•0 comments

Filesystems: Btrfs

https://internals-for-interns.com/posts/btrfs-filesystem/
1•valyala•6m ago•0 comments

Flinku – I built a Firebase Dynamic Links replacement after the shutdown

https://www.flinku.dev/
1•luky_dev•8m ago•0 comments

IBM folds to Trump anti-DEI push, admits no misconduct but pays $17M penalty

https://arstechnica.com/tech-policy/2026/04/ibm-folds-to-trump-anti-dei-push-admits-no-misconduct...
2•Growtika•11m ago•0 comments

The "Bug" Heard 'Round the World [pdf]

https://www5.in.tum.de/~huckle/space_.pdf
1•danielovichdk•12m ago•0 comments

Roblox devs now need a subscription to share their games freely

https://devforum.roblox.com/t/new-publishing-requirements-evaluation-process-for-games/4573166
2•hallole•17m ago•0 comments

Show HN: SCP – A protocol that drops LLM API calls to zero in 60fps physics loop

https://github.com/srk0102/plexa
1•srk0102•18m ago•0 comments

Generative AI in Banking: Top Use Cases and Benefits

https://www.kellton.com/kellton-tech-blog/generative-ai-in-banking
1•johnjosephkt•20m ago•0 comments

Ask HN: LeetCode, anyone still doing it?

1•kwar13•22m ago•0 comments

DeepDive – Autonomous OSINT investigation tool with 3D graph

https://github.com/Sinndarkblade/deepdive
1•sinndarkblade•32m ago•1 comments

MOS tech 6502 8-bit microprocessor in pure SQL powered by Postgres

https://github.com/lasect/pg_6502
2•adunk•34m ago•0 comments

Microsoft exec suggests AI agents will need to buy licenses, just like employees

https://www.businessinsider.com/microsoft-executive-suggests-ai-agents-buy-software-licenses-seat...
1•maxloh•35m ago•0 comments

What Comes After Vibe Coding

https://blog.bijup.com/what-comes-after-vibe-coding
2•andreirx•39m ago•1 comments

Show HN: One-command deploys from your terminal with CreateOS CLI

https://nodeops.network/createos/docs/CLI/Overview
1•alex_creates•39m ago•0 comments

Pruner: Give AI coding agents the right context in one shot

https://github.com/heikki-laitala/pruner
2•xfiler•41m ago•0 comments

Dependency cooldowns turn you into a free-rider

https://calpaterson.com/deps.html
1•calpaterson•47m ago•0 comments

Bypass Paywalls Clean Chrome

https://gitflic.ru/project/magnolia1234/bypass-paywalls-chrome-clean
2•Cider9986•47m ago•2 comments

Multi-Agentic Software Development Is a Distributed Systems Problem

https://kirancodes.me/posts/log-distributed-llms.html
3•tie-in•48m ago•0 comments

Sam Altman: Man charged with attempting to murder OpenAI boss

https://news.sky.com/story/sam-altman-man-charged-with-attempting-to-murder-openai-boss-13531548
2•taspeotis•51m ago•0 comments

UpDown: Efficient Manycore based on Many Threading & Scalable Memory Parallelism

https://people.cs.uchicago.edu/~aachien/lssg/research/10x10/ics26-single-chip-updown.pdf
4•matt_d•52m ago•0 comments

TanStack Start Now Support React Server Components

https://tanstack.com/blog/react-server-components
18•polywock•52m ago•9 comments

How the corpse flower came to be so weird

https://www.scientificamerican.com/article/how-the-corpse-flower-evolved-its-bizarre-traits/
1•1659447091•55m ago•0 comments

HyperVenom: Using Hyper-V for Ring -1 Control from Usermode

https://gsmll.github.io/hypervenom/writeup/
2•claykettle•57m ago•0 comments

Modern Git based version control with parallel and stacked branches

https://gitbutler.com/
1•rushil_b_patel•59m ago•0 comments

Can Germany restart its nuclear power program?

https://www.politico.eu/article/germany-berlin-nuclear-is-over-the-debate-isnt/
1•leonidasrup•1h ago•0 comments

Introduction to Spherical Harmonics for Graphics Programmers

https://gpfault.net/posts/sph.html
2•nicebyte•1h ago•0 comments

Hackers Reveal Rockstar Earns over $1M a Day from GTA Online

https://kotaku.com/hackers-reveal-rockstar-earns-over-1-million-a-day-from-gta-online-2000687207
1•jmsflknr•1h ago•0 comments