frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Attention Kmart shoppers – music played over the store PA

https://www.attentionshoppers.net/
264•ChrisArchitect•6h ago•71 comments

FP64 Is All You Want, INT8 Is All You Need, FP4/6/8 Is All You Have

https://arxiv.org/abs/2609.37693
44•peter_d_sherman•2h ago•6 comments

Beating Floating Point at Its Own Game: Posit Arithmetic [pdf]

http://www.johngustafson.net/pdfs/BeatingFloatingPoint.pdf
46•xenophonf•3h ago•9 comments

People who refuse to let their gadgets die

https://www.theatlantic.com/technology/2026/10/meet-the-upgrade-holdouts/688874/
61•FinnLobsien•2d ago•44 comments

Optimizing Rustc's next trait solver

https://donsz.nl/blog/optimizing-rustcs-next-trait-solver
106•g0xA52A2A•3d ago•8 comments

Show HN: I made a tiny live replica of SFO

https://tinysfo.com/
460•eiiot•12h ago•133 comments

Elephant in the Server Room: >50% of WordPress Sites Run PHP That's EOL by Jan

https://adamgreenough.net/blog/wordpress-php-versions/
98•xadz•7h ago•38 comments

PocketBase has moved off GitHub

https://github.com/pocketbase/pocketbase/issues/7872
307•p2detar•10h ago•138 comments

The importance of understanding what the fuck is going on

https://blog.jsbarretto.com/post/understanding
370•notfried•11h ago•231 comments

The M-Vave FM-1 FM Synthesizer and the Success of Open Source

https://www.hashbangcode.com/article/m-vave-fm-1-fm-synthesizer-and-success-open-source
26•speckx•4d ago•4 comments

Guitar Hero, but for Hand Bells

https://dingdonghero.com
34•devbytes•3d ago•5 comments

Gmail "Send as" ends January 2027

https://emailfa.st/blog/gmail-send-as-ending-cloudflare-email-routing
412•tombakerbuilds•12h ago•226 comments

Show HN: RK3588 QEMU emulator running unmodified Armbian images

https://github.com/petabyt/clanker-rkqemu
26•petabyt•4h ago•7 comments

The Rise of Low Precision Floating Point

https://arxiv.org/abs/2611.00301
36•matt_d•4d ago•5 comments

Silently degrading the model's capabilities is sabotage

https://twitter.com/TimSweeneyEpic/status/2126682647862862063
820•tosh•17h ago•334 comments

Computer Disease (2020)

https://blog.adafruit.com/2020/01/13/richard-feynman-on-computer-disease/
238•jvanderbot•15h ago•91 comments

Audible removes download option for purchased audiobooks

https://consumerrights.wiki/w/Audible_removes_download_option_for_purchased_audiobooks
1321•DeepLogin•21h ago•487 comments

Hacker Laws

https://github.com/dwmkerr/hacker-laws
35•Olshansky•5h ago•4 comments

Lua as a Query Language

https://remy.wang/blog/lua-ql.html
71•remywang•8h ago•17 comments

The Engineering of Smartphone Cameras

https://www.pencilofrays.com/smartphone-lens/
43•nbernard•3d ago•20 comments

Doug Lea's Malloc

https://gee.cs.oswego.edu/dl/html/malloc.html
34•grep_it•3d ago•14 comments

Show HN: Archive95, an independent archive of the early web

https://archive95.net/
107•WumboSpasm•11h ago•14 comments

Cryptography Incident Review Group

https://cirg.org/
66•heavensteeth•7h ago•31 comments

Conductive Dyes Could Turn Hair into EEG Electrodes

https://spectrum.ieee.org/hair-dye-eeg-electroencephalography
53•dverlaeckt80•2d ago•13 comments

Tilapia are multi-jawed monsters

https://signoregalilei.com/2026/11/01/tilapia-are-multi-jawed-monsters/
87•surprisetalk•3d ago•26 comments

What Changes When You Upgrade from PostgreSQL 18 to 19

https://rishigoomar.com/postgresql-19-what-changes-when-you-upgrade-from-18
104•rgoomar•2d ago•27 comments

M 5.0 earthquake - 5 km SW of Manhattan Beach, CA

https://earthquake.usgs.gov/earthquakes/eventpage/ci41581136/executive
196•dboreham•15h ago•122 comments

Rez Dreamcast, Its Prototypes: When Psychedelic Gaming Came to Consoles

https://www.sega-dreamcast-info.com/en/rez-dreamcast-development-history-prototypes-minidv-archive
110•zdw•4d ago•39 comments

An Update from Lapham's Quarterly

https://laphamsquarterly.substack.com/p/three-years-on-help-us-with-the-next
38•m-hodges•3h ago•1 comments

Show HN: Peat, a fork of Neon's serverless Postgres, on Postgres 18 and 19

https://github.com/Zabaca/peat
81•uptownhr•10h ago•13 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?