frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

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

https://ketchup3d.github.io/app/
32•dcoulmbe•1h ago•3 comments

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

https://duxlabs.dev/
157•indigodaddy•4h ago•50 comments

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

71•david927•2h ago•324 comments

Chimera Vocal Synth

https://chimera-vocal-synth.vercel.app/
23•nmstoker•1h ago•6 comments

Declarative Dragging

https://declarative-dragging.github.io/
262•smusamashah•4d ago•31 comments

Nvidia CEO Jensen Huang's letter to staff about affair

https://www.axios.com/2026/11/08/nvidia-ceo-jensen-huang-affair-email-to-company
216•karimf•1h ago•194 comments

Goldman Sachs is pulling Claude Code from its bankers and traders

https://www.thestateofai.com/news/goldman-sachs-claude-code-traders-bankers
532•TheWiggles•5h ago•322 comments

Outlook.com Is Quietly Rejecting Email from Domains Without DMARC

https://mailroute.net/blog/outlook-rejecting-email-without-dmarc
191•xmddmx•4h ago•155 comments

The Web Is More Than Enough, by Paul Ford

https://ftrain.com/aboard-the-web-is-more-than-enough
43•edward•3h ago•18 comments

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

https://github.com/synchopate/llama-modchip
342•joshcsimmons•13h ago•139 comments

Edward Hopper's Iconic Painting, "Nighthawks

https://lithub.com/the-story-behind-edward-hoppers-iconic-painting-nighthawks/
57•prismatic•4d ago•19 comments

The History of Djgpp (1998)

https://www.delorie.com/djgpp/history.html
30•atan2•5d ago•9 comments

Writing as a thinking tool

http://muratbuffalo.blogspot.com/2026/11/writing-as-thinking-tool.html
256•jruohonen•13h ago•76 comments

Playing with the STM32MP2

https://serd.es/2026/11/08/playing-with-stm32mp2.html
25•dverlaeckt80•4h ago•13 comments

A Little Snitch for Windows

https://packethound.app/
85•BadBoyBubby•6h ago•38 comments

How I Fight AI Brain Fry

https://sergeykuhne.com/blog/fighting-ai-brain-fry
125•kyunez•4h ago•111 comments

Show HN: Vegetable Gardening for Engineers

https://jrcpl.us/contrib/2020/gardening-for-engineers/
146•jrcplus•4d ago•28 comments

Nvidia Board of Directors Is Investigating Jensen Huang

https://nvidianews.nvidia.com/news/statement-from-nvidia-board-of-directors
328•vincentchau•3h ago•257 comments

I'm not a fan of Deno's security model (2024)

https://goldstein.lol/posts/deno-security/
80•maxloh•9h ago•37 comments

Goodbye Claude, hello Pi

https://caleb.software/posts/claude-to-pi.html
671•karagenit•20h ago•424 comments

Porting Android 16 to my blind mother's keypad phone

https://z1x.us/blog/four-hundred-bucks-of-e-waste
144•z1xus•4d ago•43 comments

Playing Zork 1 on a CP/M emulator on Linux (2021)

https://kevinboone.me/cpmzork.html
24•linuxkernal•5h ago•12 comments

The Reconstruction of Torn Documents

https://www.bundesarchiv.de/en/stasi-records-archive/the-reconstruction-of-torn-documents/
84•jacquesm•2d ago•48 comments

Starship Flight 15 on 11/13 plans to catch both booster and ship

https://www.spacex.com/launches/starship-flight-15
66•spikels•3h ago•27 comments

Claude Code's "Don't Ask Again" exposes passwords in 1,122 public GitHub files

https://apiiro.com/blog/coding-agents-leaking-secrets-github-dont-ask-again
574•shmulc•1d ago•390 comments

How to prove equations using diagrams, part 1

https://www.epatters.org/post/e-graphs-1/
59•frostbyte7•10h ago•5 comments

A field guide to CAPTCHA types and how they break

https://github.com/vsmutok/FuckCaptcha
43•vasylsmutok•6h ago•12 comments

Agent memory needs its OpenTelemetry moment

https://www.lorekit.io/blog/open-agent-memory-format
164•mthines•15h ago•102 comments

JIT bitmap text rendering for microcontrollers

https://linebender.org/blog/jit-bitmap-text/
91•dmit•13h ago•17 comments

Show HN: SafeScript, a safe version of JavaScript for executing untrusted code

https://github.com/SafeScript/safescript
6•EGreg•2h ago•0 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?