frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Fable 5.1 Solves the Cyphral Distich, a 370-year-old cipher

https://www.vals.ai/blogs/fable-solves-cyphral-distich
662•u1hcw9nx•8h ago•284 comments

Spaceships (Reverse Asteroid)

https://spaceships.treybastian.com/
113•zdw•4d ago•21 comments

Why is Google still serving dodgy ads?

https://www.atomic14.com/2026/09/13/why-is-google-still-serving-dodgy-ads
694•iamflimflam1•11h ago•321 comments

Registration without a phone number on Signal will use zero-knowledge proofs

https://community.signalusers.org/t/registration-without-a-phone-number/2222?page=10
157•Cider9986•7h ago•74 comments

The case against JPEG XL

https://giannirosato.com/blog/post/case-against-jxl/
70•contact9879•4h ago•91 comments

Open-Source AI and Open Models Reading List

https://www.interconnects.ai/p/open-source-ai-reading-list
60•simonpure•4h ago•6 comments

Apple's Dimensional Drawings

https://developer.apple.com/accessories/dimensional-drawings/
92•herbertl•4h ago•22 comments

Astra and Fable still hack on simple variants of alignment evals from 2025

https://www.lesswrong.com/posts/munJKF7iWMsWJLAH2/astra-and-fable-still-hack-on-simple-variants-o...
407•Levitating•14h ago•182 comments

The Malicious Use of Artificial Intelligence

https://arxiv.org/abs/1802.07228
28•rasengan0•3h ago•7 comments

Julia 1.13 highlights

https://julialang.org/blog/2026/09/julia-1.13-highlights/
184•eigenspace•3d ago•16 comments

Data collected by cars and sold to third parties

https://www.theverge.com/column/994172/your-car-is-selling-your-data
354•bookofjoe•15h ago•189 comments

Writing a better reality: The case for optimistic sci-fi

https://honisoit.com/2022/03/writing-a-better-reality-the-case-for-optimistic-sci-fi/
37•andsoitis•4h ago•18 comments

Mullenweg has returned as CEO after attempted board ouster

https://techcrunch.com/2026/09/12/automattic-confirms-mullenweg-has-returned-as-ceo-after-attempt...
86•ilamont•8h ago•137 comments

Ask HN: What are you working on? (September 2026)

120•david927•11h ago•313 comments

Rope, twine and thread: Invisible technologies of the Stone Age

https://knowablemagazine.org/content/article/society/2026/prehistory-lost-threads
16•knowablemag•2d ago•1 comments

Flawed routers flood University of Wisconsin internet time server (2003)

https://pages.cs.wisc.edu/~plonka/netgear-sntp/
73•walrus01•8h ago•8 comments

Show HN: EterDB, a Postgres fork that makes it easy to recover from incidents

https://eterdb.com/
11•fdeth•3d ago•2 comments

The GDR and Vietnam: From Fake Coffee to Coffee Empire

https://www.katjahoyer.uk/p/the-gdr-and-vietnam-from-fake-coffee
47•NaOH•3d ago•12 comments

Review a pull request by booting it

https://fzakaria.com/2026/09/09/review-a-pull-request-by-booting-it
3•lalitmaganti•3d ago•0 comments

Making Startups Powerful

https://paulgraham.com/powerful.html
188•tosh•14h ago•84 comments

Why is the x86 undefined instruction called ud2? Why 2?

https://devblogs.microsoft.com/oldnewthing/20260910-00/?p=112689
235•ibobev•16h ago•53 comments

"Chilling" warning or overreaction? AI bioweapons report divides experts

https://www.science.org/content/article/chilling-warning-or-overreaction-ai-bioweapons-report-div...
23•sbulaev•5h ago•4 comments

Show HN: Exploring the intersection of prediction markets and social media

https://www.thevidmarket.com/
9•ryanpere2298•3h ago•1 comments

CUDA for AMD on Windows

https://github.com/Speedstu/CUDA-for-AMD-Windows
147•chiassedu80•14h ago•75 comments

The Coming War on General Computation (2011)

https://en.wikisource.org/wiki/The_Coming_War_on_General_Computation
74•gregsadetsky•5h ago•17 comments

Why is privacy so hard? (2019)

https://cacm.acm.org/blogcacm/why-is-privacy-so-hard/
35•andsoitis•7h ago•42 comments

Necker, 1832: "An optical phænomenon on viewing a figure of a geometrical solid"

