frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: SimCity, but with Permits

https://permit.petercai.com/
601•pcai•8h ago•305 comments

Learning to live with Waymos

https://www.newyorker.com/magazine/2026/10/19/were-learning-to-live-with-waymos-its-going-weird
21•njrc•1h ago•28 comments

In Hilbert space, all things are quantumly possible

https://www.quantamagazine.org/in-hilbert-space-all-things-are-quantumly-possible-20260826/
11•unprovable•42m ago•0 comments

Feds suspect ransom negotiator ran ShinyHunters extortion site

https://krebsonsecurity.com/2026/10/feds-suspect-ransom-negotiator-ran-shinyhunters-extortion-site/
114•Bender•4h ago•41 comments

Good type against all odds

https://unsung.aresluna.org/good-type-against-all-odds/
23•firloop•1h ago•4 comments

Voxtral 3

https://mistral.ai/news/voxtral-3/
541•ilreb•10h ago•143 comments

The Future of CSS

https://www.joshwcomeau.com/css/interop-2027/
14•soheilpro•59m ago•0 comments

Google open-sources TorchTPU, a native PyTorch back end for TPUs

https://github.com/google-pytorch/torch_tpu
276•ilreb•10h ago•64 comments

What shall I teach my son?

https://stevekrouse.com/ends
286•Curiositry•9h ago•351 comments

Academics have a duty to defend open knowledge systems like Wikipedia

https://blogs.lse.ac.uk/impactofsocialsciences/2026/10/19/academics-have-a-duty-to-defend-open-kn...
150•jruohonen•7h ago•90 comments

SlopCodeBench 10/2026 – Opus 5.5, Astra wins overall, xhigh considered harmful

https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/benchmarki...
186•dhorthy•5d ago•81 comments

The Other Epidemic: Trying to get off benzodiazepines

https://www.thebeliever.net/the-other-epidemic/
83•gaplong•3h ago•55 comments

EMudhra Intermediate CA Compromise

https://emudhra.we-have-a-problem.com/
674•galadran•12h ago•341 comments

Apple broke an essential presentation feature of iPads

https://teddysvoronos.com/2026-10-19-apple-broke-an-essential-presentation-feature-of-ipads/
501•evanb•14h ago•259 comments

Sixteen Years After Deepwater Horizon, Deep Sea Life Shows Few Signs of Recovery

https://e360.yale.edu/digest/deepwater-horizon-deep-sea-recovery
210•speckx•10h ago•122 comments

Ofcom concedes defeat in 4chan case

https://prestonbyrne.com/2026/10/20/ofcom-concedes-defeat/
341•iamnothere•12h ago•254 comments

DeepInfer: High-performance inference framework for DeepSeek models

https://github.com/deepseek-ai/DeepInfer
2147•ggcr•17h ago•838 comments

Tsrs: A Port of TypeScript to Rust

https://blog.cloudflare.com/typescript-rust-port/
354•hnisjafx40•13h ago•173 comments

Benchmarking Bot Detection Systems Against Modern AI Agents in 2026

https://research.poh.org/bot-benchmarking-2026/
31•mdahardy•9h ago•1 comments

Upcoming Critical PHP Security Release

https://news-web.php.net/php.announce/509
102•xd•6h ago•21 comments

Google Cloud outage affects almost all banking and other operations in Europe

https://www.neowin.net/news/google-cloud-outage-takes-down-hsbc-revolut-bank-of-scotland-llyods-e...
348•paweladamczuk•16h ago•174 comments

Making Solar Panels with a Microwave [video]

https://www.youtube.com/watch?v=zcWkApGjyGM
45•jackdoe•2d ago•6 comments

To Make, or to Buy: The Economics of Decision Models

https://pncnmnp.github.io/blogs/economics-decision-models.html
7•pncnmnp•2d ago•0 comments

How I got over 300 Tor exit nodes removed

https://kaba.cx/posts/20261020_Tor/
328•kabakabakaba•13h ago•79 comments

IKEA – 3D Guide

https://sael.net/flatpack/
147•punnerud•11h ago•54 comments

What the heck is /pkg?

https://anderegg.ca/2026/10/18/what-the-heck-is-pkg
64•GavinAnderegg•2d ago•16 comments

Meta's GB{2,3}00 Cluster

https://engineering.fb.com/2026/10/19/data-center-engineering/inside-prometheus-meta-gigawatt-sca...
66•stokedmartin•1d ago•26 comments

Show HN: Dovepass – can I legally fly a drone along this exact path in SF?

https://dovepass.com
16•nimitmehra•1d ago•2 comments

PingCap TiDB Leaks

https://fulcrumsec.vg/pingcap/
27•swyx•4h ago•2 comments

My Friend Bob Cringely

https://tyma.com/my-cringe-story/
174•zinxq•12h ago•47 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?