frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Zig-DbC – A design by contract library for Zig

26•habedi0•2d ago
Hi everyone,

I've made an open-source library for using design by contract (DbC) principles in the Zig programming language.

It's called Zig-DbC, and it currently provides the following features:

- A simple API to define preconditions, postconditions, and invariants.

- Contracts are active in `Debug`, `ReleaseSafe`, and `ReleaseSmall` modes to catch bugs early.

- All checks are removed at compile time in `ReleaseFast` mode for zero performance cost.

- An optional mode to handle partial state changes in functions that return errors.

- Transparent error handling that propagates errors from your code to the caller.

Project's GitHub repo: https://github.com/habedi/zig-dbc

Gemma 3 270M: Compact model for hyper-efficient AI

https://developers.googleblog.com/en/introducing-gemma-3-270m/
190•meetpateltech•2h ago•69 comments

Blood oxygen monitoring returning to Apple Watch in the US

https://www.apple.com/newsroom/2025/08/an-update-on-blood-oxygen-for-apple-watch-in-the-us/
196•thm•5h ago•107 comments

Bluesky: Updated Terms and Policies

https://bsky.social/about/blog/08-14-2025-updated-terms-and-policies
45•mschuster91•1h ago•33 comments

New protein therapy shows promise as antidote for carbon monoxide poisoning

https://www.medschool.umaryland.edu/news/2025/new-protein-therapy-shows-promise-as-first-ever-antidote-for-carbon-monoxide-poisoning.html
160•breve•6h ago•38 comments

Kodak has no plans to cease, go out of business, or file for bankruptcy

https://www.kodak.com/en/company/blog-post/statement-regarding-misleading-media-reports/
204•whicks•3h ago•86 comments

What's the strongest AI model you can train on a laptop in five minutes?

https://www.seangoedecke.com/model-on-a-mbp/
373•ingve•2d ago•138 comments

Launch HN: Cyberdesk (YC S25) – Automate Windows legacy desktop apps

29•mahmoud-almadi•2h ago•9 comments

Arch shares its wiki strategy with Debian

https://lwn.net/SubscriberLink/1032604/73596e0c3ed1945a/
289•lemper•9h ago•104 comments

Axle (YC S22) Is Hiring Product Engineers

https://www.ycombinator.com/companies/axle/jobs/8wAy0QH-product-engineer
1•niharparikh•1h ago

Jujutsu and Radicle

https://radicle.xyz/2025/08/14/jujutsu-with-radicle
78•vinnyhaps•4h ago•32 comments

Brilliant illustrations bring this 1976 Soviet edition of 'The Hobbit' to life (2015)

https://mashable.com/archive/soviet-hobbit
178•us-merul•3d ago•58 comments

Org-social is a decentralized social network that runs on an Org Mode

https://github.com/tanrax/org-social
148•todsacerdoti•7h ago•24 comments

Architecting LARGE software projects [video]

https://www.youtube.com/watch?v=sSpULGNHyoI
7•jackdoe•2d ago•0 comments

Show HN: I built a free alternative to Adobe Acrobat PDF viewer

https://github.com/embedpdf/embed-pdf-viewer
34•bobsingor•2h ago•8 comments

I Made a Realtime C/C++ Build Visualizer

https://danielchasehooper.com/posts/syscall-build-snooping/
17•dhooper•2h ago•1 comments

NSF and Nvidia award Ai2 $152M to support building an open AI ecosystem

https://allenai.org/blog/nsf-nvidia
122•_delirium•5h ago•68 comments

Meta accessed women's health data from Flo app without consent, says court

https://www.malwarebytes.com/blog/news/2025/08/meta-accessed-womens-health-data-from-flo-app-without-consent-says-court
318•amarcheschi•7h ago•175 comments

Show HN: Zig-DbC – A design by contract library for Zig

26•habedi0•2d ago•0 comments

SIMD Binary Heap Operations

http://0x80.pl/notesen/2025-01-18-simd-heap.html
39•ryandotsmith•2d ago•8 comments

Funding Open Source like public infrastructure

https://dri.es/funding-open-source-like-public-infrastructure
196•pabs3•14h ago•90 comments

Linux Address Space Isolation Revived After Lowering 70% Performance Hit to 13%

https://www.phoronix.com/news/Linux-ASI-Lower-Overhead
147•teleforce•6h ago•40 comments

JetBrains working on higher-abstraction programming language

https://www.infoworld.com/article/4029053/jetbrains-working-on-higher-abstraction-programming-language.html
40•pjmlp•2h ago•36 comments

Zenobia Pay – A mission to build an alternative to high-fee card networks

https://zenobiapay.com/blog/open-source-payments
218•pranay01•15h ago•232 comments

KosmicKrisp a Vulkan on Metal Mesa 3D Graphics Driver

https://www.lunarg.com/a-vulkan-on-metal-mesa-3d-graphics-driver/
8•Degenerative•2d ago•6 comments

Show HN: Yet another memory system for LLMs

https://github.com/trvon/yams
137•blackmanta•14h ago•38 comments

Is chain-of-thought AI reasoning a mirage?

https://www.seangoedecke.com/real-reasoning/
88•ingve•4h ago•83 comments

Can't pay, won't pay: streaming services are driving viewers back to piracy

https://www.theguardian.com/film/2025/aug/14/cant-pay-wont-pay-impoverished-streaming-services-are-driving-viewers-back-to-piracy
11•nemoniac•1h ago•7 comments

Why LLMs can't really build software

https://zed.dev/blog/why-llms-cant-build-software
301•srid•4h ago•193 comments

Show HN: XR2000: A science fiction programming challenge

https://clearsky.dev/blog/xr2000/
88•richmans•2d ago•14 comments

Convo-Lang: LLM Programming Language and Runtime

https://learn.convo-lang.ai/
61•handfuloflight•12h ago•29 comments