frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Project Gutenberg – keeps getting better

https://www.gutenberg.org/
624•JSeiko•6h ago•160 comments

WinCE64 – Windows CE 2.11 for N64

https://github.com/ThroatyMumbo/WinCE64
111•xyru•3h ago•38 comments

I believe there are entire companies right now under AI psychosis

https://twitter.com/mitchellh/status/2055380239711457578
442•reasonableklout•2h ago•185 comments

The Zulip Foundation

https://blog.zulip.com/2026/05/15/announcing-zulip-foundation/
141•boramalper•4h ago•39 comments

A 0-click exploit chain for the Pixel 10

https://projectzero.google/2026/05/pixel-10-exploit.html
310•happyhardcore•9h ago•135 comments

California bill would require patches or refunds when online games shut down

https://arstechnica.com/gaming/2026/05/bill-to-keep-online-games-playable-clears-key-hurdle-in-ca...
189•Lihh27•3h ago•110 comments

Palantir has hired more than 30 senior UK Government officials

https://www.thenational.scot/news/26055524.palantir-hired-30-senior-uk-government-officials/
159•Symbiote•2h ago•28 comments

Naturally Occurring Quasicrystals

https://johncarlosbaez.wordpress.com/2026/05/14/naturally-occurring-quasicrystals/
10•lukeplato•1d ago•0 comments

Microscale Thermite Reaction

https://sciencedemonstrations.fas.harvard.edu/presentations/microscale-thermite-reaction
38•krunck•2h ago•14 comments

The sigmoids won't save you

https://www.astralcodexten.com/p/the-sigmoids-wont-save-you
110•Tomte•12h ago•144 comments

U.S. DOJ demands Apple and Google unmask over 100k users of car-tinkering app

https://macdailynews.com/2026/05/15/u-s-doj-demands-apple-and-google-unmask-over-100000-users-of-...
308•tencentshill•5h ago•196 comments

I designed a nibble-oriented CPU in Verilog to build a scientific calculator

https://github.com/gdevic/FPGA-Calculator
67•gdevic•5h ago•21 comments

Meta to receive $3.3B in tax breaks for its $10B Louisiana data center

https://fortune.com/2026/05/14/meta-data-center-tax-break-hyperion-louisiana/
146•logickkk1•3h ago•125 comments

Waymo updates 3,800 robotaxis after they 'drive into standing water'

https://www.cnbc.com/2026/05/12/waymo-recalls-3800-robotaxis-after-able-drive-into-standing-water...
133•drob518•4h ago•123 comments

Image-blaster: Creates 3D environments, SFX, and meshes from a single image

https://github.com/neilsonnn/image-blaster
114•MattRogish•7h ago•23 comments

Explore Wikipedia Like a Windows XP Desktop

https://explorer.samismith.com/
468•smusamashah•14h ago•109 comments

ABC News has taken all FiveThirtyEight articles offline

https://twitter.com/baseballot/status/2055309076209492208
169•cmsparks•3h ago•80 comments

Hightouch (YC S19) Is Hiring

https://hightouch.com/careers
1•joshwget•5h ago

The nuclear-physics infrastructure behind PET scans

https://www.lanl.gov/media/publications/1663/proton-power-for-public-health
29•LAsteNERD•2d ago•1 comments

O(x)Caml in Space

https://gazagnaire.org/blog/2026-05-14-borealis.html
219•yminsky•11h ago•51 comments

London Police Deploy Facial Recognition at Protest for First Time

https://reclaimthenet.org/london-police-deploy-facial-recognition-at-protest-for-first-time
63•Cider9986•2h ago•41 comments

Show HN: Watch a neural net learn to play Snake

https://ppo.gradexp.xyz/
103•c1b•1d ago•25 comments

ASCII by Jason Scott

https://ascii.textfiles.com/
134•bookofjoe•8h ago•21 comments

Radicle: Sovereign {code forge} built on Git

https://radicle.dev/
202•KolmogorovComp•10h ago•64 comments

Feedr v0.8.0 – a TUI RSS reader, now read the full article from your terminal

https://github.com/bahdotsh/feedr
33•bahdotshxx•5h ago•14 comments

Building a UMatrix Replacement

https://lock.cmpxchg8b.com/umatrix.html
30•taviso•4h ago•8 comments

Zenith: a live local-first fixed viewport planetarium

https://smorgasb.org/zenith-tech/
61•surprisetalk•7h ago•19 comments

A new book on Steve Jobs at NeXT

https://spectrum.ieee.org/steve-jobs-next-computer
167•rbanffy•12h ago•140 comments

High dimensional geometry is transforming the MRI industry (2017) [pdf]

https://www.ams.org/government/DonohoPresentation06-28-17Final.pdf
86•nill0•9h ago•30 comments

Judge Bars Kars4Kids from Broadcasting 'Misleading' Ads in California

https://www.nytimes.com/2026/05/15/us/kars4kids-advertising-banned-california.html
85•xnx•3h ago•46 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?