frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

HOA's are making the home crisis worse

https://hoaspy.com/hoa/fl/florida-hoa-housing-crisis.html
71•lovewins•53m ago•52 comments

RepRapMicron

https://github.com/VikOlliver/RepRapMicron/wiki
266•RobotToaster•5h ago•38 comments

Someone behind the software

https://karrisaarinen.com/posts/someone-behind-the-software/
125•tosh•3h ago•47 comments

PalmOS Lemmings by Aaron Ardiri

https://github.com/ardiri/palmos-lemmings
21•memalign•1h ago•5 comments

Java sealed classes and exhaustive pattern matching

https://neilmadden.blog/2026/04/24/java-sealed-classes-and-exhaustive-pattern-matching/
91•hnisjafx40•4h ago•57 comments

Mitos editor is a fork of Helix

https://mitos.computer/
37•ambigious7777•2h ago•33 comments

The Intel 8087 chip: floating-point addition and subtraction

https://www.righto.com/2026/10/8087-addition-subtraction-microcode.html
59•pwg•3h ago•8 comments

Sigsaly: Churchill's top secret hotline to the President

https://www.iwm.org.uk/history/iwm/cwr/telephone
68•stmw•3d ago•7 comments

Free Pascal Compiler Now Supports Dynamic Packages

https://www.getlazarus.org/dynamic/
12•sysrpl•46m ago•3 comments

DeepSeek search and fetch – $0.75 per 1000 successful requests

https://api-docs.deepseek.com/guides/search/
471•fagnerbrack•12h ago•227 comments

Legal experts warn Meta's new terms still grant broad scraping permissions

https://www.niemanlab.org/2026/10/legal-experts-warn-metas-new-terms-still-grant-broad-scraping-p...
199•DeepLogin•9h ago•52 comments

Show HN: The Zelda timeline to catch up before the Ocarina of Time remake

https://legendofhyrule.com/
119•jsomau•6h ago•62 comments

Investing in the Public Benefit

https://www.anthropic.com/news/public-benefit-fund
13•surprisetalk•1h ago•13 comments

Open MicroManipulator – A sub-micrometer 3D motion control plattform

https://github.com/0x23/MicroManipulatorStepper
143•_Microft•8h ago•12 comments

Beyond Tetris: The Other Games of Alexey Pajitnov [video]

https://www.youtube.com/watch?v=QH_LPimUJMs
26•zdw•20h ago•0 comments

Namecheap just seized and disabled all my domains

https://www.reddit.com/r/sysadmin/comments/1x8cycd/namecheap_just_seized_and_disabled_all_my_doma...
128•sashk•2h ago•70 comments

I Electrified My Push Scooter with a Power Drill

https://eddieabbondanz.io/post/shop/drill-powered-scooter/
38•speckx•4d ago•19 comments

How the Elizabeth Holmes documentary “You Can See Everything” is deceiving

https://www.readtheprofile.com/p/elizabeth-holmes-documentary-you-can-see-everything
315•MaysonL•16h ago•426 comments

Parser Combinators

https://t3.at/blog/2026-10-17-parser-combinators/
189•schindlabua•11h ago•72 comments

Geographical Fun: Being Humourous Outlines of Various Countries (1868)

https://publicdomainreview.org/collection/geographical-fun-being-humourous-outlines-of-various-co...
4•Thevet•1d ago•0 comments

macOS 15.8.2 Breaks OpenGL

https://developer.apple.com/forums/verify-human/verify.html?next=/forums/thread/850550
215•Audiophilip•4h ago•204 comments

CKKS – Addition and Multiplication

https://www.jeremykun.com/2026/10/11/ckks-addition-and-multiplication/
6•ibobev•2d ago•0 comments

Will it be a golden age or a dark age for mathematics (and science)?

https://terrytao.wordpress.com/2026/10/18/will-it-be-a-golden-age-or-a-dark-age-for-mathematics-a...
97•smilelamp•4h ago•121 comments

The Electronic Disturbance Theater and Electronic Civil Disobedience (1998)

https://www.thing.net/~rdom/ecd/EDTECD.html
28•jruohonen•5h ago•4 comments

Voyage of the Paper Canoe: 2500 Miles from Quebec to the Gulf of Mexico, 1874-5

http://www.ibiblio.org/eldritch/nhb/paperc/intro.html
22•Eridanus2•3d ago•5 comments

Teal – A statically-typed dialect of Lua

https://teal-language.org/
134•Lyngbakr•1d ago•59 comments

CFPB Opens Debanking Investigation into Nine Large National Banks

https://www.forbes.com/sites/ajdhaliwal/2026/10/16/cfpb-opens-debanking-investigation-into-nine-l...
14•iamnothere•1h ago•6 comments

Show HN: Sphinx – A hook that quizzes you on your AI's code before shipping

https://sphinx-six-theta.vercel.app/
222•critiquebrowser•15h ago•75 comments

The Brain Sandwich

https://terriblesoftware.org/2026/10/02/the-brain-sandwich/
52•keyle•8h ago•26 comments

Hatching (Heraldry)

https://en.wikipedia.org/wiki/Hatching_(heraldry)
65•theanonymousone•4d ago•18 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?