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

Show HN: Headroom – Reversible context compression for LLMs(~60% cost reduction)

https://github.com/chopratejas/headroom
1•chopratejas•27s ago•0 comments

Show HN: Tool that automates ML model deployment on mobile/edge devices

https://twitter.com/AbdoulayeSeydi_/status/2011648286885888216
1•AbdoulayeSeydi•12m ago•0 comments

Tech investors assess minerals mining as U.S. takeover talk on Greenland grows

https://www.cnbc.com/2026/01/12/tech-investors-probe-mining-viability-if-us-acquires-greenland-ce...
3•1vuio0pswjnm7•16m ago•1 comments

Raising Kids After Knowledge Became a Commodity

https://liorz.github.io/blog/posts/fallacy-education-for-academic-excellence/
1•freediver•16m ago•0 comments

Here comes the advertising in AI chatbots

https://www.washingtonpost.com/technology/2026/01/13/advertising-google-ai-mode-chatgpt/
3•1vuio0pswjnm7•16m ago•0 comments

Ask HN: Why Gemini CLI startup is so slow?

1•attentive•24m ago•0 comments

Show HN: Flour Hour – I built a bread baking app with Claude Code in 3 hours

https://yaninatrekhleb.github.io/flour-hour/
2•yanina_trekhleb•24m ago•0 comments

On FLOSS and training LLMs

https://chronicles.mad-scientist.club/tales/on-floss-and-training-llms/
1•pabs3•34m ago•0 comments

Show HN: Open Contribution Graph: A GitHub heatmap for anything you can POST

https://github.com/Tomer-Barak/contribution-graph
2•minimal_action•43m ago•1 comments

Microsoft's spending on Anthropic AI on track to reach $500M

https://www.msn.com/en-us/money/other/microsoft-s-spending-on-anthropic-ai-on-track-to-reach-500m...
2•nl•44m ago•0 comments

Nw_wrld is an event-driven sequencer for triggering visuals [video]

https://www.youtube.com/watch?v=6vM_b54pWtg
1•_josh_meyer_•48m ago•1 comments

Agent Skills That Work

https://agentskills.work/sellers-net-sheet-florida
2•zlonmask•48m ago•1 comments

AI Blog

https://ai-blog-peach.vercel.app
1•dagmawibabi•51m ago•1 comments

Tell HN: AI could bring back GraphQL from the brink

3•sergiotapia•51m ago•0 comments

Tjs: Fastest and most accurate JSON-schema validator

https://github.com/sberan/tjs
2•handfuloflight•51m ago•0 comments

Chinese military says it is developing over 10 quantum warfare weapons

https://www.scmp.com/news/china/science/article/3339907/chinese-military-says-it-developing-over-...
3•KnuthIsGod•52m ago•1 comments

Show HN: Flashlight: Android app that lets you control torch brightness

https://github.com/rtvkiz/Flashlight
2•ritvikarya98•54m ago•0 comments

Appliances, Factories and the Grid

https://mercurialsolo.substack.com/p/appliances-factories-grids
1•mercurialsolo•54m ago•1 comments

Microsoft-Activision deal was meant to help The Embracer Grou

https://www.gamefile.news/p/bobby-kotick-activision-microsoft-ap7-lawsuit-embracer-group
2•firesteelrain•55m ago•0 comments

Tract: Self-contained, TensorFlow and ONNX inference

https://github.com/sonos/tract
2•vishnukvmd•55m ago•0 comments

Rampsliding Is a Quake Engine Quirk in the Same Way That Bunnyhopping Is

https://www.ryanliptak.com/blog/rampsliding-quake-engine-quirk/
1•luu•56m ago•0 comments

Scientists Discover Form of Water That's Both Solid and Liquid

https://studyfinds.org/scientists-discover-bizarre-water-both-solid-liquid/
1•adwmayer•57m ago•0 comments

Oracle to PostgreSQL DDL: Data Types, Partitions and More

https://www.datacloudgaze.com/post/oracle-postgresql-ddl-migration-guide
2•mahtodeepak•57m ago•0 comments

Airbnb Taps Meta AI Executive as New Chief Technology Officer

https://www.bloomberg.com/news/articles/2026-01-14/airbnb-taps-meta-ai-executive-as-new-chief-tec...
2•doppp•59m ago•0 comments

Free AI-Powered Tools

https://figtalia.com/
1•sifuncion•1h ago•0 comments

The Mythology of Conscious AI

https://www.noemamag.com/the-mythology-of-conscious-ai/
2•hardmaru•1h ago•1 comments

The Sword Blade Bank

https://tontinecoffeehouse.com/2020/09/28/the-sword-blade-bank/
3•dmonay•1h ago•0 comments

Short Supply: Root Causes of Declining Propensity for US Military Service

https://www.cnas.org/publications/reports/short-supply
2•toomuchtodo•1h ago•3 comments

OpenAI acquires health-care technology startup Torch

https://www.cnbc.com/2026/01/12/open-ai-torch-health-care-technology.html
1•gmays•1h ago•0 comments

AI Voice Elements

https://vercel.com/changelog/ai-voice-elements
3•handfuloflight•1h ago•1 comments