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!

Lakera – Test your AI hacking skills

https://play.lakera.ai/agent-breaker
1•nmarinov•4m ago•0 comments

From Operations to a Robot Arm

https://huggingface.co/blog/TheMuz/from-operations-to-a-robot-arm
1•gmays•6m ago•0 comments

GrapheneOS accuses Google of gatekeeping Android 17 features and security fixes

https://www.androidauthority.com/grapheneos-android-17-qpr1-security-patches-comments-3712218/
3•vilasa•16m ago•0 comments

Apprentice: A Slim, Extensible Coding Harness (Written in Common Lisp)

https://github.com/skarnati20/apprentice
2•skarnati20•17m ago•1 comments

Getting Outbound Email to Work on DigitalOcean

https://mailfully.com/blog/digitalocean-blocks-smtp-ports-ses-2587
1•mailfully•19m ago•0 comments

Anthropic says Claude now leads a quarter of work building its next AI models

https://www.businesstimes.com.sg/companies-markets/telcos-media-tech/anthropic-says-claude-now-le...
2•dr_scully•20m ago•1 comments

Mini-Jev – typesafe's Jev implemented on top of an LLM locally

https://github.com/r-ms/mini-jev
2•phyrex•20m ago•0 comments

Inside Microsoft and OpenAI, Worry About Damaging the Publishing Industry

https://www.nytimes.com/2026/09/17/technology/microsoft-openai-publishing-industry.html
1•0in•24m ago•0 comments

Richard Feynman – The World from another point of view [video]

https://www.youtube.com/watch?v=GNhlNSLQAFE
1•binyu•26m ago•0 comments

Talk to JEV

https://jev-grug-chat.mkotlikov.chatgpt.site
2•mkotlikov•26m ago•1 comments

Muse for macOS

https://ai.meta.com/muse/download/
2•mfiguiere•26m ago•0 comments

Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash

https://cactuscompute.com/needle
2•HenryNdubuaku•31m ago•0 comments

Where Awareness Is Not the Problem

https://medium.com/@gurvinder372/article-20-where-awareness-is-not-the-problem-5b9d03c925f2
1•gps372•31m ago•0 comments

Microsoft exec called AI scraping 'the largest theft of labor in human

https://techcrunch.com/2026/09/17/microsoft-exec-called-ai-scraping-the-largest-theft-of-labor-in...
4•sbulaev•35m ago•1 comments

NASA satellite discovers a new crater on the moon bigger than the Colosseum

https://www.cbc.ca/news/science/new-crater-moon-9.7348242
1•BiraIgnacio•40m ago•1 comments

Forget doomsday: The AI hacking crisis is here

https://www.axios.com/2026/09/17/ai-cyber-doomsday-hacking-threats
1•1vuio0pswjnm7•42m ago•1 comments

Base's B20 Bet Is Growing – Could the Next Billion-Dollar Project Be Built Here?

https://predx-article.fika.bar/base-s-b20-bet-is-getting-bigger-could-the-next-billion-do-01M2PW9...
1•joeymabia1•48m ago•0 comments

The FAA's plan to fix air traffic? $875M worth of AI

https://techcrunch.com/2026/09/17/the-faas-plan-to-fix-air-traffic-875-million-worth-of-ai/
7•danso•53m ago•0 comments

Red and Blue America Have Found Something to Agree On: Flock Cameras Must Go

https://www.wsj.com/us-news/red-and-blue-america-have-found-something-to-agree-on-flock-cameras-m...
5•johncole•53m ago•0 comments

LawConnect

https://lawconnect.com/en-au
1•oliviajameslaw•59m ago•1 comments

Email marketing from Grok Bot official integration

https://twitter.com/Migma_AI/status/2100617616704295197
1•AdamMigma•1h ago•0 comments

OSU's Bag Man - What was his bag, man?

https://oregonstater.org/osus-bag-man/
1•pseudolus•1h ago•0 comments

Mistral Hacked

https://frenchbreaches.com/blog/mistral-ai-de-nouveau-piratee-un-hacker-revendique-la-totalite-de...
3•orixilus•1h ago•0 comments

Dear developers, we are open‑sourcing our dictation app, Blurt

https://www.assemblyai.com/blurt
2•iharnoor•1h ago•0 comments

Can an AI chatbot save lives by answering texts about pregnancy?

https://www.npr.org/2026/09/17/nx-s1-5962840/artificial-intelligence-ai-chatbot-pregnancy-materna...
2•robglick•1h ago•0 comments

Publishers block the robots.txt path their own affiliate redirects live on

https://disclosed.info/the-index/
1•nchzingo•1h ago•0 comments

Productivity Effects Across Generations of AI Coding Tools

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6843118
1•fzliu•1h ago•1 comments

Talk to JEV

https://github.com/mkotlikov/jev-grug
1•mkotlikov•1h ago•0 comments

Typing Python, Gradually [video]

https://www.youtube.com/watch?v=eZbLUgy522s
1•matt_d•1h ago•0 comments

PPPlayer – An open-source music player built with Flutter

https://ppplayer.com
1•lucasveneno•1h ago•0 comments