frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Midjourney Medical

https://www.midjourney.com/medical/blogpost
719•ricochet11•7h ago•487 comments

DeepSeek Introduces Vision

https://chat.deepseek.com/
131•RIshabh235•3h ago•61 comments

The Australian Government to Require SMS/MMS Sender ID Registraion

https://www.acma.gov.au/sms-sender-id-register
93•anitil•3h ago•51 comments

Local Qwen isn't a worse Opus, it's a different tool

https://blog.alexellis.io/local-ai-is-not-opus/
207•alphabettsy•6h ago•94 comments

I need your clothes, your boots, and your motorcycle

https://rbelmont.mameworld.info/?p=1725
13•ingve•1h ago•1 comments

Lore – Open source version control system designed for scalability

https://lore.org/
1132•regnerba•19h ago•605 comments

The Forge We Deserve

https://btao.org/posts/2026-05-09-the-forge-we-deserve/
16•icy•1h ago•16 comments

AMD silently removes memory encryption from consumer Ryzen CPUs

https://www.tomshardware.com/pc-components/cpus/amd-silently-removes-memory-encryption-from-consu...
69•lompad•1h ago•20 comments

US holds off blacklisting DeepSeek, more than 100 firms deemed security risks

https://www.reuters.com/world/china/us-holds-off-blacklisting-chinas-deepseek-more-than-100-firms...
457•giuliomagnifico•1d ago•506 comments

Sogen – High-performance Windows and Linux userspace emulator

https://sogen.dev/
25•fratellobigio•3d ago•6 comments

Taxonomy of the Occlupanida (parasitoids on bread bag tags)

https://www.horg.com/horg/?page_id=921
148•beatthatflight•10h ago•35 comments

War Books: The Marine Corps Commandant's 2026 Reading List

https://mwi.westpoint.edu/war-books-the-marine-corps-commandants-2026-reading-list/
14•Alien1Being•1h ago•7 comments

About ASCII art and Jgs font (2023)

https://velvetyne.fr/news/about-ascii-art-and-jgs-font/
6•Luc•1d ago•0 comments

Storied Colors – A catalogue of named colors

https://storiedcolors.com/
168•susiecambria•11h ago•38 comments

Clojure Hosted on Go

https://github.com/glojurelang/glojure
134•dnlo•10h ago•15 comments

Nim Conf 2026 (Online, Sat June 20)

https://conf.nim-lang.org/
46•pietroppeter•5h ago•7 comments

How Madrid built its metro cheaply (2024)

https://worksinprogress.co/issue/how-madrid-built-its-metro-cheaply/
136•trymas•13h ago•83 comments

Loreline – Tools for writing interactive fiction

https://loreline.app/en/
163•smartmic•13h ago•24 comments

How we run Firecracker VMs inside EC2 and start browsers in less than 1s

https://browser-use.com/posts/firecracker-browser-infra
276•gregpr07•1d ago•176 comments

Launch HN: Adam (YC W25) – Open-Source AI CAD

https://github.com/Adam-CAD/CADAM
183•zachdive•17h ago•86 comments

RFC 10008: The new HTTP Query Method

https://www.rfc-editor.org/info/rfc10008/
372•schappim•22h ago•156 comments

Why thinking out loud with someone beats thinking alone

https://www.thesignalist.io/s/the-dialogue-dividend/
268•kodesko•20h ago•112 comments

AI Compute Extensions (ACE) Specification

https://x86ecosystem.org/resource/ai-compute-extensions-ace-specification/
36•matt_d•7h ago•16 comments

I Hate Compilers

https://xeiaso.net/notes/2026/anubis-wasm-vendor-binary/
63•xena•4h ago•52 comments

Show HN: We built an 8-bit CPU as 2nd year EE students

https://github.com/c0rRupT9/STEPLA-1
73•CorRupT9•2d ago•17 comments

SteamOS Linux 3.8 released as stable

https://store.steampowered.com/news/app/1675200/view/697641379212298072
137•jrepinc•5h ago•44 comments

Biological evolution and information acquisition

https://www.construction-physics.com/p/biological-evolution-and-information
46•chmaynard•6d ago•7 comments

Volkswagen started blocking GrapheneOS users

https://discuss.grapheneos.org/d/35949-volkswagen-app?page=3
676•microtonal•18h ago•404 comments

Show HN: An 8-bit live gamecast for baseball

https://ribbie.tv/watch
231•brownrout•16h ago•121 comments

Tesco moving 40k server workloads off VMware amid Broadcom's abusive conduct

https://arstechnica.com/information-technology/2026/06/tesco-moving-40000-server-workloads-off-vm...
316•Bender•12h ago•179 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?