frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Local Wikipedia: Wikipedia, but only for things a half hour walk from you

https://edjefferson.com/localwiki/
274•sohkamyung•9h ago•66 comments

Docker is weird

https://codeandcake.dev/posts/2026-10-22-docker-is-weird
427•psxuaw•8h ago•204 comments

The same AI request emits 8.5 times more CO2 in Texas than in Sweden

https://berget.ai/en/blog/per-request-co2-press-release
95•jlundberg•1h ago•84 comments

How does Fable 5.1 hide messages in images?

https://www.lesswrong.com/posts/WHEQps5PK8LrrcTAb/how-does-fable-5-1-hide-messages-in-images
59•gmays•10h ago•11 comments

LLMs are making formal software verification feasible at a much larger scale

https://www.anthropic.com/research/formal-verification
333•johnbender•9h ago•185 comments

The foolishness of "natural language programming" (1978)

https://www.cs.utexas.edu/~EWD/transcriptions/EWD06xx/EWD667.html
144•xiaoyu2006•7h ago•85 comments

The HTML-in-Canvas API origin trial

https://developer.chrome.com/blog/html-in-canvas-origin-trial
30•andrewstuart•12h ago•10 comments

The alien space of science: Coherent but cognitively unavailable directions

https://arxiv.org/abs/2603.01092
35•martincsweiss•19h ago•3 comments

OpenShell – A safe, private runtime for fleets of autonomous AI agents

https://github.com/NVIDIA/OpenShell
384•niemandhier•14h ago•188 comments

This I Believe (1952)

https://www.awakin.org/v2/read/view.php?tid=468
74•ctoth•6h ago•27 comments

Every AI model has the same "controversial" take on humans

https://www.modelcompare.ai/blog/ai-models-controversial-take-on-humans
393•rakannimer•16h ago•402 comments

Show HN: OnKey – I'm a bad singer, so I built an app to show where I'm off-key

https://github.com/dsmurrell/onkey
40•dsmurrell•18h ago•20 comments

Run full iOS 16.5 firmware on Android Devices

https://github.com/oosexgang/hackios-xnu-kernel
422•aghuang•17h ago•142 comments

Getting ready to operate GNU Taler in Germany

https://www.taler.net/en/news/2026-13.html
278•dewey•16h ago•116 comments

Jank – The native Clojure dialect with seamless C++ interop

https://jank-lang.org/
91•giancarlostoro•8h ago•7 comments

A lost Schrödinger manuscript reveals a twist in quantum physics

https://www.sciencealert.com/a-lost-schrdinger-manuscript-reveals-a-surprising-twist-in-quantum-p...
35•ibobev•1d ago•12 comments

Quad9 to exit France

https://quad9.net/news/blog/au-revoir-france/
1175•farrokhi•17h ago•396 comments

WorldTUI: I trained a 360M model to pretend to be a terminal

https://simedw.com/2026/10/21/world-model-terminal/
538•alphax314•1d ago•167 comments

Tell HN: I unknowingly broke the PHP RCE embargo. I am sorry.

529•petecooper•22h ago•209 comments

Color Names

https://names.color.pizza
60•akkartik•2d ago•10 comments

Show HN: Making a smart TV dumb and then smart

https://github.com/anubhavmalhotra/r2d2-tv
10•animalhot•8h ago•0 comments

Xbox wants you to pay 24 to 40 cents per hour to stream games you bought

https://arstechnica.com/gaming/2026/10/xbox-wants-you-to-pay-24-to-40-cents-per-hour-to-stream-ga...
290•entryleveljobsc•20h ago•259 comments

Rule 30: one black cell

https://www.wolframcollatzmahler.com/rule30/index.html
12•amichail•10h ago•1 comments

We have traits at home

https://www.axelmagn.com/blog/202610-zig-traits/
13•Ygg2•9h ago•1 comments

Objects, attributes, maps, oh my

https://bernsteinbear.com/blog/object-shapes/
12•ibobev•15h ago•1 comments

Why my Asus laptop kept rebooting after sleep and how to fix it

https://idiallo.com/blog/asus-laptop-keeps-rebooting-after-sleep
47•surprisetalk•2d ago•37 comments

eMudhra to exit global SSL/TLS certificate business

https://emudhra.com/en/press-release/emudhra-to-exit-global-ssl-tls-certificate-business
1039•bo0tzz•18h ago•674 comments

Ask HN: If the models are so good, why doesn't OpenAI just start 100 companies?

110•ex-aws-dude•11h ago•99 comments

Railpass

https://train.samismith.com/
96•CharlesW•10h ago•23 comments

Hedra is a 3D open world game I wrote from scratch while in highschool

https://github.com/maxilevi/project-hedra/tree/pre-ai
183•maxilevi•13h ago•33 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?