frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Fuck it, make it anyway

https://www.joelotter.com/posts/2026/09/make-it-anyway/
53•JayOtter•43m ago•18 comments

IKEA made a mod for Skyrim [video]

https://www.youtube.com/watch?v=iZODN0QUgjI
268•kegenaar•2d ago•42 comments

Retrospectively Reverse-Engineering Apple's Neural Engine

https://eiln.github.io/posts/ane.html
122•zdw•4h ago•15 comments

The Worst Spam Emails: Inside iLands' AI Agent Hustle

https://tedium.co/2026/09/11/ilands-agents-email-spam-kaixin-tang/
18•ColinWright•1h ago•5 comments

A misalignment of AI in mathematics

https://mathandai.org/
1008•meredydd•18h ago•961 comments

I spent $220 on Google app ads and 60% of the installs were robots

https://dayzlegame.com/blog/google-ads-bot-farm/
588•nickabe•18h ago•320 comments

Finding Slow Code with Wrapture

https://grahamdumpleton.me/posts/2026/09/finding-slow-code-with-wrapture/
4•lumpa•2d ago•0 comments

I Fixed a Tractor Using John Deere's Self-Repair Service. Farmers Aren't Sold

https://www.wired.com/story/i-fixed-a-tractor-john-deere-self-repair-service/
3•sbulaev•22h ago•1 comments

Forgotten Woodlands

https://storymaps.arcgis.com/stories/9b790daf22ba4e87836f467abb1c7e49
4•NaOH•15h ago•0 comments

A Design Space Exploration of Async/Await

https://cel.cs.brown.edu/blog/design-space-async-await/
322•wcrichton•2d ago•86 comments

Great Lakes sturgeon may be 400 years old:Scientists rethinking how to save them

https://www.cbc.ca/news/canada/ontario-great-lakes-sturgeon-lifespan-study-9.7329250
83•bookofjoe•3d ago•17 comments

Inverse Kinematics and Foot Locking

https://theorangeduck.com/page/inverse-kinematics-foot-locking
68•airhangerf15•5d ago•9 comments

Usenet rewind archive search engine

https://www.usenet-rewind.com/
79•cstadler1869•8h ago•26 comments

google.com/goto: Google's anti-scraping update

https://www.autom.dev/blog/google-search-goto-links
476•1e1a•9h ago•373 comments

Show HN: Bodily Oddities

https://vester.si/bodily-oddities/
275•vesterde•1d ago•175 comments

Navier-Stokes Announcement

https://www.claymath.org/news/navier-stokes-announcement/
198•rvz•8h ago•133 comments

Logo Programming

https://el.media.mit.edu/logo-foundation/what_is_logo/logo_programming.html
290•azhenley•3d ago•117 comments

Altman tells staff OpenAI is open to slowing AI development

https://www.reuters.com/business/altman-tells-staff-openai-is-open-slowing-ai-development-bloombe...
12•signa11•53m ago•8 comments

OpenAI agents carried out an undisclosed attack on RubyGems

https://www.rubyhack.ai/
774•chao-•13h ago•427 comments

Designing for Dual Screen and Foldable Devices with CSS (2023)

https://blog.stephaniestimac.com/posts/2023/05/design-foldable-devices/
41•mooreds•1d ago•7 comments

Mind-altering drugs played key role in rise of Andean civilization

https://www.science.org/content/article/mind-altering-drugs-played-key-role-rise-andean-civilization
174•geneticdrifts•19h ago•113 comments

Litelm: LiteLLM Without the Bloat

https://github.com/kennethwolters/litelm
152•kennethwolters•18h ago•51 comments

We've followed their lives for six decades; now the stars of 7 Up are bowing out

https://www.bbc.co.uk/news/articles/crm932el3yjo
19•mellosouls•1h ago•4 comments

Crypto farm in Mexican mountains puts spotlight on cartel funding

https://www.reuters.com/world/americas/hidden-crypto-farm-mexican-mountains-puts-spotlight-cartel...
8•JumpCrisscross•48m ago•0 comments

Resistance Training Prescription for Muscle Function, Hypertrophy in Health

https://pmc.ncbi.nlm.nih.gov/articles/PMC12965823/
26•ultral•3h ago•11 comments

I've operated petabyte-scale ClickHouse clusters for 5 years

https://www.tinybird.co/blog/what-i-learned-operating-clickhouse
225•adastral•4d ago•81 comments

Project Blinkenlights

https://blinkenlights.de/en/
100•doener•14h ago•32 comments

GrapheneOS' rewritten Messages app is released

https://github.com/GrapheneOS/Messaging/releases/tag/13
285•microtonal•17h ago•209 comments

Rune is now open source

https://rune.build/blog/rune-is-now-open-source
199•ernestrc•20h ago•62 comments

Bomb Sense (2021)

https://danboland.net/2021/07/15/bomb-sense.html
16•surprisetalk•2d ago•1 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?