frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

iPhone Duo

https://www.apple.com/iphone-duo/
1061•thecosmicfrog•11h ago•1893 comments

Show HN: What if the speed of light was 5 km/h?

https://rivendell.dmitrybrant.com/relativity/
150•dmitrybrant•3h ago•69 comments

Shopify acquires Tailwind

https://tailwindcss.com/blog/tailwind-is-joining-shopify
970•EdwinHoksberg•16h ago•379 comments

ESP32 Bit Pirate Hardware Hacking Kit with Web Tools That Speaks Every Protocol

https://geo-tp.github.io/ESP32-Bit-Pirate/
38•geotp•3d ago•3 comments

What do Visa and Mastercard do? An intro to card networks

https://tautology.town/2026/06/01/card-networks.html
462•evakhoury•1d ago•252 comments

Version Control Second Coming

https://psantosl.github.io/posts/version-control-second-coming/
10•bananaboy•2d ago•0 comments

Growing proof that autonomous cars save lives

https://spectrum.ieee.org/are-self-driving-cars-safe
296•bookofjoe•12h ago•492 comments

Training a 3.8B LLM to 0.384 CORE for $998 – Hugo Vergnes

https://hugovergnes.github.io/little-lm-3-8b/
36•Anon84•3h ago•5 comments

Show HN: Compute polynomials twice as fast

https://thomasahle.com/fast-polynomials/
53•thomasahle•20h ago•10 comments

AirPods 5

https://www.apple.com/newsroom/2026/09/apple-introduces-airpods-5-with-best-in-class-open-ear-act...
422•awad•11h ago•332 comments

No Man's Sky Cosmos

https://www.nomanssky.com/cosmos-update/
341•Limb•13h ago•356 comments

iPhone 18 Pro and iPhone 18 Pro Max

https://www.apple.com/newsroom/2026/09/apple-debuts-iphone-18-pro-and-iphone-18-pro-max/
328•meetpateltech•12h ago•347 comments

GPT-6 Astra, looped transformers, and hidden reasoning

https://magazine.sebastianraschka.com/p/gpt-6-astra-looped-transformers-and
380•ModelForge•14h ago•131 comments

Automattic's board forces CEO Matt Mullenweg into leave of absence

https://techcrunch.com/2026/09/09/automattics-board-forces-ceo-matt-mullenweg-into-leave-of-absence/
158•LeoPanthera•5h ago•142 comments

A Stupid Idea for AI Alignment We Came with by Looking at Specification Gaming

https://slimemoldtimemold.com/2026/08/05/a-stupid-idea-for-ai-alignment-we-came-up-with-by-lookin...
36•cpeterso•3h ago•22 comments

Factoring RSA 260

https://cognition.com/blog/factoring-rsa-260
71•samyok•9h ago•9 comments

Qwen 3.8 follows GPT-5.5 Pro reasoning prefills

https://gist.github.com/wsxiaoys/e0286dc6bb624ff5fdf49e7f4c528ba3
199•wsxiaoys•12h ago•77 comments

Desert Ant Labs: local, fast models that run on device

https://desertant.com/blog/introducing-desert-ant-labs/
424•willwhitedc•17h ago•93 comments

Apple Watch Series 12

https://www.apple.com/newsroom/2026/09/introducing-apple-watch-series-12-with-the-all-new-health-...
243•Lealen•11h ago•288 comments

Rivian's gambit for full autonomy

https://spectrum.ieee.org/rivian-self-driving
61•1970-01-01•1d ago•74 comments

Aardman (Wallace and Gromit) Is Selling Its Original Movie Puppets

https://gizmodo.com/aardman-is-selling-its-original-movie-puppets-this-month-2000807968
21•Gaishan•3d ago•7 comments

GNU Radio in the browser

https://gnuradioworld.com/
190•kristianpaul•13h ago•24 comments

How I advertise malicious software on Google Ads

https://xlii.space/eng/malicious-software-on-google-ads/
379•xlii•17h ago•224 comments

The UN challenges five centuries of cartography

https://www.not-ship.com/united-nations-map/
70•speckx•13h ago•113 comments

Understanding the recent DDoS attack against Read the Docs

https://about.readthedocs.com/blog/2026/09/2026-ddos-attack/
179•davidfischer•13h ago•58 comments

The Kuycon P20 – 28" 4500x3000px 3:2 monitor

https://taoofmac.com/space/reviews/2026/09/06/1800
37•zdw•3d ago•30 comments

Planet Labs' open satellite feed

https://tech.marksblogg.com/planet-labs-open-satellite-feed.html
163•marklit•13h ago•28 comments

Blizzard Workers Win Historic Union Contract

https://www.gamespot.com/articles/blizzard-workers-win-historic-union-contract-that-could-set-a-n...
162•dbg31415•7h ago•51 comments

Use Vsock with Libzmq

https://blog.remijouan.net/posts/libzmq-vsock-pyzmq/
42•remijouannet•2d ago•5 comments

Bespoke: A programming language for people who say please

https://blog.hofstede.it/bespoke-a-programming-language-for-people-who-say-please/
152•birdculture•3d ago•37 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?