frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Deno Desktop

https://docs.deno.com/runtime/desktop/
386•GeneralMaximus•4h ago•162 comments

Help I accidentally a wigglegram

https://lmao.center/blog/wiggle-accidents/
251•gregsadetsky•2d ago•48 comments

Did my old job only exist because of fraud?

https://david.newgas.net/did-my-old-job-only-exist-because-of-fraud/
562•advisedwang•12h ago•244 comments

Apertus – Open Foundation Model for Sovereign AI

https://apertvs.ai/
388•T-A•12h ago•129 comments

Munich 1991: The Roots of the Current AI Boom

https://people.idsia.ch/~juergen/ai-boom-roots-munich-1991.html
67•tosh•2d ago•19 comments

GLM 5.2 vs. Opus

https://techstackups.com/comparisons/glm-5.2-vs-opus/
134•ritzaco•2h ago•104 comments

Codex logging bug may write TBs to local SSDs

https://github.com/openai/codex/issues/28224
92•vantareed•2h ago•55 comments

Investors get real-time view of UK bond market activity for the first time

https://www.fca.org.uk/news/press-releases/investors-get-real-time-view-uk-bond-market-activity-f...
16•monkeydust•2h ago•0 comments

Memory Safe Inline Assembly

https://fil-c.org/inlineasm
115•pizlonator•2d ago•24 comments

There is minimal downside to switching to open models

https://www.marble.onl/posts/cancel_claude.html
228•amarble•13h ago•188 comments

Lisp in the Rust Type System

https://github.com/playX18/lisp-in-types/
73•quasigloam•2d ago•1 comments

Everything is logarithms

https://alexkritchevsky.com/2026/05/25/everything-is-logarithms.html
232•E-Reverance•13h ago•46 comments

Good results fine tuning a local LLM like Qwen 3:0.6B to categorize questions

https://www.teachmecoolstuff.com/viewarticle/fine-tuning-a-local-llm-to-categorize-questions
137•dev-experiments•11h ago•30 comments

Identity verification on Claude

https://support.claude.com/en/articles/14328960-identity-verification-on-claude
761•bathory•21h ago•636 comments

My 1992 view of the problems of computer programming in 1992

https://blog.plover.com/prog/fortran-i.html
26•speckx•2d ago•4 comments

Luis Alvarez's Journey from Hiroshima to the Death of the Dinosaurs

https://www.lrb.co.uk/the-paper/v48/n11/steven-shapin/barrel-of-greenbacks
7•mitchbob•2d ago•1 comments

Efficient C++ Programming for Modern C++ CPUs, Chapter 4/part 2

https://6it.dev/blog/infographics-operation-costs-in-cpu-clock-cycles-take-2-80736
61•birdculture•2d ago•11 comments

JSON-LD explained for personal websites

https://hawksley.dev/blog/json-ld-explained-for-personal-websites/
219•ethanhawksley•15h ago•65 comments

Sakana Fugu

https://sakana.ai/fugu/
123•Finbarr•8h ago•76 comments

Japanese verb conjugation the simple hard way

https://underreacted.leaflet.pub/3mmevu6woys27
102•valzevul•11h ago•134 comments

How I play video games with spinal muscular atrophy

https://www.openassistivetech.org/how-i-actually-play-video-games-with-sma-the-tools-i-use-every-...
113•dannyobrien•3d ago•15 comments

Show HN: Teach your kids perfect pitch

https://github.com/paytonjjones/bsharp
142•paytonjjones•21h ago•85 comments

1983 Northern Telecom Commodore Phone

https://www.oldtelephoneroom.ca/1983-northern-telecom-commodore-phone/
56•arexxbifs•9h ago•18 comments

PowerFox Browser

https://powerfox.jazzzny.me/
136•thisislife2•12h ago•37 comments

Minecraft: Java Edition 26.2, the first version with Vulkan 1.2

https://www.minecraft.net/en-us/article/minecraft-java-edition-26-2
147•ObviouslyFlamer•5d ago•52 comments

Rent collections are down in New York

https://www.politico.com/news/2026/06/21/rent-collections-are-down-in-new-york-and-no-ones-sure-w...
91•JumpCrisscross•12h ago•344 comments

Show HN: Criterion Closet as a website – pull any of 1,247 films off the shelf

https://the-criterion-closet.vercel.app
111•olievans•1d ago•31 comments

The minimum viable unit of saleable software

https://brandur.org/minimum-viable-unit
174•brandur•17h ago•63 comments

Prefer duplication over the wrong abstraction (2016)

https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction
492•rafaepta•18h ago•316 comments

(How to Write a (Lisp) Interpreter (In Python)) (2010)

https://norvig.com/lispy.html
185•tosh•18h ago•61 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?