frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Tesla Roadster

https://www.tesla.com/roadster
768•shekhar101•18h ago•1394 comments

Claude reveals ECDSA curve origins

https://www.anthropic.com/research/ecdsa-curve-origins
271•ahlCVA•1h ago•109 comments

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

https://github.com/cobanov/PS5LM
68•Anon84•1h ago•13 comments

The Fatal Flaw of 911

https://www.themarshallproject.org/2026/10/16/911-book-policing-mental-health
13•plunge•41m ago•10 comments

JPEG XL vs. AVIF for web use-cases

https://jakearchibald.com/2026/jpeg-xl-vs-avif/
131•farlight•4h ago•91 comments

Waymo in Toronto

https://waymo.com/blog/2026/10/waymo-in-toronto/
151•ChrisArchitect•5h ago•265 comments

90% of US working hours are spent on tasks not covered well by AI benchmarks

https://www.mercor.com/research/labor-index/benchmark-map/
259•speckx•3h ago•226 comments

Designing more efficient quantum circuits with Claude

https://www.anthropic.com/research/designing-efficient-quantum-circuits
43•pretext•2h ago•7 comments

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

https://machinelearning.apple.com/research/mlx-distributed-inference
215•antipaul•6h ago•101 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_...
91•7402•2h ago•67 comments

Big Fish: Exploiting a 37-Year-Old Kernel Bug in OpenBSD

https://calif.io/research/big-fish
139•rs_rs_rs_rs_rs•5h ago•37 comments

Piramidal (YC W24) Is Hiring

https://job-boards.greenhouse.io/piramidalinc/jobs/4443102009
1•dsacellarius•3h ago

Show HN: Gemini 4 Argon plays StarCraft

https://starskirmish.com/bench/v0-2/
153•__cayenne__•5h ago•69 comments

C++26: The New Debugging Header

https://www.sandordargo.com/blog/2026/09/30/cpp26-debugging
11•jandeboevrie•1h ago•0 comments

What on Earth Is Dekton?

https://www.worksinprogress.news/p/porcelain
104•wawayanda•5h ago•37 comments

Stolen Renoir paintings found hidden, and damaged, behind cinder block wall

https://www.cbsnews.com/news/stolen-renoir-paintings-found-behind-wall-france/
83•ohjeez•3d ago•55 comments

/dev/null: social network for developers

https://dev-null.sh
62•mnapoli•3h ago•81 comments

GifCities

https://gifcities.org/
19•augury•2h ago•0 comments

Anthropic assigned highest junk credit rating in June

https://www.ft.com/content/5a310aee-f555-4266-874c-b1b4db20186d
98•JumpCrisscross•2h ago•25 comments

I Love Software Rendering

https://www.jamesfmackenzie.com/2026/10/13/i-love-software-rendering/
256•speckx•7h ago•176 comments

Woman who rescued injured crow keeps getting 'thank-you gifts' from birds [video]

https://www.youtube.com/watch?v=sjNpfz4UzqU
794•johnnyApplePRNG•3d ago•234 comments

How the Claude Code team does code review

https://claude.dev/blog/solving-code-review-at-anthropic/
55•pretext•1h ago•46 comments

Show HN: Stoke Money – Personal finance app built around a cash flow forecast

https://stoke.money
8•_wesley•1h ago•3 comments

RFC8950: Announce IPv4 with an IPv6 next-hop

https://anuragbhatia.com/post/2026/06/rfc8950-announce-ipv4-with-ipv6-next-hop/
76•porridgeraisin•6h ago•40 comments

Monte-Carlo Simulations

https://eli.thegreenplace.net/2026/monte-carlo-simulations/
12•ibobev•3d ago•0 comments

Making 1,750 programmable PCB badges for Canada's biggest hackathon

https://va3ndf.com/blog/hacker-badges/
36•va3ndf•2d ago•9 comments

Is Liquid Metal Killing Our PCs? Scientific Analysis and a 2-Year Test [video]

https://www.youtube.com/watch?v=eF6bMSjPepM
66•zdw•20h ago•42 comments

Yet another way to invoke functions without parentheses

https://blog.ikaes.de/yet-another-way-to-invoke-functions-without-parentheses/
236•aragonite•3d ago•101 comments

US Rep Announces Congressional Legislation to Protect Video Game Ownership

https://ritchietorres.house.gov/posts/rep-torres-announces-power-to-the-players-act-legislation-t...
161•DeepLogin•4h ago•92 comments

How to make System 1 LLMs show System 2 competencies?

https://onlinelibrary.wiley.com/doi/epdf/10.1002/aaai.70113
41•porridgeraisin•5h ago•22 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?