https://zenodo.org/records/1430991
14•akkartik•2d ago•3 comments

Reverse-Engineering Claude Web's MicroVM: Uncovering Anthropic's Hidden Antspace

https://aprilnea.me/en/blog/reverse-engineering-claude-code-antspace
72•rzk•3d ago•16 comments

Chess.com Leak Exposes 7.3M Users, Evidence Points to Scraping

https://securityaffairs.com/197174/breaking-news/chess-com-leak-exposes-7-3-million-users-evidenc...
16•kristianp•1h ago•3 comments

Bad code is kudzu

https://vickiboykis.com/2026/09/01/bad-code-is-kudzu/
54•surprisetalk•3d ago•14 comments
Open in hackernews

Faster sorting with SIMD CUDA intrinsics (2024)

https://winwang.blog/posts/bitonic-sort/
92•winwang•1y ago
Code at https://github.com/wiwa/blog-code/

Comments

ashvardanian•1y ago
The article covers extremely important CUDA warp-level synchronization/exchange primitives, but it's not what is generally called SIMD in the CUDA land .

Most "CUDA SIMD" intrinsics are designed to process a 32-bit data pack containing 2x 16-bit or 4x 8-bit values (<https://docs.nvidia.com/cuda/cuda-math-api/cuda_math_api/gro...>). That significantly shrinks their applicability in most domains outside of video and string processing. I've had pretty high hopes for DPX on Hopper (<https://developer.nvidia.com/blog/boosting-dynamic-programmi...>) instructions and started integrating them in StringZilla last year, but the gains aren't huge.

winwang•1y ago
Oh wow, TIL, thanks. I usually call stuff like that SWAR, and every now-and-then I try to think of a way to (fruitfully) use it. The "SIMD" in this case was just an allusion to warp-wide functions looking like how one might use SIMD in CPU code, as opposed to typical SIMT CUDA.

Also, StringZilla looks amazing -- I just became your 1000th Github follower :)

ashvardanian•1y ago
Thanks, appreciate the gesture :)

Traditional SWAR on GPUs is a fascinating topic. I've begun assembling a set of synthetic benchmarks to compare DP4A vs. DPX (<https://github.com/ashvardanian/less_slow.cpp/pull/35>), but it feels incomplete without SWAR. My working hypothesis is that 64-bit SWAR on properly aligned data could be very useful in GPGPU, though FMA/MIN/MAX operations in that PR might not be the clearest showcase of its strengths. Do you have a better example or use case in mind?

winwang•1y ago
I don't -- unfortunately not too well-versed in this field! But I was a bit fascinated with SWAR after I randomly thought of how to prefix-sum with int multiplication, later finding out that it is indeed an old trick as I suspected (I'm definitely not on this thread btw): https://mastodon.social/@dougall/109913251096277108

As for 64-bit... well, I mostly avoid using high-end GPUs, but I was of the impression that i64 is just simulated. In fact, I was thinking of using the full warp as a "pipeline" to implement u32 division (mostly as a joke), almost like anti-SWAR. There was some old-ish paper detailing arithmetic latencies in GPUs and division was approximately more than 32x multiplication (...or I could be misremembering).

bobmcnamara•1y ago
Parallel compares: https://graphics.stanford.edu/~seander/bithacks.html#ZeroInW...
DennisL123•1y ago
Interesting stuff. Not sure if I read this right that it‘s 16 und 32 bit values of integers that get sorted. If yes, I‘d love to see if the GPU implementation can beat a competitive Radix sort implementation on a CPU.
winwang•1y ago
It's 32 32-bit values which get sorted. I don't think a GPU sort would beat a CPU sort at this scale, even if you don't take kernel launch time into account. CPUs are simply too fast for (super-)small data, especially with AVX-512. But if we're talking about a larger amount of data, that would be a different story, i.e. as part of a normal gpu mergesort.
maeln•1y ago
It is also useful if your data already lives on the GPU memory. For example, when you need to z-sort a bunch of particles in a 3d renderer particle system.
exDM69•1y ago
A 32 way GPU sorting algorithm might be just what I need for sorting and deduplicating triangle id's in a visibility buffer renderer I am working on.

Thanks for sharing.

winwang•1y ago
As someone who doesn't know very much about graphics (ironically), you're welcome and hope it helps!
fourseventy•1y ago
What are the biggest use cases of GPU accelerated sorting?