frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Iosevka is an open-source, sans-serif and slab-serif, monospace font

https://typeof.net/Iosevka/
187•otobrglez•3h ago•68 comments

Amazon pushes up prices across the Internet

https://www.not-ship.com/how-amazon-pushes-up-prices-all-across-the-internet/
36•sighborg•2h ago•25 comments

Pulsar at ESUG 2026 (new Smalltalk IDE)

https://blog.lorenzano.eu/pulsar-at-esug-2026/
15•mpweiher•1h ago•0 comments

Who Is Planting Backdoors in Ledger Crypto Wallets?

https://www.zetter-zeroday.com/who-is-planting-backdoors-in-ledger-crypto-wallets/
22•hacb•2h ago•1 comments

What agents mean for Rust (and vice versa)

https://smallcultfollowing.com/babysteps/blog/2026/10/14/agentic-dev-and-rust/
27•mfrw•2h ago•19 comments

Sound – Bartosz Ciechanowski (2022)

https://ciechanow.ski/sound/
140•dverlaeckt80•2d ago•21 comments

Show HN: Building an LLM from Scratch in TypeScript

https://book.humanexperiences.io/
24•baraa_•1h ago•0 comments

Same Job, Two Engines: InnoDB and Iceberg Internals

https://marcpaul.io/logs/same-job-two-engines-innodb-and-iceberg-internals/
21•marcbpaul•22h ago•1 comments

Show HN: Guitoro, a virtual guitar you strum with your keyboard

https://guitoro.com/
459•talccc•16h ago•119 comments

900-Page Pre-Pantone Guide to Color from 1692 (With Complete High-Res Scan)

https://www.openculture.com/2026/10/a-900-page-pre-pantone-guide-to-color-from-1692.html
180•mdp2021•2d ago•25 comments

AOSP Source Releases Are So Late Developers Disassemble Libraries to Report Bugs

https://github.com/android/ndk/issues/2260
302•tharen•5h ago•142 comments

Show HN: A guided 3D Leonardo da Vinci museum, built in code

https://museumofages.org/w/vinci
6•micstradev•1h ago•3 comments

Gemini 4 Argon

https://deepmind.google/models/gemini/
1335•737max•19h ago•929 comments

Felix Rieseberg Homepage

https://felixrieseberg.com/
204•rglover•6h ago•79 comments

AI Laser Locking for Quantum Computers: How QuEra Automates It

https://www.quera.com/blog-posts/holding-the-light-teaching-an-ai-to-lock-and-tune-our-quantum-co...
10•EvgeniyZh•1h ago•1 comments

The United Kingdom generates less electricity per person than in the 1970s

https://ourworldindata.org/data-insights/electricity-generation-per-person-in-the-united-kingdom-...
333•karakoram•20h ago•542 comments

Recreational Programming

https://www.cphiri.dev/presentations/recreational-programming
210•jslakro•13h ago•83 comments

Ask HN: What is the current trajectory of a senior engineer?

25•guitarlimeo•1h ago•32 comments

Strafe: A new open-source, E2E Encrypted, and federated alternative to Discord

https://strafe.chat/
42•brydencalaway•8h ago•27 comments

Why is every rationalist blog post way too long?

https://alexwennerberg.com/blog/2026-10-13-long.html
52•epestr•5h ago•38 comments

Who Taught the Machines Mathematics?

https://nisheethvishnoi.com/2026/10/09/who-taught-the-machines-mathematics/
12•speckx•1d ago•0 comments

The road we were told not to take

https://www.aspendailynews.com/opinion/whiting-the-road-we-were-told-not-to-take-0b9fd0a3?taid=6a...
12•mpweiher•49m ago•2 comments

Ledger confirms spy chip implant behind wallet crypto thefts

https://www.bleepingcomputer.com/news/security/ledger-confirms-hardware-wallet-spy-implant-behind...
725•thm•2d ago•454 comments

Show HN: How random are you?

https://lab.specr.net/rigged-draw/
161•vunderba•18h ago•81 comments

MIT class project turns into an FDA-cleared treatment for tremors

https://news.mit.edu/2026/mit-class-project-turns-into-fda-cleared-treatment-for-tremors-1002
221•zdw•1d ago•45 comments

Kcgi – minimal CGI and FastCGI library for C/C++

https://kristaps.bsd.lv/kcgi/
37•Bluestein•1d ago•25 comments

Arena Allocators in C

https://eliasebner.com/blog/guides/arena-allocators-in-c/
51•dimonomid•2d ago•19 comments

Redesigning source control at Anthropic

https://www.anthropic.com/engineering/redesigning-source-control
794•Philpax•19h ago•832 comments

Maybe a better way to track the release history of a Git repo

https://blog.plover.com/prog/git/history-proposal.html
46•evakhoury•1d ago•9 comments

I let an AI run my startup for a week

https://daily.tinyprojects.dev/221
44•tinyprojects•1h ago•43 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?