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!

Natural Language Autoencoders Produce Explanations of LLM Activations

https://transformer-circuits.pub/2026/nla/
1•Anon84•46s ago•0 comments

Just Ink It

https://github.com/cartesia-ai/InkIt
1•dpstart01•1m ago•0 comments

Amiga Unix: Linux-based cross-compiler setup for AMIX

https://github.com/isoriano1968/gcc-cross-amix
1•doener•6m ago•0 comments

Neumann probe game (playable with browser or or API)

https://neumann-probe.net/
1•Gnieark•6m ago•1 comments

Roast my startup – Google but returns TikTok-style videos

https://www.bluhe.ai/
2•dhavd•6m ago•0 comments

RewindOS – Searchable screen history for Linux local

https://github.com/jaypopat/rewindos
1•jp011•8m ago•1 comments

Unicorn – The Ultimate CPU Emulator

https://www.unicorn-engine.org/
1•tosh•10m ago•0 comments

OmniPreview – code preview, ZIP/folder browser, 29 file formats in Mac QuickLook

https://github.com/Invernomut0/QuickLookWithSteroids
1•invernomuto0•10m ago•0 comments

Electrifying the Cow Path

https://sebas.fika.bar/electrifying-the-cow-path-01KSJS9QM201WECVBBV2HKAV6M
2•mooreds•11m ago•0 comments

SpaceX IPO Stress Tests Crypto's Bid to Reinvent Stocks

https://www.bloomberg.com/news/articles/2026-06-15/spacex-ipo-stress-tests-crypto-s-bid-to-reinve...
1•monkeydust•12m ago•0 comments

Javier Milei: Argentina invites AI to free itself

https://www.ft.com/content/f93022fe-43f7-437d-abd8-06c457c0a43c
1•mooreds•13m ago•1 comments

Covid vaccination cut risk of adverse heart events, large study finds

https://www.statnews.com/2026/06/15/covid-vaccination-cardiovascular-protection-jama-study/
2•thinkcontext•13m ago•0 comments

Learn Agent Substrate

https://learn.agentsubstrate.dev/
1•mooreds•14m ago•0 comments

SpaceX to buy Cursor AI parent Anysphere for $60B

https://www.cnbc.com/2026/06/16/-spacex-to-buy-cursor-ai-parent-anysphere-for-60-billion.html
2•furkansahin•16m ago•0 comments

SpaceX Cements $60 Billion Deal to Take Over AI Startup Cursor

https://www.bloomberg.com/news/articles/2026-06-16/spacex-cements-60-billion-deal-to-take-over-ai...
1•flippyhead•17m ago•0 comments

DuckDB Internals: Why Is DuckDB Fast? (Part 1)

https://www.greybeam.ai/blog/duckdb-internals-part-1
1•marklit•17m ago•0 comments

Tlbic: A Time-Limited Basic Income System Designed with AI, v6.1

https://drive.google.com/file/d/1NJA8clb_wkotSnUkBPGZMw8Dywa5caiF/view?usp=drive_link
1•michikawa59•18m ago•0 comments

A Company That Was Nobody: The Case for AI-Agent Corporations

https://sebas.fika.bar/a-company-that-was-nobody-01KTRGPQ9G7T66N98PMY0SN8BT
1•smtx•19m ago•0 comments

Want to get a data center online quickly? Give it some flex

https://www.technologyreview.com/2026/06/16/1138591/data-center-online-quickly-electric-grid-flex/
1•joozio•20m ago•0 comments

The Implementation Trilemma: Substance-Independence Is Incomplete

https://philpapers.org/rec/GIOTIT
1•cgio•25m ago•0 comments

Why is it important for a matrix to be square? (2018)

https://math.stackexchange.com/questions/2811951/why-is-it-important-for-a-matrix-to-be-square
1•downbad_•26m ago•0 comments

Evaluating different LLMs for their security research capabilities

https://zeroquarry.com/research/models-capabilities/
1•eskibars•28m ago•0 comments

Boston University grad students demonstrate flaw in MBTA tap-to-pay system

https://www.nbcboston.com/news/local/it-was-shocking-bu-grad-students-say-theyve-found-a-flaw-in-...
1•ripe•31m ago•0 comments

Show HN: Write SaaS apps where users control where their data is stored

https://linkedrecords.com/
3•WolfOliver•32m ago•1 comments

About ASCII art and Jgs font (2023)

https://velvetyne.fr/news/about-ascii-art-and-jgs-font/
1•Luc•33m ago•0 comments

Stepyard - local automations in YAML, extendable with Python, no server needed.

https://github.com/rorlikowski/stepyard
1•rorlikowski•35m ago•0 comments

Celebrating seven years of the Fairphone 3

https://www.fairphone.com/stories/celebrating-seven-years-of-the-fairphone-3
2•ravenical•37m ago•0 comments

Finplan.me – offline expense tracker for Android no accounts or cloud

https://play.google.com/store/apps/details?id=com.finplan.me.finplan.me&hl=en_US
1•ivarlev•39m ago•0 comments

SpaceX to buy Cursor AI coding agent operator Anysphere for $60B

https://www.reuters.com/legal/transactional/spacex-buy-anysphere-60-billion-2026-06-16/
20•itsmarcelg•40m ago•3 comments

Do you tend to follow the rules that suppliers made?

1•carnoxen•41m ago•0 comments