frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: TitleArt – Make text like it's 1997

https://titleart.dvy.io/
188•davidbarker•5h ago•28 comments

PaperPilot – Zero-Cloud, Pure-Rust PDF Engine with WASM and MCP

https://github.com/KrushnaVardhanReddy/PaperPilot
116•vardhan1237•4h ago•28 comments

The result of the C++26 DIS ballot

https://train-it.eu/blog/cpp26-contracts-the-ballot-result/
28•uasi•2h ago•3 comments

Behind the scenes at the NeXT Computer office

https://exhibits.stanford.edu/menuez/browse/next-computer-inc?per_page=96&sort=pub_year_isi+asc%2...
88•Austin_Conlon•4h ago•39 comments

Growing Trees

https://brashandplucky.com/2026/10/15/growing-trees.html
29•ibobev•2d ago•1 comments

Dolly Parton's Imagination Library

https://imaginationlibrary.com/
526•jumploops•14h ago•90 comments

Show HN: A Truly Modular Keyboard

https://github.com/notaroomba/keybytes
129•NotARoomba•1d ago•33 comments

Overgrown, when plants invade your abandoned tabs

https://charliegerard.dev/blog/overgrown-extension/
256•speckx•3d ago•84 comments

Attention Is Not What You Need (2025)

https://arxiv.org/abs/2512.19428
95•westurner•8h ago•32 comments

Microsoft Decision-1: 9B Qwen Model Launch Explained

https://shattered.io/microsoft-decision-1-qwen3-5-9b-model-2026/
43•gmays•5h ago•17 comments

IBM CEO says open weight models are now good and cheap on-prem

https://www.theregister.com/systems/2026/10/22/ibm-ceo-says-open-weight-models-are-now-irresistib...
215•Betelbuddy•6h ago•112 comments

Superhuman Hardware Design Is the Easy Part

https://www.a16z.news/p/superhuman-hardware-design-is-the
3•gmays•2d ago•0 comments

Iron Age salt-mining complex found beneath Hallstatt in Austria

https://archaeologymag.com/2026/09/iron-age-salt-mining-complex-beneath-hallstatt/
63•janandonly•3d ago•12 comments

Why I Am a Programmer

https://www.alfie.wtf/programming/why-i-am-a-programmer.html
210•jruohonen•13h ago•65 comments

F-Zero X on Nintendo 3DS

https://hypnotize.works/gdx-3ds/postmortem/index.html
110•bpierre•9h ago•54 comments

Steal My Bitcoin CTF PoC

https://github.com/KillaBoi/StealMyBitcoin-PoC
99•davikr•8h ago•19 comments

Show HN: ADRs for AI – Deliberation records for human–AI work, versioned in Git

https://adrs.systems
41•lumbroso•1d ago•20 comments

The State of Context Engineering

https://www.dbreunig.com/2026/10/24/the-state-of-context-engineering.html
164•pchristensen•11h ago•39 comments

We should be more ambitious with the software we build

https://danluu.com/ambitious/
791•ltratt•1d ago•709 comments

Amazon’s “digital pacifier” for toddlers

https://oligarchwatch.substack.com/p/amazons-digital-pacifier-for-toddlers
176•jumploops•4d ago•243 comments

The Curse of Soldered RAM

https://blog.hardill.me.uk/2026/10/24/the-curse-of-soldered-ram/
60•gsky•1d ago•60 comments

What goes into making an animated film?

https://www.disneyanimation.com/process/
136•embedding-shape•12h ago•59 comments

Removing Next.js Got My Blog to 100 on Every Lighthouse Category

https://korindiehacker.bloffy.blog/en/removing-nextjs-got-my-blog-to-100-on-every-lighthouse-cate...
122•textlanes33•7h ago•65 comments

A 10-year-old CNN outperforms frontier LLMs for skin cancer diagnosis

https://lynchlab.net/llm-skin-cancer
538•sungam•15h ago•235 comments

Retired decorator's Pokémon cards sell for £1.5M

https://www.bbc.co.uk/news/articles/cvp8gy1zwxxwo
43•HelloUsername•3d ago•39 comments

Making the Buddha Head from Merv Whole Again

https://www.getty.edu/news/buddha-head-of-merv-turkmenistan-conservation/
43•laybak•2d ago•0 comments

OpenAI and Anthropic cut their LLM prices by up to 80% within a few months. Why?

https://minimaxir.com/2026/10/cheap-llms/
287•minimaxir•11h ago•285 comments

Where the Romans Fought (interactive map)

https://iosiflazaridis.github.io/battles-of-the-romans/
82•endorphine•13h ago•32 comments

Cognitive Mercantilism: AI panic resembles fears of early capitalism

https://contraptions.venkateshrao.com/p/cognitive-mercantilism
62•ianand•4h ago•62 comments

Active incident at Dreamhost forcing password reset

https://www.dreamhoststatus.com/
142•greenchair•19h ago•58 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?