frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Beauty in DVD Menus

https://vale.rocks/posts/dvd-menus
39•speckx•1h ago•13 comments

“Math 2.0” will need to value mathematical progress more holistically

https://mathstodon.xyz/@tao/117395269325940185
452•ent101•9h ago•437 comments

The Slow Formation of Durable Software

https://newsletter.dancohen.org/archive/the-slow-formation-of-durable-software/
102•benbreen•1d ago•28 comments

I gave Opus 5.5 one prompt and six hours to visualize Invisible Cities

https://quesma.com/blog/invisible-cities-one-shot/
151•stared•2h ago•77 comments

Telnet BBS Guide

https://www.telnetbbsguide.com/
41•kmstout•2h ago•15 comments

Claude Haiku 5.5

https://www.anthropic.com/claude-haiku-5-5
961•sfkgtbor•20h ago•452 comments

The 15-year search for a band that charted once and vanished

https://shahidhussain.com/writing/search-for-salvage/
241•shahidhussain•3d ago•88 comments

OpenAI Withdraws 3 Math Papers

https://github.com/openai/math/blob/main/history.md
219•theemathas•6h ago•167 comments

Time Travel in Braid (2015)

https://qntm.org/braid
33•Ariarule•3d ago•7 comments

Living off-grid: Hundred Rabbits

https://100r.ca/site/home.html
295•Muhammad523•2d ago•112 comments

Margaret Hamilton has died

https://news.mit.edu/2026/margaret-hamilton-computing-pioneer-dies-1007
1865•muglug•17h ago•209 comments

GPT‑6 and Intelligent UI for everyone

https://openai.com/index/gpt-6-for-everyone/
697•joshuawright11•20h ago•408 comments

Anne Carson wins Nobel Prize in literature 2026

https://www.theguardian.com/books/2026/oct/08/wins-the-nobel-prize-in-literature-2026
74•sonabinu•2h ago•5 comments

How did Rosalind Franklin miss the helix in her iconic DNA image? She didn't

https://www.science.org/content/article/how-did-rosalind-franklin-miss-helix-her-iconic-dna-image...
238•pavel_lishin•2d ago•83 comments

'Jonathan' is the oldest land animal on Earth

https://www.404media.co/oldest-living-land-animal-jonathan-the-tortoise/
209•gumby•18h ago•115 comments

Float and integer arithmetic follow two different paradigms

https://blog.pkh.me/p/49-float-and-integer-arithmetic-follow-two-different-paradigms.html
13•ibobev•3d ago•2 comments

The Mathocalypse

https://scottaaronson.blog/?p=10169
312•6bitquant•18h ago•319 comments

Cleo (Mathematician)

https://en.wikipedia.org/wiki/Cleo_(mathematician)
206•djoldman•1d ago•39 comments

Show HN: Bigwords.page – Turn any screen into a sign. The URL is the app

https://bigwords.page/
587•SpeakingOfBrad•22h ago•144 comments

Bloody Cavemen

https://www.lrb.co.uk/the-paper/v48/n18/edmund-gordon/bloody-cavemen
26•Thevet•1d ago•3 comments

Dat-ecosystem: high level applications built on top of P2P protocols

https://dat-ecosystem.org/
32•janandonly•7h ago•13 comments

Sharing AI progress in mathematics

https://openai.com/index/sharing-ai-progress-in-mathematics/
1296•OfficialTurkey•1d ago•1476 comments

In Vienna and Beijing, the first (thorium) nuclear clocks begin to tick

https://www.nytimes.com/2026/10/07/science/first-nuclear-clocks-thorium-229.html
131•gumby•20h ago•40 comments

Classic PC demoscene productions running natively in the browser

https://treylorswift.github.io/demoscene-recomp/web/
127•adunk•7h ago•108 comments

New repository settings for configuring pull request access

https://github.blog/changelog/2026-02-13-new-repository-settings-for-configuring-pull-request-acc...
34•Bluestein•2d ago•21 comments

Docker Agent

https://github.com/docker/docker-agent
274•saikatsg•20h ago•125 comments

AHM Statement on OpenAI's October 6 Release of Mathematical Documents

https://www.ahmath.org/statements
28•kkoncevicius•4h ago•30 comments

Push ifs up and fors down: The idiom, its algebra, and its limits

https://debasishg.github.io/blog/push-ifs-up-fors-down/
168•speckx•19h ago•76 comments

Animated ASCII Art for Web Pages

https://ascii.rest/
407•turrini•23h ago•72 comments

Why were Victorian elites so effective?

https://worksinprogress.co/issue/the-seven-vices-of-highly-effective-victorians/
199•karakoram•23h ago•332 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?