frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The lost joy of music piracy

https://www.pigeonsandplanes.com/read/music-piracy-what-cd-oink-nine-inch-nails-streaming
191•mcgin•3h ago•94 comments

Inkling: Our Open-Weights Model

https://thinkingmachines.ai/news/introducing-inkling/
926•vimarsh6739•13h ago•226 comments

If you want to create a button from scratch, you must first create the universe

https://madcampos.dev/blog/2026/07/accessibility-from-scratch/
84•treve•4h ago•36 comments

Teardown: A Generic 7-Port USB 3.0 Hub That Wasn't

https://goughlui.com/2026/07/09/teardown-a-generic-7-port-usb-3-0-hub-that-wasnt/
26•speckx•3d ago•4 comments

SQLite should have (Rust-style) editions

https://mort.coffee/home/sqlite-editions/
241•gnyeki•9h ago•92 comments

1,300 Beautiful Wildlife Illustrations from the 19th Century Now Restored

https://www.openculture.com/2026/07/explore-1300-beautiful-wildlife-illustrations-from-the-19th-c...
66•gslin•4h ago•9 comments

Grok Build is open source

https://github.com/xai-org/grok-build
414•skp1995•11h ago•433 comments

Making 768 servers look like 1

https://planetscale.com/blog/making-768-servers-look-like-1
64•hisamafahri•4h ago•10 comments

Bluesky Trademarks ATProto

https://atproto.com/blog/at-protocol-trademark
85•chaosharmonic•6h ago•34 comments

Governments, companies, nonprofits should invest in free, open source AI [pdf]

https://www.siegelendowment.org/wp-content/uploads/2026/07/fortune-david-siegel-open-source-ai.pdf
167•bilsbie•10h ago•59 comments

Stripe and Advent have made a joint offer to acquire PayPal – sources

https://www.reuters.com/business/finance/stripe-advent-offer-buy-paypal-more-than-53-billion-sour...
429•rvz•1d ago•229 comments

What's the story behind the names of Cloudflare's name servers? (2013)

https://blog.cloudflare.com/whats-the-story-behind-the-names-of-cloudflares-name-servers/
7•aragonite•3d ago•0 comments

Can LLMs Perform Deep Technical Comprehension of Computer Architecture Papers

https://arxiv.org/abs/2607.11859
39•Jimmc414•5h ago•5 comments

G# – A modern .NET language with Go, Kotlin, and Swift ergonomics

https://davidobando.github.io/gsharp/
91•serial_dev•4d ago•52 comments

I also filed the corners off my MacBook

https://www.brt.fyi/posts/mac-book-filing/
155•maxbrt•1d ago•52 comments

High-Bandwidth Flash offers efficient storage for model weights

https://spectrum.ieee.org/high-bandwidth-flash
35•Gaishan•1d ago•12 comments

Reynard: A real Firefox web browser for iOS 13 or later

https://github.com/minh-ton/reynard-browser
15•AbuAssar•3h ago•1 comments

The Last Picture Show: A Conversation with George Lucas

https://a-rabbitsfoot.com/editorial/confessions/the-last-picture-show-a-conversation-with-george-...
16•Michelangelo11•2d ago•2 comments

The Tokio/Rayon Trap and Why Async/Await Fails Concurrency

https://pmbanugo.me/blog/why-async-await-complect-concurrency
50•LAC-Tech•5h ago•35 comments

Running Gemma 4 26B at 5 tokens/sec on a 13-year-old Xeon with no GPU

https://www.neomindlabs.com/2026/06/08/running-gemma-4-26b-at-5-tokens-sec-on-a-13-year-old-xeon-...
275•neomindryan•16h ago•180 comments

Job queues are deceptively tricky

https://typesanitizer.com/blog/job-queues.html
74•ingve•1d ago•18 comments

Launch HN: Coasty (YC S26) – An API for computer-use agents

https://coasty.ai/docs
33•nkov47•16h ago•7 comments

Netstrings (1997)

https://cr.yp.to/proto/netstrings.txt
9•signa11•2h ago•7 comments

Rebuilding My Homelab with Compose, Ruby, IPv6, and No Kubernetes

https://www.petekeen.net/homelab-resolved/
18•zrail•4d ago•13 comments

Command Line Interface Guidelines

https://clig.dev/
114•subset•3d ago•25 comments

LLM Networking with MikroTik

https://blog.greg.technology/2026/07/14/llm-networking-with-mikrotik.html
81•gregsadetsky•9h ago•36 comments

Metal-Organic Frameworks, Chemistry's New Miracle Materials (2018)

https://chemistry.berkeley.edu/news/meet-metal-organic-frameworks-chemistry%E2%80%99s-new-miracle...
51•andsoitis•8h ago•12 comments

Duskers, the scary command line game, is getting a sequel

https://elbowgreasegames.substack.com/p/misfits-attic-announces-duskers-20
120•spacemarine1•12h ago•36 comments

Collection of Digital Clock Designs

https://clocks.dev
231•levmiseri•15h ago•41 comments

Show HN: One More Letter

https://playonemoreletter.com/
70•hmate9•8h ago•44 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?