frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Fold Epic Paper Airplanes

https://www.foldableflight.com
90•vismit2000•47m ago•12 comments

Humans will never again create a project like Wikipedia

https://www.economist.com/culture/2026/10/29/humans-will-never-again-create-a-project-quite-like-...
38•edward•36m ago•18 comments

Try Gleam

https://nchagnet.eu/blog/you-should-try-gleam
33•nchagnet•1h ago•22 comments

Fun things to do with your VM/370 CE machine – Fun with big computers

https://rbanffy.github.io/fun-with-big-computers/fun-with-vm370/
56•rbanffy•2h ago•4 comments

Next-Concept Modeling: Fast, Parallel Coarse-to-Fine Text Generation

https://arxiv.org/abs/2610.14162
124•theanonymousone•5h ago•25 comments

Hours of YouTube and 85 handtyped pages of notes on LLM Inference – Start here

https://github.com/samir-sarwar/samir-vllm
11•samirswr•1h ago•1 comments

Ginux: A New Kernel Runs Linux Userspace, Made via Human-Directed AI Engineering

https://zenodo.org/records/23682548
8•ForHackernews•1h ago•9 comments

KetchUp – Open-source SketchUp alternative built with Rust and WebGPU

https://ketchup3d.github.io/app/
573•dcoulmbe•14h ago•168 comments

Unlocking any car from X brand in most of the world

https://shubs.io/unlocking-any-car-from-x-brand-in-most-of-the-world/
443•infosecau•12h ago•209 comments

Burying the Evidence: nine out of every 10 time capsules go missing

https://longreads.com/2026/11/05/time-capsules-ashley-stimpson/
16•ohjeez•1d ago•3 comments

Nvidia was in 1 in 11 startup rounds over $100M last year

https://datahyena.com/research/a-chipmaker-was-in-one-of-every-eleven-100m-rounds/
44•ghostfoxgod•2d ago•36 comments

What is malloc doing, anyway?

https://benmandrew.com/articles/what-is-malloc-doing-anyway
13•benmandrew•1h ago•0 comments

I'm not convinced the AI bubble exists

https://matteoraso.github.io/im-not-convinced-the-ai-bubble-exists.html#im-not-convinced-the-ai-b...
373•matteoraso•13h ago•634 comments

Declarative Dragging

https://declarative-dragging.github.io/
609•smusamashah•4d ago•78 comments

Psalm 7 release: PHP security&static analysis software

https://psalm.dev/articles/psalm-7
44•danogentili•1d ago•24 comments

Chimera Vocal Synth

https://chimera-vocal-synth.vercel.app/
262•nmstoker•14h ago•41 comments

Outlook.com is rejecting email from domains without DMARC

https://mailroute.net/blog/outlook-rejecting-email-without-dmarc
441•xmddmx•17h ago•309 comments

How Australia played the first music on a computer

https://www.pearcey.org.au/heritage/csirac/how-australia-played-the-worlds-first-music-on-a-compu...
3•Skyfall106•3d ago•0 comments

Dux: Free, open-source Wayland desktop shell with file manager and theming

https://duxlabs.dev/
305•indigodaddy•17h ago•110 comments

Show HN: Flide: Make Jev-like decision models up to 9.5x faster

https://github.com/OmniJev/Flide
60•unikcc•8h ago•16 comments

The French Cake Cooked on a Spit (2018) [video]

https://www.youtube.com/watch?v=havcACdx0Y0
14•NaOH•1d ago•10 comments

Quasi-Logarithmic Kitchen Timer

https://blog.coredump.cx/p/quasi-logarithmic-kitchen-timer
53•surprisetalk•4d ago•12 comments

Ask HN: What are you working on? (November 2026)

229•david927•15h ago•806 comments

Nvidia CEO Jensen Huang's letter to staff about affair

https://nvidianews.nvidia.com/news/a-message-to-our-company
751•karimf•14h ago•848 comments

ChatGPT Desktop forwards your SSH agent to remote machines

70•DenGorbachev•4h ago•14 comments

Is Opus 5.5 nerfed? Thinking patterns changed on November 3

https://twitter.com/shanemelaugh/status/2119192075505893695
276•rzk•6h ago•193 comments

Llama-modchip: 284B DeepSeek on 64GB RAM, no GPU

https://github.com/synchopate/llama-modchip
437•joshcsimmons•1d ago•194 comments

Ur-Nammu Founder of the Sumerian Renaissance

https://www.worldhistory.org/Ur-Nammu/
35•Bluestein•1d ago•4 comments

Writing as a thinking tool

http://muratbuffalo.blogspot.com/2026/11/writing-as-thinking-tool.html
396•jruohonen•1d ago•96 comments

Goldman Sachs is pulling Claude Code from its bankers and traders

https://www.thestateofai.com/news/goldman-sachs-claude-code-traders-bankers
805•TheWiggles•18h ago•430 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?