frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

11 year old unsoundness bugs found in Rust borrow checker

https://github.com/rust-lang/rust/issues/164250
280•formerly_proven•2h ago•148 comments

An hour of audio transcribed in about 13s on MacBook Air

https://eg2.haku.sh/
134•amrrs•1h ago•37 comments

Apple's Minions: A virtual GPU cloud built from idle Apple Silicon Macs

https://machinelearning.apple.com/research/distributed-gpu-cloud
13•acossta•56m ago•3 comments

Show HN: Use your OpenAI subscription to create audiobooks

https://pdftomp3.com/connect-ai/
73•janpmz•3h ago•43 comments

Hittite royal archive found in Turkey

https://www.thehistoryblog.com/archives/77107
166•benbreen•7h ago•27 comments

Mozilla Introduces Firefox Enterprise

https://www.firefox.com/en-US/enterprise/
103•recvonline•1h ago•53 comments

CFTC Staff Were Told to Retract Analysis of Suspicious Oil Trades

https://www.bloomberg.com/news/features/2026-10-13/cftc-staff-told-to-retract-analysis-of-suspici...
175•helsinkiandrew•3h ago•63 comments

Character.ai Files for Bankruptcy

https://www.theverge.com/ai-artificial-intelligence/1009802/character-ai-files-for-bankruptcy-disney
80•yanis_t•1h ago•44 comments

The baffling intelligence of a single cell (2024)

https://jsomers.net/e-coli-chemotaxis/
331•jsomers•2d ago•94 comments

GLM-Legal

https://z.ai/blog/glm-legal
609•ilreb•21h ago•338 comments

Intel D270 GPU AI Accelerator–Up to 480 GB LPDDR5X

https://www.intel.com/content/www/us/en/products/details/discrete-gpus/data-center-gpu/d-series.html
265•hurricanepootis•15h ago•132 comments

Apple HomeView

https://www.apple.com/apple-homeview/
59•etothet•20m ago•58 comments

Hackers activate automatic defrosting in supermarket fridges across Europe

https://www.tomshardware.com/tech-industry/cyber-security/unprecedented-cyberattack-cripples-supe...
777•Zeekaas•1d ago•896 comments

A Modern Web App in C

https://prophitt.me/writing/a-modern-web-app-in-c
623•prophittcorey•21h ago•273 comments

Document Review with Unsiloed and TypeSafe Jev

https://www.unsiloed.ai/blog/document-review-unsiloed-typesafe-jev
24•ritzaco•4h ago•6 comments

Character.ai files for Chapter 11 bankruptcy

https://blog.character.ai/an-update-on-character-ai/
36•nryoo•5h ago•10 comments

Janas: Run LLMs larger than RAM by streaming experts from SSD

https://github.com/prabanta-dev/janas
180•khalidkhair•15h ago•64 comments

Making big downloads resumable in Firefox

https://lunarwatcher.codeberg.page/til/firefox/resumable-big-downloads.html
241•speckx•17h ago•117 comments

Who is vfmaddrnd231pd?

https://purplesyringa.moe/blog/who-is-vfmaddrnd231pd/
228•pngmangi•16h ago•21 comments

Turn a WiFi 7 Router into a 320Msps Software Defined Radio Receiver

https://github.com/h0m3us3r/w1700k-sdr
380•djfergus•1d ago•103 comments

DishwasherBench – Can Frontier Models Stack a Dishwasher?

https://github.com/composo-ai/DishwasherBench
70•mlukewizard•4h ago•37 comments

AWS Lambda Web Functions

https://aws.amazon.com/blogs/aws/announcing-aws-lambda-web-functions-for-fast-consistent-web-app-...
57•HatchedLake721•3h ago•35 comments

Citroen revives the 2CV for an electric age

https://www.bbc.com/news/articles/c620r33plgppo
374•scrlk•1d ago•413 comments

Crypto thieves sell hardware wallets with secret eSIM

https://www.heise.de/en/news/Crypto-thieves-sell-hardware-wallets-with-secret-eSIM-11485188.html
85•qwertox•4h ago•58 comments

Launch HN: Agent37 (YC F26) – Low-cost agent sandboxes for running agents

146•vishnukool•20h ago•101 comments

Writing a Demoscene Intro for the ZX Spectrum

https://www.markround.com/blog/2026/zx-spectrum-intro
154•zdw•17h ago•28 comments

AI is a tool and using it well takes skill

https://yyhh.org/blog/2026/10/ai-is-a-tool/
477•layer8•15h ago•384 comments

Show HN: SolidCraft – Open-Source Parametric CAD in Rust (With MCP Support)

https://github.com/bherbruck/solidcraft
90•bherbruck•13h ago•21 comments

A look at the math that OpenAI claims computes faster Fourier transforms

https://www.argmin.net/p/faster-fourier-transforms
187•mochomocha•10h ago•121 comments

Auto Research: Integer multiplication below n log n

https://app.getsupers.com/auto-research
69•swesnow•1d ago•34 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?