frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Tinybox- offline AI device 120B parameters

https://tinygrad.org/#tinybox
115•albelfio•1h ago•64 comments

Do Not Turn Child Protection into Internet Access Control

https://news.dyne.org/child-protection-is-not-access-control/
44•smartmic•49m ago•10 comments

Some things just take time

https://lucumr.pocoo.org/2026/3/20/some-things-just-take-time/
383•vaylian•6h ago•131 comments

Grafeo – A fast, lean, embeddable graph database built in Rust

https://grafeo.dev/
141•0x1997•6h ago•44 comments

How Invisalign became the biggest user of 3D printers

https://www.wired.com/story/how-invisalign-became-the-worlds-biggest-3d-printing-company/
100•mikhael•2d ago•71 comments

Show HN: Termcraft – terminal-first 2D sandbox survival in Rust

https://github.com/pagel-s/termcraft
32•sebosch•2h ago•1 comments

The seven hour explosion nobody could explain

https://phys.org/news/2026-03-hour-explosion.html
47•mellosouls•4d ago•6 comments

Electronics for Kids, 2nd Edition

https://nostarch.com/electronics-for-kids-2e
26•0x54MUR41•2d ago•2 comments

Common Lisp Development Tooling

https://www.creativetension.co/posts/common-lisp-development-tooling
7•0bytematt•1h ago•1 comments

No evidence cannabis helps anxiety, depression, or PTSD

https://www.sciencedaily.com/releases/2026/03/260319044656.htm
44•nothrowaways•1h ago•17 comments

Thinking Fast, Slow, and Artificial: How AI Is Reshaping Human Reasoning

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6097646
59•Anon84•5h ago•35 comments

ZJIT removes redundant object loads and stores

https://railsatscale.com/2026-03-18-how-zjit-removes-redundant-object-loads-and-stores/
56•tekknolagi•2d ago•8 comments

Meta's Omnilingual MT for 1,600 Languages

https://ai.meta.com/research/publications/omnilingual-mt-machine-translation-for-1600-languages/?...
108•j0e1•3d ago•29 comments

Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords

https://pbxscience.com/ubuntu-26-04-ends-46-years-of-silent-sudo-passwords/
256•akersten•16h ago•281 comments

Hide macOS Tahoe's Menu Icons

https://512pixels.net/2026/03/hide-macos-tahoes-menu-icons-with-this-one-simple-trick/
12•soheilpro•3h ago•1 comments

No Semicolons Needed

https://terts.dev/blog/no-semicolons-needed/
4•karakoram•2h ago•0 comments

Books of the Century by Le Monde

https://standardebooks.org/collections/le-mondes-100-books-of-the-century
76•zlu•2d ago•44 comments

Hawaii's worst flooding in 20 years threatens dam, prompts evacuations

https://www.nbcnews.com/weather/floods/hawaii-worst-flooding-in-20-years-rcna264573
18•geox•1h ago•5 comments

A Japanese glossary of chopsticks faux pas (2022)

https://www.nippon.com/en/japan-data/h01362/
433•cainxinth•1d ago•339 comments

Mamba-3

https://www.together.ai/blog/mamba-3
261•matt_d•3d ago•50 comments

Show HN: Joonote – A note-taking app on your lock screen and notification panel

https://joonote.com/
24•kilgarenone•6h ago•14 comments

A pig's brain has been frozen with its cellular activity locked in place

https://www.newscientist.com/article/2520204-major-leap-towards-reanimation-after-death-as-mammal...
79•Brajeshwar•6h ago•109 comments

Blocking Internet Archive Won't Stop AI, but Will Erase Web's Historical Record

https://www.eff.org/deeplinks/2026/03/blocking-internet-archive-wont-stop-ai-it-will-erase-webs-h...
447•pabs3•13h ago•127 comments

404 Deno CEO not found

https://dbushell.com/2026/03/20/denos-decline-and-layoffs/
223•WhyNotHugo•6h ago•161 comments

FFmpeg 101 (2024)

https://blogs.igalia.com/llepage/ffmpeg-101/
194•vinhnx•18h ago•8 comments

OpenCode – Open source AI coding agent

https://opencode.ai/
1168•rbanffy•1d ago•574 comments

Molly guard in reverse

https://unsung.aresluna.org/molly-guard-in-reverse/
197•surprisetalk•1d ago•80 comments

Mayor of Paris removed parking spaces, reduced the number of cars

https://www.cnn.com/2026/03/21/travel/paris-transformation-anne-hidalgo-mayor
205•heresie-dabord•8h ago•292 comments

Western carmakers' retreat from electric risks dooming them to irrelevance

https://www.theguardian.com/business/2026/mar/21/west-carmakers-retreat-electric-vehicle-risks-ir...
132•n1b0m•7h ago•239 comments

How BYD got EV chargers to work almost as fast as gas pumps

https://www.wired.com/story/how-byds-ev-charger-got-even-faster-and-it-might-not-matter-as-much-a...
82•Brajeshwar•9h ago•134 comments
Open in hackernews

Faster sorting with SIMD CUDA intrinsics (2024)

https://winwang.blog/posts/bitonic-sort/
92•winwang•10mo ago
Code at https://github.com/wiwa/blog-code/

Comments

ashvardanian•10mo 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•10mo 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•10mo 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•10mo 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•10mo ago
Parallel compares: https://graphics.stanford.edu/~seander/bithacks.html#ZeroInW...
DennisL123•10mo 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•10mo 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•10mo 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•10mo 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•10mo ago
As someone who doesn't know very much about graphics (ironically), you're welcome and hope it helps!
fourseventy•10mo ago
What are the biggest use cases of GPU accelerated sorting?