frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Parameterized types in C using the new tag compatibility rule

https://nullprogram.com/blog/2025/06/26/
37•ingve•4h ago

Comments

unwind•1h ago
I think this is an interesting change, even though I (as someone who has loved C for 30+ years and use it daily in a professional capacity) don't immediately see a lot of use-cases I'm sure they can be found as the author demonstrates. Cool, and a good post!
Surac•45m ago
i fear this will make slopy code compile more often OK.
ioasuncvinvaer•29m ago
Can you give an example?
rwmj•40m ago
Slighty off-topic, why is he using ptrdiff_t (instead of size_t) for the cap & len types?
r1chardnl•18m ago
From one of his other blogposts. "Guidelines for computing sizes and subscripts"

  Never mix unsigned and signed operands. Prefer signed. If you need to convert an operand, see (2).
https://nullprogram.com/blog/2024/05/24/

https://www.youtube.com/watch?v=wvtFGa6XJDU

fuhsnn•28m ago
The recent #def #enddef proposal[1] would eliminate the need for backslashes to define readable macros, making this pattern much more pleasant, finger crossed for its inclusion in C2Y!

[1] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3531.txt

tialaramex•24m ago
It seems as though this makes it impossible to do the new-type paradigm in C23 ? If Goose and Beaver differ only in their name, C now thinks they're the same type so too bad we can tell a Beaver to fly even though we deliberately required a Goose ?

16-HarmonyOS5-VisionKit-VisionImageAnalyzer-Case

1•zhousg•32s ago•0 comments

15-HarmonyOS5-VisionKit-DocumentScanner-Case

1•zhousg•1m ago•0 comments

Civic Tech for Non-Experts: Building Tools That Actually Help

https://devolvedelections.co.uk/blog/civic-tech-for-non-experts/
1•Ayushi3333•1m ago•0 comments

Solidigm D5-P5336 122.88TB NVMe SSD Review – ServeTheHome

https://www.servethehome.com/solidigm-d5-p5336-122-88tb-nvme-ssd-review/
1•rbanffy•1m ago•0 comments

NASA tested a new SLS booster that may never fly, and the end of it blew off

https://arstechnica.com/space/2025/06/nasa-tested-a-new-sls-booster-that-may-never-fly-and-the-end-of-it-blew-off/
1•rbanffy•1m ago•0 comments

Texas Instruments TI-99/4a – By Paul Lefebvre

https://www.goto10retro.com/p/texas-instruments-ti-994a
1•rbanffy•7m ago•0 comments

Kubernetes: Binaries size reduction using dead code elimination

https://github.com/kubernetes/kubernetes/issues/132216
1•tuananh•9m ago•0 comments

Most of increase in natural disasters late 20th cty is due to improved reporting

https://ourworldindata.org/data-insights/most-of-the-increase-in-natural-disasters-in-the-late-20th-century-is-due-to-improved-reporting
1•mpweiher•11m ago•0 comments

RFK Jr.'s CDC panel ditches some flu shots based on anti-vaccine junk data

https://arstechnica.com/health/2025/06/rfk-jr-s-cdc-panel-ditches-some-flu-shots-based-on-anti-vaccine-junk-data/
1•chha•12m ago•0 comments

Life Expectancy in Europe Compared to the US

https://old.reddit.com/r/dataisbeautiful/comments/1lih4a0/oc_life_expectancy_in_europe_compared_to_the_us/
2•margotli•16m ago•0 comments

Just launched: FormatJSONOnline.com – a clean, fast, and private JSON formatter

https://www.indiehackers.com/post/just-launched-formatjsononline-com-a-clean-fast-and-private-json-formatter-MKiSTl0H9iteAOFE4ACc
1•anil75•16m ago•0 comments

An attempt at defining consciousness based on information theory

https://docs.google.com/document/d/1RN56GMpE8D4tc8k9Bw9YfSeJ4FZOyixkxWKpN_H0A34/edit?usp=drivesdk
1•Trenthug•18m ago•1 comments

Show HN: Prostir – A calm productivity app to plan without burnout

1•skreep•20m ago•0 comments

Rust: A programming language that grows with you, your career and your projects

https://kerkour.com/rust-grows-with-you
5•amatheus•28m ago•1 comments

The Washington Post Will Ask Some Sources to Annotate Its Stories

https://www.nytimes.com/2025/06/25/business/washington-post-annotations-comments.html
1•bookofjoe•32m ago•1 comments

Who is most at risk from the billions of leaked Facebook and Google passwords?

https://restofworld.org/2025/google-facebook-password-leak/
2•thm•32m ago•1 comments

Gemma 3n: The Developer Guide

https://simonwillison.net/2025/Jun/26/gemma-3n/
1•Bluestein•34m ago•0 comments

Free Upgrade from Single Language to Windows Home

https://www.thewindows12.com/blog/free-upgrade-from-single-language-to-windows-home/
1•iplaypc•35m ago•0 comments

Whois using AI to code? Global diffusion and impact of generative AI

https://arxiv.org/abs/2506.08945
1•nsoonhui•35m ago•0 comments

Lufin – let's upload that file–next – a next generation LUFI E2EE filesharing

1•hloth•35m ago•0 comments

I'm Not Really Stanley Lieber

https://stanleylieber.com/
1•turtleyacht•38m ago•1 comments

The Perils of 'Design Thinking'

https://www.theatlantic.com/books/archive/2025/06/invention-of-design-maggie-gram-book-review/683302/
1•kawera•41m ago•0 comments

MouthPad – the first hands-free touchpad

https://www.augmental.tech/
1•weinzierl•42m ago•0 comments

Shoeless H.C. Andersen

https://medium.com/luminasticity/shoeless-h-c-andersen-301ca081f61b
1•bryanrasmussen•43m ago•1 comments

Following fraud allegations, payments provider worldline shares drops 41%

https://www.reuters.com/business/worldline-shares-fall-over-20-after-media-investigation-2025-06-25/
1•pploug•43m ago•0 comments

Google, Bing to Begin Indexing Instagram Photos

https://previsible.io/seo-strategy/google-indexing-instagram-seo-implications/
1•jmsflknr•47m ago•1 comments

Natural Languages, Formal Languages, and AI Testing

https://hernan.amiune.com/nano-blog/#!20250208-natural-languages-formal-languages-and-ai-testing
1•amiune•47m ago•0 comments

How the URL Was Built

https://www.welcometothejungle.com/en/collections/behind-the-code/coder-stories/articles/btc-url-internet
2•smartmic•48m ago•0 comments

Ask HN: How do you decide to split a long blog post to multiple posts?

1•pinter69•48m ago•0 comments

110M subs YouTuber pewdiepie degooglifies his life [video]

https://www.youtube.com/watch?v=u_Lxkt50xOg
2•bottomotto•49m ago•1 comments