frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Gemini 3.6 Flash, 3.5 Flash-Lite, and 3.5 Flash Cyber

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-6-flash-3-5-flas...
198•logickkk1•1h ago•137 comments

Long Presumed Dead, a Thriving Coral Reef Is Discovered in West Africa

https://e360.yale.edu/digest/benin-coral-reef
45•speckx•49m ago•2 comments

The World's 2,400 Castles

https://thecastlemap.com/
17•marklit•25m ago•1 comments

PCjs Machines

https://www.pcjs.org/
76•naves•2h ago•7 comments

Qwen-Image-3.0: Rich Content, Authentic Details, Deep Knowledge

https://qwen.ai/blog?id=qwen-image-3.0
432•ilreb•7h ago•177 comments

Apple Defeats Liability for Not Scanning iCloud for CSAM

https://blog.ericgoldman.org/archives/2026/07/apple-defeats-liability-for-not-scanning-icloud-for...
138•speckx•1h ago•88 comments

NPM's release cooldown is security theater

https://blog.outv.im/2026/npm-cooldown-security-theater/
26•outloudvi•44m ago•22 comments

France's Anssi Will Block PQC-Free Products from Certification Starting 2027

https://postquantum.com/security-pqc/anssi-pqc-certification-2027/
14•Sami_Lehtinen•29m ago•1 comments

ICE to Pay Thomson Reuters $125M to Find Voter Fraud

https://www.404media.co/ice-to-pay-thomson-reuters-125-million-to-find-voter-fraud/
141•Jimmc414•1h ago•64 comments

Amid Increased Scrutiny, ICE Detention and Deportation Data Goes Dark

https://www.themarshallproject.org/2026/07/15/ice-data-immigration-detention-transparency
94•Jimmc414•1h ago•8 comments

Python 3.15's Ultra-Low Overhead Interpreter Profiling Mode – Ken Jin's Blog

https://fidget-spinner.github.io/posts/ultra-fast-tracing.html
98•rbanffy•6d ago•3 comments

Who's afraid of Chinese models?

https://stratechery.com/2026/whos-afraid-of-chinese-models/
878•mfiguiere•1d ago•711 comments

Oracle could face $7B collateral bill for Wisconsin data centre

https://www.ft.com/content/b37030b6-bda8-4ba9-8e08-e6b88687b8f5
50•1vuio0pswjnm7•1h ago•23 comments

Incremental – A library for incremental computations

https://github.com/janestreet/incremental
304•handfuloflight•12h ago•57 comments

Show HN: Explore 6048 YC companies as an interactive galaxy

https://artifacta.io/a/pg_x9pombpdybx90q2s16eu
24•jnakano89•2d ago•8 comments

Jelly UI: Soft-body physics for native HTML form controls

https://jelly-ui.com/
623•baldvinmar•23h ago•189 comments

Kimi Work

https://www.kimi.com/products/kimi-work
638•ms7892•23h ago•263 comments

Human mathematicians are being outcounterexampled

https://xenaproject.wordpress.com/2026/07/20/human-mathematicians-are-being-outcounterexampled/
439•artninja1988•21h ago•216 comments

How to pack ternary numbers in 8-bit bytes

https://compilade.net/blog/ternary-packing
75•JoshTriplett•6d ago•39 comments

Claude Is Not a Compiler

https://blog.exe.dev/claude-is-not-a-compiler
89•bryanmikaelian•1h ago•83 comments

Arduino Launches Plug-and-Play Modules for Long-Range Sensor Projects

https://www.allaboutcircuits.com/news/arduino-launches-plug-and-play-modules-for-long-range-senso...
69•WaitWaitWha•3d ago•31 comments

Running Doom on Our Custom CPU and Going Viral

https://www.armaangomes.com/blogs/doom/
121•arghunter•12h ago•33 comments

The unreasonable difficulty of time series forecasting

https://suzyahyah.github.io/machine%20learning/2026/06/27/trouble-with-time-series.html
6•suzyahyah•2d ago•0 comments

Apple Fixes Hide My Email Vulnerability After 404 Media Coverage

https://www.404media.co/apple-fixes-hide-my-email-vulnerability-after-404-media-coverage/
11•arto•59m ago•1 comments

Amid nurse shortage, a university rolls out the welcome mat for men

https://text.npr.org/nx-s1-5869813
10•mooreds•30m ago•3 comments

Motion Sensors and Home Security Gadgets Without Cameras

https://www.wired.com/story/best-motion-sensors-private-alternatives-security/
34•joozio•2d ago•15 comments

Nativ: Run frontier open models locally on your Mac

https://blaizzy.github.io/nativ/
349•aratahikaru5•22h ago•122 comments

Shanay-Timpishka, a boiling hot river 700km from the nearest active volcano

https://terradaily.com/anything-that-falls-into-a-four-kilometre-stretch-of-a-river-in-the-centra...
20•camtarn•4d ago•4 comments

Show HN: Immersive Gaussian Splat tour of grace cathedral, San Francisco

https://vincentwoo.com/3d/grace_cathedral/
239•akanet•20h ago•51 comments

A Koi Pond Mosaic Made from 10 Pounds of 3D Printer Waste

https://www.instructables.com/A-Koi-Pond-Mosaic-Made-From-10-Pounds-of-3D-Printe/
66•sudo_cowsay•12h ago•44 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?