frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

AlphaProof Code

https://deepmind.google/blog/introducing-alphaproof-code/
100•ilreb•51m ago•33 comments

Amazon saves millions by replacing Sonnet 4.6 with Strands Decider

https://strandsagents.com/blog/amazon-saves-millions-replacing-sonnet-with-strands-decider/
408•aloukissas•7h ago•141 comments

Claude Fable 5.2 and Mythos 5.2

https://www.anthropic.com/claude-fable-and-mythos-5-2
690•lairv•19h ago•856 comments

Show HN: A 15 MB self-hosted Netflix and Spotify for your media server

https://github.com/HolyArrs/HolyArrs
15•CoderLuii•1h ago•8 comments

USPS now offers official ZIP Code boundary polygons

https://postalpro.usps.com/zcb
650•munro•17h ago•329 comments

Show HN: Ghanaian street games you can play in the browser

https://www.ghanastreetgames.com/
25•samuelaidoo45•1d ago•4 comments

Queens Public library under ransomware attack e-borrowing suspended

https://connect.queenslibrary.org/
69•rustyhancock•3h ago•55 comments

Your TV can see through walls

https://maurycyz.com/projects/fading/
170•Curiositry•7h ago•63 comments

Billion Watts in the Speaker [video]

https://www.youtube.com/watch?v=PHOcTXYaMfg
40•Element_•2d ago•17 comments

Fireworks AI security breach impacts Notion and their customers

https://www.notion.com/help/security-incident-involving-a-third-party-ai-vendor
79•werrett•5h ago•23 comments

Fossil CO2 emissions decrease by 0.4% in 2026

https://news.exeter.ac.uk/faculty-of-environment-science-and-economy/fossil-co2-emissions-decreas...
54•giuliomagnifico•4h ago•54 comments

Locating the source of a mysterious beep

https://simonwillison.net/2026/Nov/9/mysterious-beeps/
232•bigwheels•12h ago•112 comments

Foldable Flight: The Best Paper Airplanes

https://www.foldableflight.com
1082•vismit2000•1d ago•152 comments

Payments Canada announces launch of Canada's Real-Time Rail (RTR) payment system

https://www.payments.ca/canada-launches-real-time-rail-bringing-247-payment-infrastructure-nation...
546•ocd•21h ago•305 comments

How hard is it to check for whitespace?

https://serce.me/posts/2026-10-30-how-hard-is-it-to-check-for-whitespace
58•theanonymousone•3d ago•13 comments

E-means: Outperforming k-means in one-tenth the epochs

https://e-means.github.io/
430•porridgeraisin•18h ago•52 comments

Horible public key tricks

https://maurycyz.com/projects/badcert/
189•Curiositry•12h ago•61 comments

Ultorg: The User Interface for Relational Databases

https://www.ultorg.com/
93•Ivoah•9h ago•28 comments

ClickHouse Acquires Xata

https://xata.io/blog/xata-is-joining-clickhouse
56•mebcitto•6h ago•7 comments

What Constant Surveillance Is Doing to Children

https://www.theatlantic.com/magazine/2026/12/location-tracking-apps-parental-surveillance/689031/
40•FinnLobsien•2h ago•24 comments

Semi-transparent, colored cadmium telluride photovoltaic panels in agrivoltaics

https://www.anthropocenemagazine.org/2026/10/magenta-solar-panels-may-be-agrivoltaics-cleverest-t...
326•speckx•22h ago•224 comments

'C:\> FORMAT C:' – relax, it's just a screen saver

https://fakedos.com/
15•TheIncredibleCh•2h ago•7 comments

Formalizing CPython

https://broyojo.com/python-formalization/
91•carnevalem•11h ago•38 comments

Anthropic to Seek $1.3T Valuation in IPO

https://www.wsj.com/finance/stocks/anthropic-to-seek-1-3-trillion-valuation-in-ipo-8337b669
5•sonabinu•13m ago•1 comments

Show HN: Every satellite that passed over any place this week, and its photos

https://www.watched.earth
391•a585gupt•19h ago•68 comments

A primer on GPUs and kernel optimization

https://www.nabo.dev/blogs/kernel-primer
170•nomi_uw•4d ago•14 comments

The first 300-millimeter power silicon carbide (SiC) wafer

https://www.infineon.com/press-release/2026/infpr202611-028
143•sshah03•18h ago•82 comments

Google Gemini routes personal Drive files and emails to human annotators

https://github.com/thisisme6598/gemini_files/
649•gf74918•18h ago•139 comments

Muse Ember: Our smallest, most efficient model

https://research.meta.ai/blog/muse-ember
314•dvaplima•19h ago•135 comments

On Being an Engineer in 2026

https://twitter.com/shaharglazner/status/2119796029256032278
139•talboren•21h ago•225 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?