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•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!

Micropatching Brings the Abandoned Equation Editor Back to Life (2018)

https://blog.0patch.com/2018/01/bringing-abandoned-equation-editor-back.html
1•bariumbitmap•2m ago•0 comments

AI slop is flooding maths YouTube [video]

https://www.youtube.com/watch?v=mRO_QonhC2c
1•marvinborner•2m ago•0 comments

OWASP PTK is now OWASP Lab project

https://owasp.org/other_projects/
1•DenisPodgurskii•3m ago•0 comments

Ask HN: Are there any social media sites that are AI positive?

1•amichail•4m ago•0 comments

Avoid unnecessary parser lookahead for operators

https://github.com/astral-sh/ruff/pull/25290
1•tosh•5m ago•0 comments

AI chief of staff framework with invisible shadow predictions

https://github.com/jaroslavsoucek-art/Giovanni
1•JarSou•6m ago•0 comments

Show HN: We dropped Go for Rust in our real-time telephony AI media plane

2•bajpailabs•6m ago•0 comments

If Your Mother Says She Loves You: A Reporter's Cautionary Tale

https://www.poynter.org/reporting-editing/2003/if-your-mother-says-she-loves-you-a-reporters-caut...
1•speckx•7m ago•0 comments

Designing Firefox for the Future

https://blog.mozilla.org/en/firefox/new-firefox-design/
1•pentagrama•7m ago•0 comments

US employers spend more than $1.5B a year to fight labor unions, report finds

https://www.theguardian.com/us-news/2026/may/20/how-much-companies-spend-fight-unions
1•robtherobber•8m ago•0 comments

Another Book Giveaway on LaTeX.org: Win the LaTeX Beginner's Guide 2026 Edition

https://latex.org/forum/viewtopic.php?t=36370
1•idle•9m ago•0 comments

1-Wire

https://en.wikipedia.org/wiki/1-Wire
1•ripe•9m ago•0 comments

Title: Show HN: myVanilla.js – In-memory JIT compiler, 100k reactive nodes in 4s

https://github.com/Enocwtc/Enocwtc.github.io
1•Enocwtc•12m ago•0 comments

Creating another MCP server, but this one is for research

https://jspann.me/blog/posts/research_mcp/
1•jspann•15m ago•2 comments

The Federal Data Field Guide

https://www.federaldatafieldguide.us/
1•sebg•17m ago•0 comments

Matterhorn pandas

https://mz.prose.sh/matterhorn-pandas
1•manuelz•18m ago•0 comments

Magic the Gathering format: Fun 40

https://fabiensanglard.net/mtg/fun//index.html
2•ibobev•20m ago•0 comments

Second Quantisation – A Quantisation Too Far

https://www.forwardscattering.org/page/Second%20Quantisation
1•ibobev•20m ago•0 comments

Ma Configuration SSH · Accueil

https://rodolphe.breard.tf/article/ma-config-ssh/
1•rodrigo975•21m ago•0 comments

My 1993 Atari Mega STE Retro Battlestation

https://www.goto10retro.com/p/my-1993-mega-ste-retro-battlestation
2•ibobev•21m ago•0 comments

Anthropic to open Milan office, expanding push into Europe

https://finance.yahoo.com/sectors/technology/articles/anthropic-open-milan-office-expanding-09502...
2•napolux•21m ago•0 comments

AVX-512 Optimization for FFmpeg Shows Wild Improvement on AMD Ryzen (2025)

https://www.phoronix.com/news/FFmpeg-AVX-512-uyvytoyuv422
1•tosh•21m ago•0 comments

Nvidia says it has 'largely conceded' China's AI chip market to Huawei

https://www.cnbc.com/2026/05/21/nvidia-jensen-huang-china-ai-chip-market-huawei.html
2•Markoff•23m ago•0 comments

Yet another " fastest hashing algorithm"

https://github.com/rrrlasse/intrinhash
1•rlasse•23m ago•1 comments

European Salary Calculator – net pay after tax for PT/ES/UK/DE/NL (2026)

https://www.eunetsalarycalculator.com/
1•coubes•27m ago•0 comments

QuestDB 9.4.0

https://questdb.com/blog/questdb-9-4-0-release/
2•tosh•27m ago•0 comments

Toxiflow – an execution layer that measures fill toxicity

https://github.com/SO2304/toxiflow
1•so2304•28m ago•0 comments

Show HN: Aisbf, a self-hostable OpenAI-compatible AI proxy/router

https://aisbf.cloud/
1•nextime•28m ago•1 comments

The third wave of American philanthropy

https://nanransohoff.substack.com/p/the-third-wave-of-american-philanthropy
1•gmays•28m ago•0 comments

LLM-mock – Record real LLM API responses once, replay them in tests forever

https://pypi.org/project/llm-mock/
1•roman_t•28m ago•0 comments