frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

We're making Bunny DNS free: because a faster internet won't build itself

https://bunny.net/blog/were-making-bunny-dns-free/
401•dabinat•4h ago•132 comments

Founding a company in Germany: €9600, 152 days and I still can't send an invoice

https://paolino.me/founding-a-company-in-germany/
121•earcar•1h ago•110 comments

Krea 2 Technical Report

https://www.krea.ai/blog/krea-2-technical-report
60•mattnewton•22h ago•3 comments

Minimus container images are now free

https://images.minimus.io/
44•dimastopel•1h ago•20 comments

Slate EV truck starts at $24,950

https://www.slate.auto/en
14•cobri•7m ago•4 comments

Too many R packages: CRAN is inundated with submissions

https://rworks.dev/posts/too-many-R-packages/
37•ionychal•2h ago•18 comments

Haystack: Open-Source AI Framework for Production Ready Agents, RAG

https://haystack.deepset.ai/
18•doener•2h ago•4 comments

Statistics that live in your SQL

https://kolistat.com/blog/the-stats-duck-v0-6-0/
70•caerbannogwhite•2d ago•10 comments

Vulnerability reports are not special anymore

https://words.filippo.io/vuln-reports/
331•goranmoomin•13h ago•185 comments

A deadly fungus that can infect cats and people is spreading

https://www.sciencenews.org/article/deadly-fungus-cats-people-spreading
94•sohkamyung•2h ago•60 comments

Reid Hoffman says SpaceX 'not an AI company', xAI 'complete train wreck'

https://fortune.com/2026/06/24/reid-hoffman-spacex-musk-openai-anthropic-gen-z-mistake/
56•1vuio0pswjnm7•1h ago•48 comments

Raspberry Pi Pico W as USB Wi-Fi Adapter

https://gitlab.com/baiyibai/pico-usb-wifi
182•byb•10h ago•86 comments

In memory of the man who put red and green squiggles under words

https://devblogs.microsoft.com/oldnewthing/20260622-00/?p=112451
483•saikatsg•19h ago•79 comments

Jerry's Map

http://www.jerrysmap.com/the-map
525•turtleyacht•18h ago•56 comments

FUTO Swipe – A new swipe typing model

https://swipe.futo.tech/
604•futohq•19h ago•220 comments

François Englert (1932 – 2026)

https://home.cern/francois-englert-1932-2026/
21•toomuchtodo•3d ago•3 comments

Why eval startups fail (2025)

https://thomasliao.com/eval-startups
47•jxmorris12•1d ago•39 comments

A Practical Guide to SSH Tunnels: Local and Remote Port Forwarding

https://labs.iximiuz.com/tutorials/ssh-tunnels
10•signa11•4d ago•1 comments

Ashby (YC W19) Is Hiring EMEA Engineers Who Can Design

https://www.ashbyhq.com/careers?ashby_jid=87b96eef-edc1-4de4-adb6-d460126d02f8&utm_source=hn
1•abhikp•6h ago

"Fix" MacBook Neo Cursor Lag: Record 1 Pixel of the Screen Every 10 Seconds

https://gist.github.com/retroplasma/ec21767d0a8380c7ea9c2fbee1c7d6bf
146•retroplasma•10h ago•60 comments

Qwen-AgentWorld: Language World Models for General Agents

https://arxiv.org/abs/2606.24597
145•ilreb•11h ago•43 comments

Vector Graphics in Lil

http://beyondloom.com/blog/vectorgraphics.html
31•RodgerTheGreat•1d ago•2 comments

Printing Gaussian Splats

https://www.patreon.com/DanyBittel/posts/printing-splats-161333338
339•ilnmtlbnm•3d ago•39 comments

Rhombus Language 1.0

https://blog.racket-lang.org/2026/06/rhombus-v1.0.html
198•Decabytes•1d ago•68 comments

The worthlessness of Vitamin D is mildly exaggerated

https://dynomight.net/vitamin-d/
337•surprisetalk•21h ago•247 comments

Swift Package Index joins Apple

https://swiftpackageindex.com/blog/swift-package-index-joins-apple
218•JDevlieghere•19h ago•72 comments

Remaking BBC test cards to teach you video processing

https://www.youtube.com/watch?v=U_6HxPkrgcg
57•unleaded•2d ago•3 comments

Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX

https://tikz.dev/editor/
414•DominikPeters•23h ago•73 comments

Usbliter8: an A12/A13 SecureROM Exploit

https://ps.tc/pages/blog-usbliter8.html
161•givinguflac•5d ago•32 comments

Cointegration and Long-Horizon Forecasting (2025)

https://www.philadelphiafed.org/the-economy/cointegration-and-long-horizon-forecasting
3•bryanrasmussen•2d ago•0 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?