frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Making Chicken Transparent Using Dorito Dust

https://chillphysicsenjoyer.substack.com/p/making-chicken-transparent-using
101•crescit_eundo•2h ago•38 comments

DeepSeek-v4.1-Flash-1017

https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017
377•theykk•8h ago•404 comments

Solar surpasses nuclear power globally for first time – pv magazine Global

https://www.pv-magazine.com/2026/09/29/solar-surpasses-nuclear-power-globally-for-first-time/
200•xbmcuser•2h ago•108 comments

Super Intelligence

https://www.si.gov/
74•wiradikusuma•4h ago•129 comments

Rendering pretty sky in Around The World game

https://frozenfractal.com/blog/2026/10/12/around-the-world-34-a-pretty-sky/
58•ibobev•1d ago•6 comments

A Tudor Life in the Time of Plague

https://www.historytoday.com/archive/history-matters/tudor-life-time-plague
19•pepys•3d ago•0 comments

The First Candid

https://www.newyorker.com/magazine/2026/10/19/the-first-candid
28•Thevet•23h ago•7 comments

Tesla Roadster

https://www.tesla.com/roadster
1567•shekhar101•1d ago•2840 comments

Ultramarine 1 Flash

https://www.paperinstruments.com/ultramarine
336•i_rush_carriers•1d ago•101 comments

GLP-1 may slow biological aging

https://www.universityofcalifornia.edu/news/new-study-shows-popular-glp-1-weight-loss-drug-may-sl...
5•dzink•34m ago•0 comments

Show HN: Esp32sim – Run ESP32 firmware in the browser

https://github.com/mikroverk/esp32sim
31•joakimeriksson•2h ago•5 comments

Show HN: Llmspeed – feel how fast a local LLM runs before you buy the hardware

https://llmspeed.dev/
189•albinstman•12h ago•62 comments

MapQuest will now show you where Flock cameras are in your neighborhood

https://www.engadget.com/2288729/mapquest-will-now-show-you-where-flock-cameras-are-in-your-neigh...
116•bookofjoe•5h ago•9 comments

Llama.cpp on a jailbroken PS5: run any GGUF model natively on the console

https://github.com/cobanov/PS5LM
342•Anon84•22h ago•83 comments

You could have invented transformers from memory

https://alexwang.ai/posts/associative-memory/
406•speckx•21h ago•97 comments

We Still Use Paper

https://humanpro.co/articles/we-still-use-paper/
40•gx•2d ago•57 comments

Tell HN: Remember to migrate away from .name domain

86•nikanj•3d ago•56 comments

"Tame" boar and deer are instinctively adapting to the wolf in the Netherlands

https://nos.nl/video/2635315-wildcamera-s-tonen-hoe-zwijnen-en-herten-zich-aanpassen-aan-de-wolf
35•felipevb•7h ago•65 comments

Claude reveals ECDSA curve origins

https://www.anthropic.com/research/ecdsa-curve-origins
973•ahlCVA•21h ago•354 comments

Development of Norton Commander

https://softpanorama.org/OFM/Paradigm/Ch03/norton_commander.shtml
30•Michelangelo11•1d ago•7 comments

What changes when your search index lives on S3?

https://infino.ai/blog/search-index-on-s3/
6•tatvamasi•2d ago•2 comments

Intuitive concurrent programming in any language

https://www.lf-lang.org/
108•mpweiher•2d ago•28 comments

Apple ML Research: Muse Spark Open with MLX on Mac Studio

https://machinelearning.apple.com/research/mlx-distributed-inference
346•antipaul•1d ago•183 comments

FLUX 3 Image Klein

https://bfl.ai/blog/flux-3-image-klein
191•gmays•20h ago•56 comments

Recipes Are Moving from Maven Central to the Code Genome Project

https://docs.openrewrite.org/reference/latest-versions-of-every-openrewrite-module
36•javahippie•2d ago•10 comments

The cryptoint library (2025) [pdf]

https://cr.yp.to/papers/cryptoint-20250424.pdf
18•akkartik•2d ago•0 comments

eBay Restricts Listings of Radio Equipment, but Exempts Ham-Band-Only Gear

https://www.arrl.org/arrlletterissue?issue=2026-10-15#eBay-Restricts-Listings-of-Radio-Equipment_...
254•7402•22h ago•228 comments

JPEG XL vs. AVIF for web use-cases

https://jakearchibald.com/2026/jpeg-xl-vs-avif/
303•farlight•1d ago•195 comments

Designing more efficient quantum circuits with Claude

https://www.anthropic.com/research/designing-efficient-quantum-circuits
162•pretext•22h ago•34 comments

Nine-Inch Snails

https://www.theatlantic.com/science/2026/10/giant-african-snails-florida-invasion/688850/
105•zdw•18h ago•54 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?