frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Why are European countries moving their gold out of North America?

https://www.bbc.com/news/articles/cvgyn8q8gqxo
60•ranit•42m ago•33 comments

Actively exploited sandbox RCE in all Chromium versions

https://nvd.nist.gov/vuln/detail/cve-2026-85046
411•negura•8h ago•229 comments

Discovery of a new OpenAI agent message board

https://collusion.wiki/
1614•moultano•18h ago•1273 comments

Formalizing Fermat's Last Theorem

https://www.anthropic.com/research/formalizing-fermats-last-theorem
574•jlebar•11h ago•356 comments

Statichost.eu – European static site hosting

https://www.statichost.eu/
226•p4bl0•10h ago•71 comments

GPT-6 Astra on OpenRouter

https://openrouter.ai/openai/gpt-6-astra
185•Topfi•8h ago•98 comments

Nitter has more working instances than before the takedowns

https://codeberg.org/mv12star/shitter/wiki/Instances
106•Cider9986•6h ago•33 comments

Can AI design circuit boards yet?

https://eebench.org/blog/can-ai-design-circuit-boards-yet/
227•iopapa•10h ago•138 comments

Git Submodules as a Package Manager

https://nesbitt.io/2026/09/01/git-submodules-as-a-package-manager.html
37•ErenayDev•3d ago•4 comments

Artificial Analysis Intelligence Index v4.2

https://artificialanalysis.ai/articles/artificial-analysis-intelligence-index-v4-2
101•nojs•6h ago•36 comments

Shutting down our public encrypted DNS

https://mullvad.net/en/blog/shutting-down-our-public-encrypted-dns-servers-and-sponsoring-quad9-i...
313•mywacaday•11h ago•139 comments

GPT-6 Astra in code review: Gains, privacy, and cost

https://www.coderabbit.ai/blog/gpt-6-astra-code-review-evaluation
13•cebert•2h ago•3 comments

Portal by Spotify cut my Claude Code token usage by 90%

https://engineering.atspotify.com/2026/9/portal-by-spotify-cut-my-claude-code-token-usage-by-90
87•cebert•6h ago•45 comments

Can guitar frets perform multiplication?

https://www.charlespetzold.com/blog/2026/09/Can-Guitar-Frets-Perform-Multiplication.html
59•wibbily•7h ago•16 comments

RSA-260 Factorized

https://twitter.com/penlume/status/2095372672356212876
101•samyok•2d ago•44 comments

Show HN: Open-Source eInk Bike Computer

https://opentrailpaper.com
268•stingrae•13h ago•96 comments

The Highest Point in the Netherlands

https://ipv6.hanazo.no/posts/anniversary-personal/
15•haasted•2d ago•13 comments

Ask HN: Resources to get good at soldering?

99•tosmatos•2d ago•63 comments

I Want a Wife (1971) [pdf]

https://www.sevanoland.com/uploads/1/1/8/0/118081022/_brady_i_want_a_wife.pdf
3•NaOH•3d ago•0 comments

Fermat's Last Theorem in Lean 4

https://github.com/anthropics/fermats-last-theorem
91•aaraujo002•11h ago•17 comments

IBM Bob

https://bob.ibm.com/
252•artpar•17h ago•281 comments

Praearcturus gigas: giant scorpion from Lower Devonian (Lochkovian) of Britain

https://onlinelibrary.wiley.com/doi/10.1111/pala.70064
14•bryanrasmussen•3d ago•9 comments

The Rust React Compiler is now native in Vite

https://blog.master.dev/react-now-rusted-all-the-way-out/
134•acusti•12h ago•27 comments

An open DNS recursive service for free security and high privacy

https://quad9.net/
80•mooreds•10h ago•23 comments

Decompiler Explorer

https://dogbolt.org
66•tripdout•3d ago•1 comments

Government Rails Site Hit Hours After CVE Patch

https://rietta.com/blog/ruby-on-rails-cve-exploited-hours-after-patch/
86•rietta•11h ago•25 comments

Record-High 89% in U.S. Say Government Corruption Widespread

https://news.gallup.com/poll/713933/record-high-say-government-corruption-widespread.aspx
342•karakoram•8h ago•256 comments

Show HN: TERMy – A fast terminal assistant that does not use LLMs

https://github.com/gioblu/NPC-Forge/blob/main/docs/development.md
112•gioscarab•21h ago•30 comments

Icons as a Service

https://nravic.com/blog/images/
37•nravic•8h ago•2 comments

Connecting every app to every other app

https://blog.val.town/connectors
31•Chidiebere229•7h ago•2 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?