frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Linux support is coming to Snapdragon X2 Series

https://www.qualcomm.com/news/onq/2026/09/snapdragon-summit-agentic-ai-pcs-linux
376•aaronday•10h ago•164 comments

Early rogue AI agent activity and attempts to hack found on urlquery.net

https://transluce.org/agent-activity
90•snikolaev•3h ago•56 comments

Claude discovers a novel enzyme system with CRISPR-like repeats

https://www.anthropic.com/news/claude-discovers-novel-enzyme-system
638•raahelb•14h ago•653 comments

Ideas on modernizing the open-source desktop

https://lwn.net/SubscriberLink/1095425/2d9f411252325784/
109•signa11•5h ago•69 comments

ArXiv receives multiyear commitments to support it as an independent nonprofit

https://blog.arxiv.org/2026/09/23/arxiv-receives-multiyear-investment/
166•JohnHammersley•10h ago•20 comments

Contrastive Language Models

https://contrastive-lm.notion.site/
54•erichocean•4h ago•11 comments

VSCode's SSH Agent Is Bananas (2025)

https://fly.io/blog/vscode-ssh-wtf/
220•Rapzid•11h ago•138 comments

Virtio-nvgpu: Near-native Nvidia GPU access inside a KVM guest

https://github.com/nestrilabs/virtio-nvgpu
88•WanjohiRyan•7h ago•41 comments

The "Windows XP Box" (2003)

https://www.mini-itx.com/projects/windowsxpbox/
142•doubletwoyou•2d ago•24 comments

Making portable my unportable transputer C compiler

https://nanochess.org/transputer_c_compiler.html
44•nanochess•2d ago•4 comments

Why 'What's Opera, Doc?' looks like that

https://animationobsessive.substack.com/p/why-whats-opera-doc-looks-like-that
52•CharlesW•17h ago•12 comments

Fixing the Portobello Police Station Clock

https://pointinthecloud.com/2026-04-11-211700.html
438•avidly•17h ago•101 comments

Meta VR Glasses

https://www.meta.com/vr-glasses/
383•polymorph1sm•8h ago•338 comments

Mercury 2.5 LLM hits 770 tokens per second

https://artificialanalysis.ai/models/mercury-2-5
101•Retro_Dev•10h ago•61 comments

Making Tailscale Faster

https://tailscale.com/blog/making-tailscale-faster
160•yarapavan•14h ago•65 comments

Meta takes down a critical video about meta AI Glasses after filming at Meta

https://www.reddit.com/r/facebook/comments/1wotwrk/meta_takes_down_a_critical_video_about_meta_ai/
15•pieterr•23m ago•1 comments

Women Who Sold Books Door to Door

https://daily.jstor.org/the-women-who-sold-books-door-to-door/
17•herbertl•2d ago•0 comments

Italian parliament votes for return to nuclear energy

https://apnews.com/article/italy-nuclear-chernobyl-4891b6b7c7791ae84db6b0bf0f7cf567
766•geox•15h ago•564 comments

The mystery animal on an ancient god's head

https://signoregalilei.com/2026/09/13/the-mystery-animal-on-an-ancient-gods-head/
102•surprisetalk•1d ago•30 comments

Data liberation: Apache Kafka's native cluster mirroring

https://developers.redhat.com/articles/2026/09/22/data-liberation-apache-kafka-native-cluster-mir...
13•fvaleri•1d ago•1 comments

OpenAI agent hacked Australian government website, PM says

https://www.bbc.com/news/live/cvgl73pxgndwt
34•rudy6912•6h ago•2 comments

Tokens too cheap to meter

https://jyn.dev/tokens-too-cheap-to-meter/
292•teoruiz•23h ago•200 comments

A brief history of Windows scroll bar shortcuts

https://devblogs.microsoft.com/oldnewthing/20260922-00/?p=112719/
136•tybulewicz•14h ago•77 comments

Show HN: An open-source manufacturing ERP/MES/QMS

https://carbon.ms/self-hosted
32•barbinbrad•8h ago•14 comments

Six-year-old breaks women's world Rubik's Cube record [video]

https://www.youtube.com/watch?v=UCMRgvyTm08
45•1659447091•3h ago•24 comments

Lambda MicroEgg

https://www.philipzucker.com/lambda_miller_egg/
39•philzook•3d ago•1 comments

LensVLM: Compressing long context as images, expanding only relevant pages

https://huggingface.co/apple/LensVLM-9B
75•victormustar•14h ago•7 comments

Solving for faster SHA-1 collision detection

https://sam.dev/blog/faster-sha1-collision-detection
28•srijs•2d ago•7 comments

Gemini 3.8 text-to-speech

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-8-text-to-speech/
301•swolpers•17h ago•136 comments

Feds Target AI Critics as "Foreign Agents"

https://www.kenklippenstein.com/p/feds-think-ai-critics-are-foreign
285•nmeagent•8h ago•285 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?