frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Android 17 is the first since 3.x to add new APIs without releasing to the AOSP

https://grapheneos.social/@GrapheneOS/117282080803799576
541•theanonymousone•6h ago•263 comments

Cloudflare Quick Tunnels

https://try.cloudflare.com/
578•jcbhmr•11h ago•250 comments

Saving another 100TB of RAM

https://blog.cloudflare.com/saving-100-tb-of-ram-with-math/
229•f311a•7h ago•43 comments

The Farnese letter

https://simonklee.dk/farnese-letter
27•grigolin•1d ago•5 comments

How to Write with an LLM

https://sockpuppet.org/blog/2026/09/17/how-to-write-with-an-llm/
392•joeriddles•1d ago•270 comments

Xcode 27.1 Beta Release Notes

https://developer.apple.com/documentation/xcode-release-notes/xcode-27_1-release-notes
113•CameronBanga•7h ago•68 comments

Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug

https://donjon.ledger.com/blog/rp2350-secure-debug-laser-fault-injection/
157•synack•9h ago•53 comments

Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash

https://cactuscompute.com/needle
164•HenryNdubuaku•1d ago•78 comments

Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)

https://arxiv.org/abs/2510.03215
66•rochansinha•7h ago•12 comments

The first new cat species discovered in 100 years

https://www.nationalgeographic.com/animals/article/meet-the-first-new-cat-species-discovered-in-1...
171•ohjeez•1d ago•60 comments

How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip

https://spectrum.ieee.org/llms-for-chip-design
57•maxall4•2h ago•58 comments

OpenJev

https://openjev.com/
557•ilreb•16h ago•245 comments

Claude Code now reads AGENTS.md if there is no Claude.md

https://code.claude.com/docs/en/changelog
515•datadrivenangel•5h ago•182 comments

Cyclomatic Complexity in C#

https://blog.ndepend.com/understanding-cyclomatic-complexity/
34•gone35•2d ago•15 comments

Show HN: LiveWorld – Every 24/7 YouTube live camera on one globe

https://liveworld.info/
8•harisingh1612•1h ago•4 comments

Minimal Phone 2

https://minimalcompany.com/
189•nashashmi•1d ago•175 comments

The Implications of Linguistic Illegibility for LLM Security

https://arxiv.org/abs/2609.02852
52•tomjakubowski•7h ago•19 comments

Warez: The Infrastructure and Aesthetics of Piracy (2021)

https://archive.org/details/b904a8eb-9c98-4bb1-bf25-3cb9d075b157
108•succinct_ideas•23h ago•25 comments

Column built an issuer processor from scratch

https://column.com/card-issuing/
22•Matthalp•2d ago•5 comments

Two parallel neural ectoderm progenitors contribute to the developing brain

https://www.newscientist.com/article/2589739-our-brain-evolved-from-two-primitive-nervous-systems...
103•Jimmc414•10h ago•54 comments

C++26: Trivial infinite loops are no longer undefined behaviour

https://www.sandordargo.com/blog/2026/09/16/cpp26-trivial-infinite-loops
148•ibobev•1d ago•201 comments

Inside ZCode: Silently uploading your Git history to the cloud

https://blog.ferstar.org/en/posts/zcode-silent-workspace-snapshot-upload/
255•csmantle•19h ago•91 comments

Alibaba open-sources AI model that can detect cancer and nearly 150 conditions

https://www.scmp.com/tech/big-tech/article/3368055/alibaba-open-sources-medical-ai-model-can-dete...
26•yogthos•2h ago•4 comments

How SpaceX streamlined the Raptor engine

https://www.construction-physics.com/p/how-spacex-streamlined-the-raptor
163•JumpCrisscross•1d ago•40 comments

LispBM is a concurrent Lisp for microcontrollers with message passing

https://www.lispbm.com/
6•so-cal-schemer•2d ago•1 comments

A search-and-inference database from scratch in pure Zig

https://antfly.io/research/antfly-zig
54•kingcauchy•3d ago•16 comments

I vibed a proof of Conway's conjecture

https://overreacted.io/how-i-vibed-a-proof-of-conways-conjecture/
212•m-hodges•11h ago•186 comments

Size-Specialized Memory Allocation

https://go.dev/blog/size-specialized-allocations
17•spacey•2d ago•3 comments

North Korean nuclear test sets off years of earthquakes

https://www.science.org/content/article/north-korean-nuclear-test-sets-years-earthquakes
183•rbanffy•11h ago•151 comments

From Geometry to Algebra and Back Again: 4000 Years of Papers (2023) [video]

https://www.youtube.com/watch?v=1cRFfYQYGxE
28•surprisetalk•1d ago•0 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?