frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Upload Your RAM

https://uploadyourram.org
63•susanthenerd•1h ago•29 comments

Libghostty 1.0

https://mitchellh.com/writing/libghostty-1-0
690•mfiguiere•12h ago•115 comments

Every Mac comes with an (undocumented) family member classifier

https://8rank.ai/game/apple-intelligence-personal-knowledge-graph
58•infwhispers•1h ago•17 comments

Need for Speed Underground 2 online in the browser

https://nfsu2.xyz/
33•fluxusars•1h ago•5 comments

A Jev that can ask Opus for help gives Opus accuracy at 4x lower cost

https://hightouch.com/blog/llm-judges-identity-resolution
497•theanomaly•15h ago•117 comments

Tesla to wind down Cybertruck production

https://www.nbcnews.com/tech/tech-news/tesla-wind-cybertruck-production-years-poor-sales-markets-...
1029•PLenz•23h ago•1880 comments

A barbarian tribe's mythic origin story is true, ancient DNA reveals

https://www.science.org/content/article/barbarian-tribe-s-mythic-origin-story-true-ancient-dna-re...
119•benbreen•6h ago•81 comments

The Components of Agent Memory

https://www.anthropic.com/research/components-of-agent-memory
55•geoffbp•4h ago•29 comments

Enterprise Brain – Memory that learns from work

https://www.ampup.ai/companybrain
9•irodov_rg•3d ago•0 comments

RealPage rent-pricing case wraps with nearly $360M to renters

https://www.multifamilydive.com/news/realpage-rent-pricing-case-360m-renters/873553/
132•raybb•11h ago•68 comments

Port 0: The Port That Does Not Exist

https://acid.vegas/blog/the-port-that-does-not-exist/
8•NewCzech•1h ago•1 comments

Greece has its own Pompeii: Thera buried Akrotiri in ash 17th-16th century BCE

https://www.smithsonianmag.com/history/greece-has-its-own-pompeii-and-the-ruins-tell-a-captivatin...
115•derbOac•3d ago•11 comments

US FAA says it will phase out floppy disks from air traffic control by 2028

https://www.reuters.com/world/us/us-faa-says-it-will-phase-out-floppy-disks-air-traffic-control-b...
344•ChrisArchitect•1d ago•279 comments

PostgreSQL Internals [pdf]

https://edu.postgrespro.com/postgresql_internals-14_en.pdf
31•Foe•3d ago•3 comments

Firecracker VM Escape: PwnEscape Part 2

https://pwn.ai/blog/firecracker-escape
246•SerCe•15h ago•109 comments

The Flash C Compiler

https://blog.adafruit.com/2026/10/31/flash-c-compiler/
58•AlexeyBrin•3d ago•10 comments

Notes on San Marino

https://mattlakeman.org/2026/11/05/notes-on-san-marino/
76•yorwba•18h ago•25 comments

The great butter and cheese fire of 1991

https://www.wisfarmer.com/story/opinion/columnists/2022/05/11/over-20-m-lbs-commodities-lost-grea...
34•subroutine•2d ago•13 comments

8088 Domination Post-Mortem

https://trixter.oldskool.org/2014/06/19/8088-domination-post-mortem-part-1/
21•cosmojg•2d ago•4 comments

Asahi Linux Progress Linux 7.3

https://asahilinux.org/2026/11/progress-report-7-3/
195•ackyshake•6h ago•155 comments

Can GROUP BY still be optimized after all these years?

https://pivotlake.io/blog/know-your-limit-faster-top-k-aggregation/
90•ntur1337•3d ago•15 comments

GitHub's new Git storage architecture

https://github.blog/engineering/architecture-optimization/inside-githubs-new-git-storage-architec...
153•DAlperin•16h ago•34 comments

First steps in bare-metal programming using UEFI

https://kevinboone.me/efitest_index.html
225•LaSombra•18h ago•42 comments

Gemini Omni 1.2 Flash

https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemini-omni-1-2-flash/
340•thisisauserid•21h ago•231 comments

AI is dramatically accelerating AI research

https://www.planned-obsolescence.org/p/ai-is-dramatically-accelerating-ai
317•yurivish•15h ago•273 comments

Devvm.dev: One VM for every project

https://devvm.dev/
160•luispa•18h ago•62 comments

Restaurant Delivery Payment-Skimming Campaign

https://www.infohawk.com/news/2026-11-05-scamwich-restaurant-skimming
129•fiej•16h ago•64 comments

Google has acquired Crusoe's data center site in southeast Wyoming

https://www.crusoe.ai/resources/newsroom/crusoe-wyoming-data-center-campus-update
79•rexbee•15h ago•26 comments

Chomsky and the two cultures of statistical learning (2011)

https://www.norvig.com/chomsky.html
132•andsoitis•1d ago•105 comments

Bug Finding Considered Harmful?

https://alperenkeles.com/posts/bug-finding-considered-harmful/
19•alpaylan•2d ago•4 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?