frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

De-Brainrot Vacations

https://devz.cl/posts/i-spent-my-vacations-de-brainrotting/
105•DanielVZ•47m ago•24 comments

Splash-free urinals for global sustainability and accessibility

https://academic.oup.com/pnasnexus/article/4/4/pgaf087/8098745?login=false
56•u1hcw9nx•49m ago•27 comments

Keep Our Servers Running

https://blog.archive.org/2026/09/01/keep-our-servers-running-your-recurring-donation-goes-3x-this...
672•sonicrocketman•10h ago•165 comments

Caltech Mathathon – first hackathon ever devoted to research level mathematics

https://mathathonchallenge.com/index.html
73•astroanax•4h ago•14 comments

Live map of public transport in Belgium

https://openbaarvervoerbelgie.be/
107•coinfused•4h ago•44 comments

Smartphone makers don't bother to comply with EU repairability requirements

https://www.theregister.com/personal-tech/2026/09/07/smartphone-makers-dont-bother-to-comply-with...
96•mdp2021•2h ago•37 comments

Speculative Decoding in vLLM on AMD GPUs

https://vllm.ai/blog/2026-08-23-speculative-decoding-amd-gpus
55•ankitg12•4h ago•17 comments

Impedance Matching (2017)

https://www.edge.org/response-detail/27238
42•muti•3h ago•13 comments

LG smart TVs caught logging audio with screen off and snooping on local devices

https://www.notebookcheck.net/LG-smart-TVs-caught-logging-audio-with-screen-off-and-snooping-on-l...
496•chris_overseas•6h ago•276 comments

'You Can See Everything' Review: Nathan Fielder's Doc About Elizabeth Holmes

https://variety.com/2026/film/reviews/nathan-fielder-surprise-film-telluride-elizabeth-holmes-123...
164•cianmm•4h ago•96 comments

Apparently CodePen 2.0 sends data to their servers as you type

50•maxim-fin•2h ago•23 comments

I Connected My Withings Body+ to Home Assistant with an ESP32

https://didac.dev/blog/i-made-my-withings-scale-sync-to-home-assistant-without-the-cloud
28•sabatesduran•3d ago•8 comments

Making a Python interpreter in 1024 bytes

https://austinhenley.com/blog/python1024.html
263•azhenley•14h ago•95 comments

Tiny $70 Xteink X3 e-reader puts Silicon Valley to shame

https://www.theatlantic.com/technology/2026/09/xteink-e-reader-best-technology-years/688539/
87•samizdis•3h ago•62 comments

Ask HN: How do you manage skills files?

191•imadtaieber•18h ago•175 comments

It took a year to ship WebAssembly in Anubis

https://anubis.techaro.lol/blog/2026/anubis-wasm/
307•xena•17h ago•147 comments

VMware migration reduces Tottenham Hotspur's licensing fees by 85 percent

https://arstechnica.com/information-technology/2026/09/vmware-migration-reduces-tottenham-hotspur...
35•joozio•2h ago•9 comments

Ask HN: Fable hacked my piano, can I release the results?

198•jmpman•1d ago•118 comments

GrapheneOS Overhauled Default Apps and Secure Clipboard

https://grapheneos.social/@GrapheneOS/117225539756835649
337•Cider9986•17h ago•222 comments

Show HN: I made a word building game supporting anagrams and one handed use

22•busymom0•3d ago•2 comments

Why are there no flow batteries with symmetric ferrocyanide electrolytes?

https://chemisting.com/2026/09/02/why-are-there-no-flow-batteries-with-symmetric-ferrocyanide-ele...
38•DamonHD•5d ago•23 comments

Show HN: Think Turing Complete, but you write the circuits in TypeScript (WIP)

https://play.simten.dev
14•charlesfrisbee•4d ago•5 comments

Show HN: GET Together – A social network where you don't need POST to Post

https://gettogether.dev
86•nchudleigh•12h ago•40 comments

Nitter and XCancel resume service after legal advice

https://github.com/zedeus/nitter/commit/1428b4c2b4246f92a7e5b2673438e5fb39fcc4a3
818•zImPatrick•19h ago•349 comments

Show HN: Engrim – A universal, local-first SQLite memory engine for AI CLIs

https://github.com/timgordontg/engrim
58•timgordontg•8h ago•22 comments

Is mathematics about to enter the conservatory?

https://mbmccoy.dev/posts/mathematical-conservatory/
83•_alternator_•14h ago•95 comments

Programming is Art

https://orchidfiles.com/programming-is-art/
126•theorchid•5h ago•127 comments

Harnessing the Universal Geometry of Embeddings

https://arxiv.org/abs/2505.12540
97•ur-whale•17h ago•31 comments

Has anybody seen my keys? A key-hierarchy strategy for rack-level security

https://rfd.shared.oxide.computer/rfd/0301
45•cyb0rg0•11h ago•3 comments

Switzerland's Federal Government Is Replacing Microsoft on 3k Computers

https://itsfoss.com/news/switzerland-replace-microssoft-pilot/
261•ivell•8h ago•215 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?