frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Virginia bans sale of geolocation data

https://www.hunton.com/privacy-and-cybersecurity-law-blog/virginia-bans-sale-of-geolocation-data
728•toomuchtodo•11h ago•119 comments

CarPlay Is Additive

https://www.caseyliss.com/2026/7/2/carplay-is-additive-you-dolts
242•sprawl_•7h ago•280 comments

Right to Local Intelligence

https://righttointelligence.org/
195•thoughtpeddler•8h ago•68 comments

crustc: entirety of `rustc`, translated to C

https://github.com/FractalFir/crustc
248•Philpax•9h ago•46 comments

The Safari MCP server for web developers

https://webkit.org/blog/18136/introducing-the-safari-mcp-server-for-web-developers/
69•coloneltcb•6h ago•9 comments

Since Linux 6.9, LUKS suspend stopped wiping disk-encryption keys from memory

https://mathstodon.xyz/@iblech/116769502749142438
454•IngoBlechschmid•16h ago•200 comments

Reality has a surprising amount of detail (2017)

https://johnsalvatier.org/blog/2017/reality-has-a-surprising-amount-of-detail
241•vinhnx•5d ago•84 comments

Podman v6.0.0

https://blog.podman.io/2026/07/introducing-podman-v6-0-0/
500•soheilpro•17h ago•201 comments

14× faster embeddings: how we rebuilt the ONNX path in Manticore

https://manticoresearch.com/blog/onnx-embeddings-speedup/
38•snikolaev•4h ago•7 comments

Exapunks (2018)

https://www.zachtronics.com/exapunks/
276•yu3zhou4•13h ago•93 comments

Immich 3.0

https://github.com/immich-app/immich/discussions/29439
364•hashier•17h ago•171 comments

Underwater Suit-Wearing Cyborg Insect Capable of Diving and Terra-Aqua Travel

https://www.nature.com/articles/s41467-026-74235-1
25•gscott•3d ago•2 comments

Mystery identity of 'Green Boots' climber is finally solved after DNA test

https://www.dailymail.com/news/article-15943905/Mystery-identity-Green-Boots-climber-macabre-land...
97•FireBeyond•9h ago•55 comments

An American Privacy Emergency

https://scottaaronson.blog/?p=9902
287•flowercalled•8h ago•89 comments

How working with a blind client revealed invisible accessibility gaps

https://iinteractive.com/resources/blog/read-only
4•fortyseven•3d ago•0 comments

Cowboys, Frontiersmen, Settlers, Townspeople, Cityfolk

https://huntersoftwareconsulting.com/posts/2026-06-28-company-phase-changes/
11•mooreds•3d ago•1 comments

Postgres transactions are a distributed systems superpower

https://www.dbos.dev/blog/co-locating-workflow-state-with-your-data
170•KraftyOne•13h ago•70 comments

A Special Wireless-Free Nikon Camera Is Publicly Available for the First Time

https://petapixel.com/2026/06/24/a-special-wireless-free-nikon-camera-is-publicly-available-for-t...
53•HardwareLust•1w ago•29 comments

The short leash AI coding method for beating Fable

https://blog.okturtles.org/2026/07/short-leash-ai-method/
119•Riseed•12h ago•139 comments

Claude-real-video - any LLM can watch a video

https://github.com/HUANGCHIHHUNGLeo/claude-real-video
129•cortexosmain•12h ago•41 comments

Why Switzerland has 25 gbit internet and America doesn't

https://stefan.schueller.net/posts/the-free-market-lie/
455•talonx•3h ago•290 comments

Superpowers 6

https://blog.fsck.com/2026/06/15/Superpowers-6/
138•seahorseemoji•2d ago•51 comments

Great Salt Lake Tracker – Grow the Flow

https://growtheflowutah.org/laketracker/
97•cfowles•12h ago•36 comments

This is my attempt to get Vulkan going on NetBSD

https://github.com/segaboy/vulkan-netbsd
101•segaboy81•13h ago•25 comments

FoundationDB's Flow – Bringing Actor-Based Concurrency to C++11

https://apple.github.io/foundationdb/flow.html
61•sourdecor•17h ago•9 comments

EFF letter to FTC on X consent order [pdf]

https://www.eff.org/deeplinks/2026/06/eff-and-allies-xs-ftc-petition-waive-privacy-violation-orde...
136•Terretta•12h ago•51 comments

Show HN: zkGolf – Competitive optimization of formally verified circuits

https://zk.golf/
57•rot256•16h ago•9 comments

Perform DFU Restores on Apple Silicon Macs with Macvdmtool (2021)

https://www.bkurtz.io/posts/macvdmtool/
19•gregsadetsky•3d ago•3 comments

AI is 'not smart' so what's next in artificial intelligence?

https://www.bbc.com/news/articles/cj6gr0xkyr3o
22•1vuio0pswjnm7•6h ago•9 comments

Lightning Memory-Mapped Database Manager (LMDB) 1.0

http://www.lmdb.tech/doc/
80•radiator•12h ago•42 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?