frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Bleached corals thrive within days when touching healthy neighbour

https://www.nature.com/articles/d41586-026-03266-x
255•alkyon•23h ago•51 comments

"I'm Not Going to Have Blood on My Hands"

https://www.cjr.org/the-interview/nicole-noren-espn-producer-quit-protest-sports-betting-gambling...
59•danso•3d ago•21 comments

Dam removals are bringing fish back across the northeastern United States

https://www.smithsonianmag.com/science-nature/dam-removals-are-bringing-fish-back-across-the-nort...
140•sohkamyung•23h ago•43 comments

Furifont, a Japanese font that shows furigana

https://furifont.antfu.me/
222•plaguna•2d ago•45 comments

The Commodore 64 hardware simulator: break chips and pins, see the results

https://github.com/antirez/c64-hw-simulator
123•antirez•2d ago•20 comments

DeepSeek-v4.1-Flash-1017

https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017
653•theykk•15h ago•551 comments

Pele – Mermaid diagrams as themeable SVG

https://pele.run/
177•dchest•7h ago•19 comments

Making chicken transparent using Dorito dust

https://chillphysicsenjoyer.substack.com/p/making-chicken-transparent-using
238•crescit_eundo•9h ago•64 comments

Types of types: Haskell's Kind system

https://thunk.blog/posts/types-of-types-haskell-kind-system/
19•Thom2503•3d ago•9 comments

JDK 28

https://openjdk.org/projects/jdk/28/
14•ejboy•1h ago•2 comments

Source code of the Estonian online voting system

https://github.com/valimised/ivxv
133•theanonymousone•20h ago•110 comments

Gold is now the top U.S. export

https://www.numismaticnews.net/gold-now-top-u-s-export
184•iamnothere•6h ago•104 comments

Chrome and Edge are removing XSLT: what breaks and what does not

https://doctor-seo.net/en/blog/news/chrome-edge-removing-xslt/
59•croes•3h ago•59 comments

Microsoft and CMU team up to train early career software engineers

https://www.cs.cmu.edu/news/2026/microsoft-cmu-praise
51•azhenley•4h ago•54 comments

Show HN: High-quality duck audio synthesizer

https://celphase.github.io/duck-pond/
64•celphase•9h ago•20 comments

Codex Desktop continuously generates Crashpad pending dumps

https://github.com/openai/codex/issues/25921
46•AIorNot•5h ago•24 comments

I Became a Citizen of Japan

https://www.derekwessman.com/blog-1/natural
121•luu•5h ago•40 comments

Solar surpasses nuclear power globally for first time

https://www.pv-magazine.com/2026/09/29/solar-surpasses-nuclear-power-globally-for-first-time/
441•xbmcuser•9h ago•286 comments

Artie (YC S23) Is Hiring Enterprise AES and Senior Engineers

https://www.artie.com/careers
1•j-cheong•6h ago

You could have invented transformers from memory

https://alexwang.ai/posts/associative-memory/
479•speckx•1d ago•112 comments

Laser Fault Injection on a Budget: RP2350 Edition

https://courk.cc/rp2350-challenge-laser
33•gregsadetsky•2d ago•6 comments

OpenCode Hacked: User credentials leaked

https://twitter.com/opencode/status/2111516673953935833
670•pranshuchittora•5h ago•114 comments

Development statistics for the 7.2 kernel

https://lwn.net/Articles/1088776/
121•farlight•6h ago•96 comments

Vintage Cassettes: 1963-2010

http://vintagecassettes.com/
44•austinallegro•3d ago•6 comments

A skeptic's first contact with Kubernetes (2024)

https://blog.davidv.dev/posts/first-contact-with-k8s/
70•pmoriarty•20h ago•34 comments

Show HN: Parin – A 2D game engine between raylib and Godot, written in Dlang

https://github.com/Kapendev/parin
37•Kapendev•1d ago•6 comments

Rendering pretty sky in Around The World game

https://frozenfractal.com/blog/2026/10/12/around-the-world-34-a-pretty-sky/
119•ibobev•1d ago•8 comments

Show HN: Esp32sim – Run ESP32 firmware in the browser

https://github.com/mikroverk/esp32sim
108•joakimeriksson•9h ago•11 comments

The future of programming (1982)

https://dl.acm.org/doi/10.1145/358453.358459
47•vismit2000•12h ago•11 comments

Show HN: Llmspeed – feel how fast a local LLM runs before you buy the hardware

https://llmspeed.dev/
234•albinstman•18h ago•75 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?