frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Performative-UI – a react component library of design tropes

https://vorpus.github.io/performativeUI/
298•lizhang•2h ago•69 comments

MiMo-v2.5-Pro-UltraSpeed: 1T model with 1000 tokens per second

https://mimo.xiaomi.com/blog/mimo-tilert-1000tps
181•gainsurier•1h ago•120 comments

Launch HN: Intuned (YC S22) – Build and run reliable browser automations as code

https://intunedhq.com
78•fkilaiwi•3h ago•24 comments

Anti-social: It's fads, not friends, which now dominate social media feeds

https://www.bbc.com/worklife/article/20260520-how-social-media-ceased-to-be-social
302•1vuio0pswjnm7•5h ago•248 comments

Zig by Example

https://github.com/boringcollege/zig-by-example
169•dariubs•3h ago•78 comments

OCaml Onboarding: Introduction to the Dune build system

https://ocamlpro.com/blog/2025_07_29_ocaml_onboarding_introduction_to_dune/
31•andrewstetsenko•3d ago•1 comments

A Farmer Donated Land to Turn into a Park. The City Is Building a Data Center

https://www.404media.co/a-farmer-donated-land-to-turn-into-a-park-the-city-is-building-a-massive-...
144•greedo•1h ago•65 comments

The Cypherpunk Library

https://www.cypherpunkbooks.com
255•yu3zhou4•8h ago•78 comments

How much of Thermo Fisher's antibody data has been manipulated?

https://reeserichardson.blog/2026/05/28/how-much-of-thermo-fishers-antibody-data-has-been-manipul...
299•mhrmsn•10h ago•60 comments

Why are so many young people getting cancer? What researchers do and don't know

https://www.nature.com/articles/d41586-026-01780-6
51•Brajeshwar•1h ago•10 comments

Zig Structs of Arrays (2024)

https://andreashohmann.com/zig-struct-of-arrays/
97•Tomte•4d ago•29 comments

I replaced Spotify with a homemade FM radio station

https://old.reddit.com/r/digitalminimalism/comments/1tes8yu/i_replaced_spotify_with_a_homemade_fm...
61•dredmorbius•1h ago•23 comments

Dopamine Fracking

https://igerman.cc/blog/dopamine-fracking/
656•igmn•14h ago•332 comments

1k Data Breaches Later, the Disclosure Lag Is Worse

https://www.troyhunt.com/1000-data-breaches-later-the-disclosure-lag-is-worse-than-ever/
262•882542F3884314B•13h ago•112 comments

Building from zero after addiction, prison, and a felony

https://gavinray97.github.io/blog/building-from-zero-after-addiction-prison-felony
829•gavinray•22h ago•375 comments

Spherical Voronoi Diagram

https://www.jasondavies.com/maps/voronoi/
105•marysminefnuf•5d ago•24 comments

Italy's Bending Spoons, Owner of AOL and Vimeo, Files for Nasdaq IPO

https://www.reuters.com/legal/transactional/italys-bending-spoons-files-us-ipo-2026-06-08/
62•mmarian•1h ago•48 comments

Config Files That Run Code: Supply Chain Security Blindspot

https://safedep.io/config-files-that-run-code/
57•signa11•7h ago•15 comments

APC–2 – A professional record cutter for producing original playback discs

https://teenage.engineering/products/apc-2
254•vthommeret•15h ago•164 comments

The Smallest Brain You Can Build: A Perceptron in Python

https://ranpara.net/posts/perceptron-explained-from-scratch/
278•DevarshRanpara•16h ago•63 comments

A Family Project (2022)

https://bittersoutherner.com/feature/2022/a-family-project
68•surprisetalk•3d ago•7 comments

Richard Scolyer Has Died

https://www.bbc.com/news/articles/c14yz5jg476o
115•nicwilson•12h ago•31 comments

Playing with Vision Embeddings

https://prestonbjensen.com/posts/playing-with-vision-embeddings
133•prestoj•3d ago•11 comments

Making peace with your unlived dreams (2023)

https://nik.art/making-peace-with-your-unlived-dreams/
290•herbertl•22h ago•177 comments

New drug 'functionally cures' many hepatitis B virus infections

https://www.science.org/content/article/new-drug-functionally-cures-many-hepatitis-b-virus-infect...
254•gmays•15h ago•44 comments

Amazon Cognito now supports multi-Region replication

https://aws.amazon.com/about-aws/whats-new/2026/06/amazon-cognito-multi-region/
19•mooreds•1h ago•11 comments

Show HN: I Derived a Pancake

https://www.absurdlyoptimized.com/recipes/pancakes/
313•bkazez•3d ago•125 comments

Tiny hackable CUDA language model implementation

https://github.com/markusheimerl/gpt
68•markusheimerl•2d ago•13 comments

A Matter Wi-Fi Light Bulb in Rust on the Raspberry Pi Pico 2 W

https://github.com/melastmohican/rust-rpico2-embassy-examples
155•melastmohican•16h ago•29 comments

A modular impact diverting mechanism for football helmets [pdf]

https://www.sfu.ca/~gwa5/pdf/2020_04.pdf
16•luu•1d ago•7 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?