frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

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...
81•Levitating•1h ago•22 comments

JetKVM Mini

https://jetkvm.com/blog/introducing-jetkvm-mini
350•taubek•8h ago•135 comments

'Fingerprints' inside the Sun could reveal if it once swallowed a planet

https://ras.ac.uk/news-and-press/research-highlights/fingerprints-inside-sun-could-reveal-if-it-o...
64•blincoln•4h ago•17 comments

Libraries Run Rust Inside Python (With PyO3)

https://belderbos.dev/blog/how-libraries-run-rust-inside-python/
8•lumpa•46m ago•4 comments

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

https://devblogs.microsoft.com/oldnewthing/20260910-00/?p=112689
31•ibobev•3h ago•11 comments

Reverse engineering my e-scooter and rewriting the firmware in Rust

https://bensimms.moe/reverse-engineering-scooter/
121•vinhnx•3d ago•39 comments

CUDA for AMD on Windows

https://github.com/Speedstu/CUDA-for-AMD-Windows
19•chiassedu80•1h ago•1 comments

Why are AI agents lying, cheating and coordinating?

https://yoshuabengio.org/en/publication/why-are-ai-agents-lying-cheating-and-coordinating
450•jonifico•14h ago•519 comments

TailTalk: A modern async user space AppleTalk stack with Rust and Tokio

https://github.com/FeralFirmware/TailTalk/
43•zdw•16h ago•11 comments

Making Startups Powerful

https://paulgraham.com/powerful.html
12•tosh•2h ago•0 comments

Predictive intelligence to anticipate anything.

https://prior.chat/
4•onemarkos•58m ago•4 comments

Cpak – OCI application package format for Linux desktops, servers and devices

https://cpak.it/
3•xlmnxp•1h ago•1 comments

Homebrew 7.0.0

https://brew.sh/2026/09/13/homebrew-7.0.0/
349•mikemcquaid•7h ago•141 comments

Aligned to whom?

https://hyperbo.la/w/aligned-to-whom/
139•lopopolo•12h ago•79 comments

Key symbols we lost to time, pt. 1: The PC side

https://unsung.aresluna.org/key-symbols-we-lost-to-time-pt-1-the-pc-side/
31•leephillips•2h ago•3 comments

Make your first edit to OpenStreetMap

https://high5apps.github.io/josm-plugin-website-wizard/
542•juliantigler•23h ago•134 comments

On Binary Translation and Its Consequences

https://chipsandcheese.com/p/on-binary-translation-and-its-consequences
26•matt_d•2d ago•9 comments

Alan's Random Insult Generator (1999)

https://alanbellows.com/experiments/insult/index.html
6•DamnInteresting•2d ago•3 comments

The Interim Computer Museum

https://icm.museum/
148•mulmen•13h ago•17 comments

Ode to Metadata

https://www.autodidacts.io/ode-to-metadata/
9•surprisetalk•3d ago•1 comments

Base84 deserves a place in file names

https://00f.net/2026/09/09/base84/
30•kevvok•2d ago•15 comments

US Customs supervisor busted for stealing hardware from Homeland Security PCs

https://www.tomshardware.com/pc-components/us-customs-supervisor-busted-for-stealing-core-i7-cpus...
75•Levitating•2h ago•59 comments

Revolut confirms customer data breach through fake government requests

https://techcrunch.com/2026/09/12/revolut-confirms-customer-data-breach-through-fake-government-r...
128•tdrz•6h ago•87 comments

Apple iPod Engraver (2019)

https://dunstanorchard.com/apple-ipod-engraver/
260•NaOH•4d ago•68 comments

I Added a Non-Wi-Fi Mitsubishi AC to Home Assistant

https://medium.com/@ivangomezarnedo/how-i-added-a-non-wi-fi-mitsubishi-ac-to-home-assistant-22770...
131•ichacas•3d ago•64 comments

Don't be the out of touch Kung Fu master

https://twitter.com/ID_AA_Carmack/status/2098443262214230095
210•dsubburam•18h ago•281 comments

Paul A. M. Dirac, Interview by Friedrich Hund (1982) [video]

https://www.youtube.com/watch?v=xJzrU38pGWc
21•emerongi•2h ago•1 comments

Nvidia is the central bank of AI

https://www.economist.com/interactive/briefing/2026/09/03/nvidia-is-the-central-bank-of-ai
533•tolugenius•1d ago•382 comments

Stabilizing Rust's Never Type

https://lwn.net/SubscriberLink/1091015/d9e48318ed242b41/
228•cjd8•4d ago•87 comments

A wandering black hole caught feeding on the run

https://phys.org/news/2026-08-black-hole-caught.html
56•wglb•12h ago•38 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?