frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

A Deterministic Subexponential-Time Algorithm for the Discrete Logarithm Problem [pdf]

https://eprint.iacr.org/2026/3020.pdf
11•yuvadam•23m ago•0 comments

The group chat where your AI talks behind your back

https://construct22.com/
362•utiiiD•5h ago•162 comments

AI made self-hosting fun again

https://janlukas.blog/posts/ai-self-hosting
788•jlelse•14h ago•398 comments

Kamil Khan Mumtaz: Pakistani architect, admired at home, almost invisible abroad

https://worksinprogress.co/issue/the-greatest-architect-youve-never-heard-of-is-in-pakistan/
399•dverlaeckt80•15h ago•100 comments

YouTube Ad Punisher – Auto-reloads YouTube pages when an ad plays

https://github.com/antonpictures/youtube-punisher
434•iantongeorge•18h ago•501 comments

AMD-specific fork of llama.cpp

https://devnull.land/amd-specific-llama-cpp
384•julianlam•19h ago•91 comments

Hard Drive pricing has gotten bad

https://blog.ktz.me/black-friday-hard-drive-prices-are-messed-up/
397•zdw•11h ago•322 comments

CTO of 'RansomwareHelp' indicted for wire fraud

https://krebsonsecurity.com/2026/11/cto-of-ransomwarehelp-indicted-for-wire-fraud/
284•Bender•18h ago•141 comments

Company Culture = Slack Emoji ÷ √Headcount

https://lia.mg/posts/measuring-company-culture-with-slack-emoji/
416•liamg•15h ago•195 comments

European Commission Declares Browser Competition a Digital Markets Act Priority

https://open-web-advocacy.org/es/blog/commission-responds-declares-browser-competition-a-dma-prio...
92•anilgulecha•4h ago•54 comments

Intel One Mono font (2023)

https://github.com/intel/intel-one-mono
535•saikatsg•1d ago•259 comments

Buy Nothing Day – Friday November 27th 2026

https://www.buynothingday.co.uk/
148•f_allwein•6h ago•29 comments

The need for a formally verifiable mainstream programming language

https://blainehansen.me/post/mainstream-verifiable-language/
185•todsacerdoti•7h ago•170 comments

Google Will Make AI Agents Use Its MCP Servers. The Gmail One Can't Send Email

https://techstackups.com/articles/google-workspace-ai-agents-mcp/
350•ritzaco•1d ago•307 comments

An introduction to uncertainty in machine learning

https://chrhenning.com/blog/2026/introduction-to-uncertainty/
95•chrhenning•17h ago•6 comments

Rvoip: VoIP stack in Rust

https://github.com/eisenzopf/rvoip
143•zerosegfaults•17h ago•31 comments

Pizza history: AI agent's cardless purchase is a first for UK

https://www.theguardian.com/business/2026/nov/27/ai-agent-cardless-transaction-pizza-papa-john-uk...
4•6LLvveMx2koXfwn•51m ago•0 comments

Indie web browser Ladybird enters alpha testing

https://www.theregister.com/software/2026/11/26/indie-web-browser-ladybird-enters-alpha-testing/5...
35•01-_-•4h ago•1 comments

Show HN: I wrote an entire Vim manual over 4 years

http://themouseless.dev/vim/
210•thanato0s•21h ago•64 comments

Novita, StreamLake, etc. are ByteDance Ark wrappers

https://kendell.dev/blog/arkwrapper/
109•leafingensemble•14h ago•19 comments

The Cutthroat Business of Shipwrecks

https://daily.jstor.org/the-cutthroat-business-of-shipwrecks/
36•herbertl•11h ago•11 comments

An algebraic quantization of gravity from the null cone

https://arxiv.org/abs/2611.34924
248•hecmmm•1d ago•98 comments

Largest 2D Chart library in the world using BUI: BlenderUI

https://bui.preetham.top/charts/
118•ppmpreetham•17h ago•34 comments

The USAID Files

https://reclaimthenet.org/usaid-files
279•MassPikeMike•1d ago•348 comments

Curiosity Is No Solo Act

https://thereader.mitpress.mit.edu/curiosity-is-no-solo-act/
165•Petiver•2d ago•43 comments

Moat: OpenRouter replacement

https://commandcode.ai/moat
296•amanverasia•1d ago•157 comments

Show HN: Olumino, a Markdown notes and spaced repetition app

https://olumino.app
114•Wiyseful•1d ago•48 comments

1Password Security Incident

https://1password.com/blog/update-on-nov-2026-security-incident
1678•lxhrstn•1d ago•715 comments

George Whitesides, 1939-2026

https://www.science.org/content/blog-post/george-whitesides-1939-2026
77•dverlaeckt80•18h ago•7 comments

NormalScript: A perfectly normal scripting language

https://psychoscript.com/
117•hn-aarvin•1d ago•28 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?