frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

WallHop – 12ft.io is gone, so I built a replacement

https://wallhop.io/
49•TheWaffleHax•44m ago•27 comments

Build your own decision model

https://nishtahir.com/build-your-own-decision-model/
106•softwaredoug•2h ago•20 comments

2D Vehicles

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

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

https://housing.over.pizza/
165•JumpCrisscross•4h ago•64 comments

The Lightbulb Computer

https://lightbulbcomputer.com/
236•oskarth•21h ago•43 comments

Nix wrote half of my debugger

https://fzakaria.com/2026/10/07/nix-wrote-half-of-my-debugger
126•ingve•1d ago•22 comments

Knuth reward check

https://www.thomas-huehn.com/knuth-reward-check/
146•Curiositry•9h ago•51 comments

Why DuckDB 2.0 is faster

https://motherduck.com/blog/why-duckdb-20-is-faster/
141•tosh•7h ago•49 comments

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

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

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

https://github.com/rociiu/talorys
247•rociiu•14h ago•121 comments

Mxc: Microsoft Execution Containers version 1.0.0

https://blogs.windows.com/windowsdeveloper/2026/10/07/microsoft-execution-containers-policy-drive...
159•smokel•1d ago•37 comments

REA Reverse – Engineer Anything

https://rea.tools/
705•modinfo•1d ago•303 comments

OpenSCAD the Programmers Solid 3D CAD Modeller

https://openscad.org/
102•b-man•4d ago•85 comments

Recent AI models struggled to match a human algorithmic innovation

https://epoch.ai/publications/innovationeval
75•merksittich•1d ago•56 comments

Unikernels were hard. key word: were

https://ghuntley.com/unikernels/
96•ghuntley•11h ago•42 comments

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

https://github.com/moritzwilksch/diffle
9•mwil1000•2d ago•1 comments

Getting old Macromedia Director Games to run on modern Hardware

https://werwolv.net/posts/macromedia_copy_protection/
37•speckx•1d ago•5 comments

Grieving the loss of details

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

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

https://www.ft.com/content/052610c5-22b4-4dd4-932e-b7f9f0628b6a
117•arkj•6h ago•83 comments

Rampart: Browser native on-device PII radaction

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

Food processing influences metabolism and brain activity

https://news.vt.edu/articles/2026/10/research_fralinbiomed_upfhutelin.html
107•gmays•20h ago•83 comments

Bitwarden Dual License Model

https://community.bitwarden.com/t/published-version-update-in-app-stores/102750
346•Cider9986•10h ago•249 comments

Apple/macOS removed from official Unix registry

https://www.opengroup.org//openbrand/register/
253•john_alan•14h ago•219 comments

C for Rust programmers

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

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

https://beaksec.github.io/posts/telegram-desktop-one-click-account-takeover/
414•g-b-r•22h ago•265 comments

Eye of Sauron: Long-Range Hidden Spy Camera Detection (2024)

https://www.usenix.org/conference/usenixsecurity24/presentation/zhang-qibo
311•ortusdux•3d ago•74 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...
216•colinprince•12h ago•512 comments

Chernobyl particles reveal unexpectedly stable nuclear fuel after 40 years

https://phys.org/news/2026-10-chernobyl-particles-reveal-unexpectedly-stable.html
132•geox•3d ago•49 comments

How strong is the strong interaction?

https://cerncourier.com/how-strong-is-the-strong-interaction/
48•EA-3167•1d ago•12 comments

Whooping Cranes Learned to Migrate by Following Costumed Pilots

https://theverifiedpost.com/article/whooping-cranes-ultralight-costumed-pilots-operation-migration
57•kgolubic•1d ago•7 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?