frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

GLM-Legal: Advancing Agentic Legal Intelligence

https://z.ai/blog/glm-legal
23•ilreb•11m ago•1 comments

The Making Of Super Mario 64 – full Giles Goddard interview (2001)

https://pixelatron.com/blog/the-making-of-super-mario-64-full-giles-goddard-interview-ngc/
134•gregsadetsky•1d ago•43 comments

Fingerprints are the new cookies

https://royfish.dev/fingerprints-are-the-new-cookies
585•royfish•17h ago•287 comments

Secret of Orange Cats Revealed After 60-Year Search

https://www.sciencealert.com/secret-of-orange-cats-finally-revealed-after-60-year-search
136•bookofjoe•1d ago•111 comments

Type-safe HTML templating in Zig

https://lalinsky.com/2026/10/11/type-safe-html-templating-in-zig.html
194•lukaslalinsky•11h ago•73 comments

Show HN: PS2 games statically recompiled to WebAssembly

https://github.com/snuri00/ps2-web-recomp
170•deadxwarrior•9h ago•89 comments

French supermarkets suffer fridge shutdown after 'unprecedented' cyberattack

https://uk.finance.yahoo.com/news/french-supermarket-chains-cyberattack-forced-115141288.html
27•thinkcontext•47m ago•16 comments

Incident with Actions, Pull Requests and Issues

https://www.githubstatus.com/incidents/93njd414rpbx
109•dkpk•3h ago•94 comments

Total Annihilation, rebuilt for modern computers

https://nanolathe.gg
615•jttnr•22h ago•228 comments

An Unmade Film Shaped Hayao Miyazaki

https://animationobsessive.substack.com/p/an-unmade-film-shaped-hayao-miyazaki
28•vinhnx•1h ago•2 comments

QGIS bans AI assisted contributions

https://github.com/qgis/QGIS-Enhancement-Proposals/pull/387
306•bwnkl•5h ago•327 comments

Calculus with Julia

https://jverzani.github.io/CalculusWithJuliaNotes.jl/
203•subset•2d ago•35 comments

Running the unmodified Linux amdgpu driver on an iPad

https://github.com/Geramy/LemonSeed-Studio
70•joshcsimmons•1d ago•18 comments

Choreographic Programming in Rust

https://github.com/hibanaworks/hibana
40•o8vm•1d ago•26 comments

Living in the Weimar Era of Ruby

https://blog.julik.nl/2026/10/the-weimar-of-ruby
35•julik•5h ago•5 comments

I Found a $90k Remote Code Execution Vulnerability in Google

https://simonkoeck.com/writeups/google-devsite-flask-session-pickle-rce
47•soeckly•8h ago•25 comments

Terence Tao: Math 2.0 [pdf]

https://teorth.github.io/tao-web/slides/math-2-0-caltech-2026.pdf
471•Anon84•1d ago•468 comments

Cartographers of North Korea (2019)

https://cartographers-nk.wonyoung.so/
302•edent•20h ago•61 comments

Bag of Decisions Reranker

https://softwaredoug.com/blog/2026/10/08/bag-of-decisions.html
52•zdw•1d ago•8 comments

Doory – Open-Source Canva

https://github.com/shaongitbd/doory
177•acley•15h ago•68 comments

AI less regulated than milk, Microsoft president says in warning over safety

https://www.theguardian.com/technology/2026/oct/12/ai-less-regulated-than-milk-microsoft-presiden...
31•nephihaha•3h ago•29 comments

Ask HN: Do you want a router that has DD-WRT pre-installed?

109•Ixander•1d ago•110 comments

Deep dive into Azure Maia 300 architecture

https://azure.microsoft.com/en-us/blog/deep-dive-into-azure-maia-300-architecture/
11•azhenley•1h ago•2 comments

The gap in shared understanding of LLM capability is widening

https://twitter.com/karpathy/status/2109361546505966046
598•albertzeyer•20h ago•857 comments

Why aren't AI companies being charged for hacking?

https://mortoray.com/why-arent-ai-companies-being-charged-for-hacking/
245•ingve•1h ago•220 comments

Deloitte falsified documents to evade tax on Abramovich's wealth

https://www.bbc.com/news/articles/c64g1l5389kvo
525•Betelbuddy•6h ago•177 comments

Passkeys are a trap

https://nonfunctional.substack.com/p/passkeys-are-a-trap-do-not-use-them
895•laurex•18h ago•465 comments

Local Indexing to reduce tool calling and token usage

https://tedhaley.ca/pensieve/
107•TedHaley•16h ago•36 comments

Chapter 1 of "Ways of Seeing" by John Berger (1972)

https://www.ways-of-seeing.com/ch1
136•rafael859•21h ago•39 comments

Illustration Beyond Proof

https://terrytao.wordpress.com/2026/10/11/illustration-beyond-proof/
92•smilelamp•17h ago•14 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?