frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Pro-democracy HK tycoon Jimmy Lai convicted in national security trial

https://www.bbc.com/news/articles/cp844kjj37vo
174•onemoresoop•59m ago•77 comments

Carrier Landing in Top Gun for the NES

https://relaxing.run/blag/posts/top-gun-landing/
211•todsacerdoti•3h ago•84 comments

$50 PlanetScale Metal Is GA for Postgres

https://planetscale.com/blog/50-dollar-planetscale-metal-is-ga-for-postgres
79•ksec•1h ago•39 comments

P-computers can solve spin-glass problems faster than quantum systems

https://news.ucsb.edu/2025/022239/new-ucsb-research-shows-p-computers-can-solve-spin-glass-proble...
30•magoghm•1w ago•8 comments

US Tech Force

https://techforce.gov/
15•purple_ferret•16m ago•13 comments

Avoid UUIDv4 Primary Keys

https://andyatkinson.com/avoid-uuid-version-4-primary-keys
217•pil0u•7h ago•226 comments

It seems that OpenAI is scraping [certificate transparency] logs

https://benjojo.co.uk/u/benjojo/h/Gxy2qrCkn1Y327Y6D3
90•pavel_lishin•3h ago•62 comments

Speech and Language Processing (3rd ed. draft)

https://web.stanford.edu/~jurafsky/slp3/
37•atomicnature•1w ago•8 comments

Thousands of U.S. farmers have Parkinson's. They blame a deadly pesticide

https://www.mlive.com/news/2025/12/thousands-of-us-farmers-have-parkinsons-they-blame-a-deadly-pe...
228•bikenaga•2h ago•153 comments

Cosmic-ray bath in a past supernova gives birth to Earth-like planets

https://www.science.org/doi/10.1126/sciadv.adx7892
6•toomuchtodo•34m ago•0 comments

Adafruit: Arduino’s Rules Are ‘Incompatible With Open Source’

https://thenewstack.io/adafruit-arduinos-rules-are-incompatible-with-open-source/
366•MilnerRoute•23h ago•196 comments

Former CIA spy: agency's tools can takeover your phone, TV, and even your car

https://currentindia.com/channels/timesofindia/toi-world/yes-they-can-former-cia-spy-warns-agency...
21•voxleone•49m ago•5 comments

DNA Learning Center: Mechanism of Replication 3D Animation

https://dnalc.cshl.edu/resources/3d/04-mechanism-of-replication-advanced.html
63•timschmidt•1w ago•15 comments

Roomba maker goes bankrupt, Chinese owner emerges

https://news.bloomberglaw.com/bankruptcy-law/robot-vacuum-roomba-maker-files-for-bankruptcy-after...
496•nreece•16h ago•588 comments

Unscii

http://viznut.fi/unscii/
264•Levitating•13h ago•34 comments

Optery (YC W22) Hiring CISO, Release Manager, Tech Lead (Node), Full Stack Eng

https://www.optery.com/careers/
1•beyondd•5h ago

If AI replaces workers, should it also pay taxes?

https://english.elpais.com/technology/2025-11-30/if-ai-replaces-workers-should-it-also-pay-taxes....
388•PaulHoule•17h ago•623 comments

Samsung may end SATA SSD production soon

https://www.techradar.com/computing/storage-backup/looking-for-a-cheap-ssd-dont-wait-samsung-coul...
53•Krontab•2h ago•39 comments

Arborium: Tree-sitter code highlighting with Native and WASM targets

https://arborium.bearcove.eu/
181•zdw•13h ago•33 comments

Invader: Where to Spot the 8-Bit Street Art in London

https://londonist.com/london/art-and-photography/invader-where-to-spot-the-8-bit-street-art-in-lo...
52•zeristor•1w ago•18 comments

Ask HN: What Are You Working On? (December 2025)

354•david927•1d ago•1140 comments

We Put Flock Under Surveillance: Go Make Them Behave Differently [video]

https://www.youtube.com/watch?v=W420BOqga_s
53•huvarda•2h ago•7 comments

Even in a Populist Moment, Democrats Are Split on the Problem of Corporate Power

https://www.thebignewsletter.com/p/even-in-a-populist-moment-democrats
11•connor11528•42m ago•1 comments

Finnix

https://en.wikipedia.org/wiki/Finnix
4•fuzztester•1w ago•1 comments

SoundCloud has banned VPN access

https://old.reddit.com/r/SoundCloudMusic/comments/1pltd19/soundcloud_just_banned_vpn_access/
187•empressplay•14h ago•136 comments

AI agents are starting to eat SaaS

https://martinalderson.com/posts/ai-agents-are-starting-to-eat-saas/
292•jnord•17h ago•290 comments

$5 whale listening hydrophone making workshop

https://exclav.es/2025/08/03/dinacon-2025-passive-acoustic-listening/
83•gsf_emergency_6•4d ago•27 comments

The Whole App is a Blob

https://drobinin.com/posts/the-whole-app-is-a-blob/
128•valzevul•13h ago•73 comments

John Varley has died

http://floggingbabel.blogspot.com/2025/12/john-varley-1947-2025.html
141•decimalenough•14h ago•54 comments

The Java Ring: A Wearable Computer (1998)

https://www.nngroup.com/articles/javaring-wearable-computer/
39•cromulent•5d ago•33 comments
Open in hackernews

Faster sorting with SIMD CUDA intrinsics (2024)

https://winwang.blog/posts/bitonic-sort/
92•winwang•7mo ago
Code at https://github.com/wiwa/blog-code/

Comments

ashvardanian•7mo 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•7mo 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•7mo 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•7mo 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•7mo ago
Parallel compares: https://graphics.stanford.edu/~seander/bithacks.html#ZeroInW...
DennisL123•7mo 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•7mo 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•7mo 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•7mo 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•7mo ago
As someone who doesn't know very much about graphics (ironically), you're welcome and hope it helps!
fourseventy•7mo ago
What are the biggest use cases of GPU accelerated sorting?