frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Don't rent the cloud, own instead

https://blog.comma.ai/datacenter/
361•Torq_boi•5h ago•156 comments

The Missing Layer

https://yagmin.com/blog/the-missing-layer/
10•lubujackson•51m ago•1 comments

When internal hostnames are leaked to the clown

https://rachelbythebay.com/w/2026/02/03/badnas/
208•zdw•6h ago•111 comments

Nanobot: Ultra-Lightweight Alternative to OpenClaw

https://github.com/HKUDS/nanobot
18•ms7892•1h ago•7 comments

Show HN: Micropolis/SimCity Clone in Emacs Lisp

https://github.com/vkazanov/elcity
22•vkazanov•2h ago•4 comments

Making Ferrite Core Inductors at Home

https://danielmangum.com/posts/making-ferrite-core-inductors-home/
18•hasheddan•2d ago•3 comments

Wirth's Revenge

https://jmoiron.net/blog/wirths-revenge/
73•signa11•8h ago•17 comments

Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite

https://sqldef.github.io/
179•Palmik•4d ago•38 comments

Adobe Animate will be discontinued effective March 1, 2026

https://helpx.adobe.com/uk/animate/kb/end-of-life.html
41•g0ld3nrati0•2d ago•33 comments

Battle-Testing Lynx at Allegro

https://blog.allegro.tech/2026/02/battle-testing-lynx-js-at-allegro.html
6•tgebarowski•1h ago•1 comments

Claude Code: connect to a local model when your quota runs out

https://boxc.net/blog/2026/claude-code-connecting-to-local-models-when-your-quota-runs-out/
290•fugu2•3d ago•151 comments

A few CPU hardware bugs

https://www.taricorp.net/2026/a-few-cpu-bugs/
71•signa11•7h ago•17 comments

AI is killing B2B SaaS

https://nmn.gl/blog/ai-killing-b2b-saas
362•namanyayg•18h ago•565 comments

A case study in PDF forensics: The Epstein PDFs

https://pdfa.org/a-case-study-in-pdf-forensics-the-epstein-pdfs/
310•DuffJohnson•20h ago•178 comments

OpenClaw is what Apple intelligence should have been

https://www.jakequist.com/thoughts/openclaw-is-what-apple-intelligence-should-have-been
346•jakequist•11h ago•291 comments

Microsoft's Copilot chatbot is running into problems

https://www.wsj.com/tech/ai/microsofts-pivotal-ai-product-is-running-into-big-problems-ce235b28
222•fortran77•19h ago•251 comments

Claude Code for Infrastructure

https://www.fluid.sh/
220•aspectrr•17h ago•154 comments

I built a search engine to index the un-indexable parts of Telegram

https://telehunt.org
32•alenmangattu•3d ago•9 comments

A Broken Heart

https://allenpike.com/2026/a-broken-heart/
3•memalign•4d ago•0 comments

Modernizing Linux swapping: introducing the swap table

https://lwn.net/SubscriberLink/1056405/e728d95dd16f5e1b/
61•chmaynard•4h ago•58 comments

Remarkable Pro Colors

https://www.thregr.org/wavexx/rnd/20260201-remarkable_pro_colors/
109•ffaser5gxlsll•3d ago•44 comments

If you've got Nothing to Hide (2015)

https://jacquesmattheij.com/if-you-have-nothing-to-hide/
53•jacquesm•2h ago•47 comments

Postgres Postmaster does not scale

https://www.recall.ai/blog/postgres-postmaster-does-not-scale
100•davidgu•19h ago•45 comments

Voxtral Transcribe 2

https://mistral.ai/news/voxtral-transcribe-2
909•meetpateltech•20h ago•223 comments

Building a 24-bit arcade CRT display adapter from scratch

https://www.scd31.com/posts/building-an-arcade-display-adapter
162•evakhoury•18h ago•44 comments

An interactive version of Byrne's The Elements of Euclid (1847)

https://c82.net/euclid/
39•tzury•2d ago•5 comments

Why S7 Scheme? (2020)

https://iainctduncan.github.io/scheme-for-max-docs/s7.html
29•bmacho•5d ago•3 comments

Lily Programming Language

https://lily-lang.org
51•FascinatedBox•3d ago•35 comments

Listen to Understand

https://talk.bradwoods.io/blog/listen-to-understand/
58•bradwoodsio•4d ago•10 comments

Why more companies are recognizing the benefits of keeping older employees

https://longevity.stanford.edu/why-more-companies-are-recognizing-the-benefits-of-keeping-older-e...
156•andsoitis•12h ago•66 comments
Open in hackernews

Faster sorting with SIMD CUDA intrinsics (2024)

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

Comments

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