frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

507 Mechanical Movements

https://507movements.com/
293•helloplanets•3h ago•37 comments

Small Models Have Arrived

https://calv.info/small-models-have-arrived
128•tosh•1h ago•45 comments

Two German airport workers die of malaria after 'mosquito arrives on plane'

https://www.bbc.com/news/articles/cz6zwgg9y8go
30•vinni2•21m ago•6 comments

Saving 100 terabytes of memory by optimizing 1.1.1.1's DNS cache

https://blog.cloudflare.com/dns-cache-memory-optimization-1111/
47•TangerineDream•37m ago•10 comments

Microduck

https://pollen-robotics.com/microduck/
333•robotswantdata•6h ago•131 comments

Emacs 31: An unofficial guide to Markdown-ts-mode

https://rahuljuliato.com/posts/markdown-ts-mode-emacs-31
111•RahulMJ•4h ago•44 comments

Nvidia projects $673B in sales as AI demand widens

https://forgeeks.net/nvidia-673-billion-ai-growth-forecast/
74•kuuuzya•2h ago•57 comments

Bild AI (YC W25) Is Hiring Product and AI Engineers

https://www.bild.ai/jobs
1•rooppal•54m ago

Decompiling a Nintendo 64 Game in 84 Days

https://blog.chrislewis.au/decompiling-a-nintendo-64-game-in-84-days/
57•knackers•2h ago•16 comments

Show HN: My Claude quota ran out in 10 minutes, so I made a tool to find out why

https://github.com/kelviq/tare
31•sachinneravath•1h ago•11 comments

CoMaps integration with the wider FLOSS ecosystem

https://www.comaps.app/news/2026-08-23/comaps-integration-with-the-wider-floss-ecosystem/
109•janandonly•4h ago•15 comments

Launch HN: Salem Robotics (YC S26) – Software for industrial inspection robots

24•Salem_robotics•2h ago•16 comments

Launching Route 53 Files

https://www.daemonology.net/blog/2026-08-27-Launching-Route-53-Files.html
51•louis-paul•3h ago•18 comments

The turbulent AI era is here

https://www.gatesnotes.com/work/make-ai-work-for-everyone/reader/a-turbulent-ai-era-and-critical-...
37•nanna•1d ago•284 comments

MIT's Ad Hoc Committee on AI Use in Teaching, Learning, and Research Training

https://aiandeducation.mit.edu/report/
73•pbui•4h ago•47 comments

Suica, Japan's First IC Transit Card

https://www.tokyodev.com/articles/the-story-of-suica
62•zdw•1h ago•43 comments

Yayoi Kusama has died

https://www.bbc.com/news/articles/c3v4k0re3vwo
105•herbertl•2h ago•11 comments

The Teaser Period: Why the AI Boom Is Hitting a Reset Wall

https://www.groundbrkr.com/p/the-teaser-period-why-the-ai-boom
63•gtzi•3h ago•56 comments

A curmudgeon tries a language server

https://entropicthoughts.com/curmudgeon-tries-language-server
82•crescit_eundo•1d ago•53 comments

Why HPSC Is a Big Deal for Space Exploration

https://www.windriver.com/blog/Why-HPSC-Is-a-Big-Deal-for-Space-Exploration
12•mooreds•1h ago•4 comments

Nvidia agrees to acquire Hugging Face for $13B

https://www.businessinsider.com/nvidia-in-talks-to-buy-hugging-face-13-billion-dollars-2026-8
1718•mfiguiere•16h ago•801 comments

Aphantasia Beginner's Guide

https://aphantasia.com/guide
52•ksec•4h ago•106 comments

Grok Bot for Linux: Unofficial port of the official app (open source)

https://github.com/jakob-bu/grok-bot-linux-unofficial
21•j-bu•1h ago•8 comments

Trade (and Tariffs)

https://xkcd.com/3290/
303•throw0101d•4h ago•112 comments

Engineered yeast for converting plastic and biomass compounds into food

https://acs.digitellinc.com/live/37/session/586399
19•ehwa37•2h ago•13 comments

BRIN is 1/4570th the size of a B-tree, until 5% of rows are updated

https://deepsql.ai/blog/the-zonemap-shaped-hole-in-postgres
11•venkat971•1h ago•3 comments

Show HN: Restoredrill – proves your Postgres backups restore

https://github.com/ahmadpiran/restoredrill
30•ahmadpiran•3h ago•9 comments

Show HN: See fiber breaks linked to a map

https://react-networks-lib.rackout.net/otdr-strip
10•matt-p•1h ago•0 comments

Hollywood's Video Game Era Is Here. Will It Be Any Good?

https://www.statsignificant.com/p/hollywoods-video-game-era-is-here
22•NomNew•3h ago•36 comments

Show HN: A lightweight, stateless database for agent memory

https://polign.com/blog-edge-agent-memory
9•anuptalwalkar•1d ago•3 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?