frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Gemini 4 Argon

https://deepmind.google/models/gemini/
595•737max•3h ago•479 comments

Apple HomeView

https://www.apple.com/apple-homeview/
530•etothet•6h ago•639 comments

Thunderbird for iOS

https://blog.thunderbird.net/2026/10/thunderbird-for-ios-a-first-look-at-the-native-iphone-email-...
216•mjorgers•4h ago•77 comments

Redesigning source control at Anthropic

https://www.anthropic.com/engineering/redesigning-source-control
206•Philpax•3h ago•163 comments

11 year old unsoundness bugs found in Rust borrow checker

https://github.com/rust-lang/rust/issues/164250
592•formerly_proven•8h ago•338 comments

I posted to HN, and then my website was flooded with AI bot traffic

https://www.sammystraus.com/#i-posted-to-hn-and-then-my-website-was-flooded-with-ai-bot-traffic
149•sammy0910•3h ago•85 comments

Firefox Enterprise

https://www.firefox.com/en-US/enterprise/
466•recvonline•7h ago•186 comments

A plea not to use uv-build

https://blogs.gentoo.org/mgorny/2026/10/12/a-plea-not-to-use-uv-build/
22•Ravencentric•1h ago•10 comments

We turned EmbeddingGemma 2 into a speech-to-text model

https://eg2.haku.sh/
337•amrrs•7h ago•80 comments

New Apple TV 4K

https://www.apple.com/newsroom/2026/10/apple-unveils-the-new-apple-tv-4k/
200•corvad•6h ago•385 comments

Coris (YC S22) Is Hiring Back End Engineer

https://www.ycombinator.com/companies/coris/jobs/h0nDly8-backend-engineer-ai-native-risk-infrastr...
1•smaddali•2h ago

MIT class project turns into an FDA-cleared treatment for tremors

https://news.mit.edu/2026/mit-class-project-turns-into-fda-cleared-treatment-for-tremors-1002
63•zdw•23h ago•11 comments

Gemini 4 Argon for Robotics

https://developers.googleblog.com/gemini-4-argon-for-robotics/
110•xnx•2h ago•20 comments

The United Kingdom generates less electricity per person than in the 1970s

https://ourworldindata.org/data-insights/electricity-generation-per-person-in-the-united-kingdom-...
76•karakoram•4h ago•59 comments

A Dynamic and Distributed Virtual GPU Cloud Built on Idle Apple Silicon Devices

https://machinelearning.apple.com/research/distributed-gpu-cloud
187•acossta•6h ago•81 comments

Show HN: How Random Are You?

https://lab.specr.net/rigged-draw/
35•vunderba•2h ago•18 comments

Launch HN: Consus (YC F24) – LLM gateway for companies handling sensitive data

27•ericmags•3h ago•15 comments

Apple's new 'Switch to Safari' campaign details why you should ditch Chrome

https://9to5mac.com/2026/10/12/apples-new-switch-to-safari-campaign-details-why-you-should-ditch-...
69•ivell•4h ago•110 comments

Show HN: XY Music Notation

https://music.xy.dev/
14•jmole•1h ago•11 comments

Zero to Calc in Six Days: Inside XBOW's Chrome Full Chain

https://xbow.com/labs/research/zero-to-calc-in-six-days-inside-xbow-chrome-full-chain
9•ollin•47m ago•1 comments

Worlds more habitable than Earth?

https://www.nytimes.com/2026/10/13/science/inhabitable-planets-solar-system.html
45•cainxinth•7h ago•79 comments

How to engineer an AI harness for game development

https://kylekukshtel.com/ai-harness-engineering-game-development-claude-code
61•kkukshtel•5h ago•22 comments

Character.ai has initiated voluntary Chapter 11 bankruptcy

https://blog.character.ai/an-update-on-character-ai/
205•nryoo•11h ago•226 comments

Hittite royal archive found in Turkey

https://www.thehistoryblog.com/archives/77107
303•benbreen•13h ago•76 comments

Show HN: Deslop – Oxlint rules for AI-generated TypeScript

https://github.com/maharshi365/deslop
5•maharshi365•1h ago•0 comments

Show HN: Use your OpenAI subscription to create audiobooks

https://pdftomp3.com/connect-ai/
143•janpmz•9h ago•74 comments

Cyberattack halts construction of tunnel between Denmark and Germany

https://ua.news/en/world/kiberataka-zupinila-budivnitstvo-tuneliu-mizh-daniieiu-ta-nimechchinoiu-...
123•paaloeye•3h ago•101 comments

AI is a tool and using it well takes skill

https://yyhh.org/blog/2026/10/ai-is-a-tool/
612•layer8•21h ago•480 comments

AWS Lambda Web Functions

https://aws.amazon.com/blogs/aws/announcing-aws-lambda-web-functions-for-fast-consistent-web-app-...
81•HatchedLake721•9h ago•78 comments

GLM-Legal

https://z.ai/blog/glm-legal
660•ilreb•1d ago•357 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?