frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: I replaced a $120k bowling center system with $1,600 in ESP32s

1609•section33•11h ago•175 comments

Claude Code uses Bun written in Rust now

https://simonwillison.net/2026/Jul/19/claude-code-in-bun-in-rust/
398•tosh•16h ago•563 comments

The Zen of Parallel Programming

https://smolnero.com/posts/the-zen-of-parallel-programming
115•edgar_ortega•5d ago•13 comments

What I learned selling 2,500 MIDI recorders: Hardware is not so hard

https://chipweinberger.com/articles/20260719-hardware-is-not-so-hard
414•chipweinberger•16h ago•196 comments

Minecraft: Java Edition now uses SDL3

https://www.minecraft.net/en-us/article/minecraft-26-3-snapshot-4
276•ObviouslyFlamer•14h ago•184 comments

A new Intel Itanium (IA-64) emulator that boots Windows

https://raymii.org/s/blog/Intel_Itanium_IA-64-Emulator_that_boots_Windows.html
51•jandeboevrie•5h ago•38 comments

Biggest Probabilistic Computer Turns Noise into Answers

https://spectrum.ieee.org/biggest-probabilistic-computer
41•rbanffy•4h ago•6 comments

OpenAI reduces Codex Model Context Size from 372k to 272k

https://github.com/openai/codex/pull/33972/files
323•AmazingTurtle•18h ago•152 comments

Talk: The Art of Braiding Algorithms

https://pgadey.ca/notes/talk-relatorium-2026/
23•surprisetalk•4d ago•0 comments

Who Is America's Homer?

https://www.plough.com/articles/who-is-americas-homer
38•samclemens•5d ago•88 comments

Bananas sprout in Rayleigh Garden UK after 15 years

https://www.bbc.com/news/articles/cvg8edqq5g5o
128•teleforce•13h ago•89 comments

Orion Browser by Kagi

https://orionbrowser.com/
62•sebjones•7h ago•68 comments

HomeLab #1: MikroTik as a Home Router

https://justsomebody.dev/blog/mikrotik-home-router
69•rafal_opilowski•7h ago•57 comments

11,700 Free Photos from John Margolies' Archive of Americana Architecture

https://www.openculture.com/2026/07/free-photos-from-john-margolies-archive-of-americana-architec...
31•gslin•4d ago•2 comments

Qwen 3.8

https://twitter.com/Alibaba_Qwen/status/2078759124914098291
793•nh43215rgb•17h ago•559 comments

C64 Basic Dungeon Crawler: Goblin Attack (C64 Basic Part 8)

https://retrogamecoders.com/c64-basic-dungeon-part8/
63•ibobev•11h ago•4 comments

HMD Touch 4G

https://www.hmd.com/en_int/hmd-touch-4g
59•thisislife2•9h ago•63 comments

AI advice made people less accurate but more confident – sudy

https://thenextweb.com/news/ai-advice-suppresses-critical-thinking-wrong-answers-study
282•rbanffy•5h ago•160 comments

Cagire: Live Coding in Forth

https://cagire.raphaelforment.fr
78•surprisetalk•1w ago•11 comments

Dupes took over the world

https://www.vox.com/podcasts/493930/dupe-culture-fender-ugg-quince-tiktok-amazon-online-shopping
63•gumby•5d ago•56 comments

I joined the IndieWeb, here's what I learned

https://en.andros.dev/blog/0b8e451e/i-joined-the-indieweb-heres-what-i-learned/
156•andros•15h ago•85 comments

We want Texans to know their rights

https://www.eff.org/deeplinks/2026/07/we-want-texans-know-their-rights-qa-mayday-health-impact-su...
143•amarcheschi•4h ago•41 comments

I burned all my tokens researching how to save tokens

https://quesma.com/blog/custom-deep-research-pipeline/
98•bkotrys•14h ago•131 comments

Moonshine: Lets you stream games from your PC to any device running Moonlight

https://github.com/hgaiser/moonshine
3•wertyk•2h ago•0 comments

Natural experiments prove phytoplankton carbon removal works

https://www.onepercentbrighter.com/p/natural-experiments-prove-feeding
48•getnormality•11h ago•22 comments

Ise Jingu and the Pyramid of Enabling Technologies (2021)

https://www.scopeofwork.net/ise-jingu-and-the-pyramid-of-enabling-technologies/
7•NaOH•4d ago•4 comments

Terence McKenna's Mega Bad Trip (2025)

https://psychedelics.community/cultural-icons/terence-mckennas-mega-bad-trip
66•Dimmiwoah•12h ago•69 comments

UnifiedIR for Julia

https://github.com/JuliaLang/julia/pull/62334
82•vimarsh6739•1d ago•16 comments

Ollama: All Aboard Open Models

https://ollama.com/blog/all-aboard-open-models
108•inferhaven•18h ago•46 comments

Moonshot AI suspends new subscriptions due to Kimi K3 demand

https://twitter.com/kimi_moonshot/status/2078855608565207130
231•serialx•10h ago•96 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?