frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Build your own decision model

https://nishtahir.com/build-your-own-decision-model/
256•softwaredoug•9h ago•61 comments

2D Vehicles

https://patkerr.co.uk/2d-vehicles/
444•Michelangelo11•3d ago•96 comments

Decade-old RAM is making a comeback

https://www.theverge.com/games/1009140/ram-shortage-intel-amd-ddr4-comeback
38•1potato•1d ago•19 comments

A city-building game in which the city would prefer you didn't

https://housing.over.pizza/
313•JumpCrisscross•11h ago•99 comments

How big is a Git commit?

https://ratfactor.com/cards/git-commit-size
20•theanonymousone•1d ago•5 comments

The Lightbulb Computer

https://lightbulbcomputer.com/
376•oskarth•1d ago•61 comments

PSPi 6 – Raspberry Pi in a PSP

https://github.com/othermod/PSPi-Version-6
69•therepanic•7h ago•7 comments

Retrofitting language models to operate over bytes

https://www.nature.com/articles/s41586-026-11111-4
48•theanonymousone•3d ago•3 comments

Nix wrote half of my debugger

https://fzakaria.com/2026/10/07/nix-wrote-half-of-my-debugger
185•ingve•2d ago•40 comments

Knuth reward check

https://www.thomas-huehn.com/knuth-reward-check/
187•Curiositry•16h ago•69 comments

Talorys – A self-hosted personal AI agent on Cloudflare's free tier

https://github.com/rociiu/talorys
283•rociiu•21h ago•130 comments

Show HN: Happy Hangul Day! An RNN for Generating Korean Handwriting Strokes

https://hangul.ink/blog/hangul-day
35•jbaudanza•2d ago•8 comments

Mxc: Microsoft Execution Containers version 1.0.0

https://blogs.windows.com/windowsdeveloper/2026/10/07/microsoft-execution-containers-policy-drive...
184•smokel•2d ago•41 comments

Deterministic Simulation Testing in Celld

https://celld.dev/docs/engineering/deterministic-simulation-testing/
17•handfuloflight•1d ago•1 comments

Show HN: Diffle, a keyboard-centric diff viewer with LSP support

https://github.com/moritzwilksch/diffle
36•mwil1000•2d ago•3 comments

OpenSCAD the Programmers Solid 3D CAD Modeller

https://openscad.org/
138•b-man•4d ago•105 comments

GameBoy on E-Paper ESP32 at 30FPS [video]

https://www.youtube.com/watch?v=XiZmM6hwwAU
62•pizzaiolo•4h ago•14 comments

Five months treating bugs like patients and coding agents like a medical team

https://www.cockroachlabs.com/blog/experiment-running-hospital-code/
118•rafiss•1d ago•51 comments

Unikernels were hard. key word: were

https://ghuntley.com/unikernels/
147•ghuntley•17h ago•64 comments

Thorium 229 based nuclear clocks

https://www.jerrycards.com/news/first-ticking-nuclear-clocks-thorium-229-tsinghua-tu-wien-2026
4•oofbey•2d ago•2 comments

Food processing influences metabolism and brain activity

https://news.vt.edu/articles/2026/10/research_fralinbiomed_upfhutelin.html
143•gmays•1d ago•113 comments

Getting old Macromedia Director Games to run on modern Hardware

https://werwolv.net/posts/macromedia_copy_protection/
73•speckx•1d ago•13 comments

Grieving the loss of details

https://purplesyringa.moe/blog/grieving-the-loss-of-details/
426•signa11•4d ago•336 comments

C for Rust programmers

https://bd103.dev/blog/2026-10-07-c-for-rust-programmers/
139•xyproto•2d ago•124 comments

500B Tokens Later: Letting AI Agents Decompile a First-Person Shooter

https://momo5502.com/posts/2026-10-09-game-decompilation/
82•davikr•5h ago•60 comments

Telegram Desktop vulnerability allowed any user's file to be stolen

https://beaksec.github.io/posts/telegram-desktop-one-click-account-takeover/
446•g-b-r•1d ago•282 comments

Chernobyl particles reveal unexpectedly stable nuclear fuel after 40 years

https://phys.org/news/2026-10-chernobyl-particles-reveal-unexpectedly-stable.html
153•geox•4d ago•66 comments

Rampart: Browser native on-device PII radaction

https://ndstudio.gov/posts/say-hello-to-rampart
85•nateb2022•1d ago•32 comments

I would like the value of my home to rise, while my property taxes fall

https://conversableeconomist.com/2026/09/28/i-would-like-the-value-of-my-home-to-rise-while-my-pr...
247•colinprince•18h ago•553 comments

Nvidia in talks to acquire US 'open' model startup Reflection AI

https://www.ft.com/content/052610c5-22b4-4dd4-932e-b7f9f0628b6a
162•arkj•13h ago•101 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?