frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Residential proxies detected on White House network

https://layer3intel.com/blog/residential-proxies-white-house-network
1065•Rasbora•13h ago•342 comments

Lemmings CSS Animation

https://markblah.github.io/lemmings/
192•MarkBlah•5h ago•39 comments

Baidu dropped ERNIE 5.5 Flash Base

https://ernie.baidu.com/release/ernie-5-5-flash-base/
17•pretext•1h ago•12 comments

Images 2.6

https://openai.com/index/introducing-images-2-6/
305•davidbarker•11h ago•176 comments

A thousand fewer paths to root

https://openai.com/index/a-thousand-fewer-paths-to-root/
347•dangelosaurus•11h ago•247 comments

Partial Operator Precedence

https://ziglang.org/devlog/2026/#2026-10-24
47•tosh•2d ago•24 comments

Kimi K3.1 Pro model weights are out

https://huggingface.co/moonshotai/Kimi-K3.1-Pro
537•abrarthought•19h ago•149 comments

Ripple-65B Preview: U.S. Open-Weight SOTA on Agentic Coding

https://www.ricursive.com/ripple
295•Philpax•15h ago•108 comments

Insects don't swarm at LED lights

https://www.birdsoutsidemywindow.org/2026/11/03/insects-dont-swarm-at-led-lights/
264•speckx•14h ago•128 comments

A new Go API for JSON

https://go.dev/blog/jsonv2
320•olexsmir•16h ago•155 comments

Altera Announces Agilex 2X, a Complete FPGA and SoC Portfolio

https://www.altera.com/newsroom/agilex-2x
31•gmays•4h ago•12 comments

TextEdit vs. Pages

https://leancrew.com/all-this/2026/10/textedit-vs-pages/
13•surprisetalk•1d ago•2 comments

Spreading Liquid with Three.js

https://mofu-dev.com/en/blog/fluid-foundation/
109•mooreds•2d ago•15 comments

Conductor is joining Meta

https://www.conductor.build/announcement
179•kenrose•16h ago•190 comments

Hacking the Xbox 360 Hypervisor Part 3: Bad Update Improvements

https://icode4.coffee/?p=1746
117•muricula•12h ago•12 comments

Ask HN: What's your current AI agentic setup?

338•eggbrain•20h ago•376 comments

Future Maintenance of Mbed TLS

https://lists.trustedfirmware.org/archives/list/mbed-tls@lists.trustedfirmware.org/thread/YPIGCB7...
46•jonesjohnson•2d ago•11 comments

AI is forcing us to pay off 40 years of technical debt

https://spectrum.ieee.org/ai-in-cybersecurity-php2shell-vulnerability
1194•pseudolus•22h ago•698 comments

Show HN: After a decade of reversing, I got co-op working in DOS Wing Commander

https://fireflyk64.github.io/wcmulti/
193•daniel_rh•15h ago•25 comments

So my ISP was hijacking my DNS

https://www.karthihegde.dev/posts/dns_tampering
92•frostbyte7•21h ago•58 comments

Replacing homepage demo media with looping HTML and CSS

https://stepshots.com/css-feature-clips
3•hauju•22h ago•0 comments

Qualcomm Cloud AI 100 Ultra – 150W AI Accelerator Card with 128GB at 548GB/s

https://www.qualcomm.com/data-center/products/cloud-ai-100-ultra
149•peter_d_sherman•14h ago•59 comments

Progress on provable inference for large language models

https://www.anthropic.com/research/provable-inference
223•ltononro•17h ago•109 comments

Guerrilla bike lanes: San Francisco makes illicit infrastructure permanent (2016)

https://99percentinvisible.org/article/guerrilla-bike-lanes-san-francisco-makes-illicit-infrastru...
310•zenincognito•19h ago•237 comments

Launch HN: Kino AI (YC S23) – AI media manager and video editor

88•lukeigel•17h ago•34 comments

OpenSSH 10.6p2 has been released with a workaround for a critical vulnerability

https://hachyderm.io/@damienmiller/117563026759098135
18•Animux•53m ago•1 comments

OpenAI to acquire Pierre Computer Company

https://openai.com/index/openai-to-acquire-pierre/
240•itunpredictable•19h ago•74 comments

Starfall – Affordable, routine access to microgravity

https://www.spacex.com/starfall
224•gmays•10h ago•157 comments

A wave of plastic-free coffee pods and machines

https://www.cnn.com/2026/11/02/food/coffee-machine-plastic-free
98•thunderbong•19h ago•120 comments

Tencent Hy4

https://hy.tencent.ai/research/hy4
248•Philpax•20h ago•90 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?