frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Dolly Parton's Imagination Library

https://imaginationlibrary.com/
27•jumploops•22m ago•4 comments

I refuse to accept a censored Internet. Join Me at FOSDEM 27

https://talkweb.eu/openweb/4558/
133•Tomte•1h ago•45 comments

A 10-year-old CNN outperforms frontier LLMs for skin cancer diagnosis

https://lynchlab.net/llm-skin-cancer
128•sungam•1h ago•70 comments

Oregon Police Are Charging a Local News Outlet $2.5M for Records About One Cop

https://theintercept.com/2026/10/01/oregon-police-misconduct-public-records-cost-fee/
77•tdeck•42m ago•10 comments

Amazon's "digital pacifier" for toddlers

https://oligarchwatch.substack.com/p/amazons-digital-pacifier-for-toddlers
21•jumploops•4d ago•23 comments

VCF Southwest 2026, but Edited on Silicon Graphics for '90s TV [video]

https://www.youtube.com/watch?v=46wxttvq9qY
20•zdw•1d ago•3 comments

We should be more ambitious with the software we build

https://danluu.com/ambitious/
663•ltratt•20h ago•628 comments

Active incident at Dreamhost forcing password reset

https://www.dreamhoststatus.com/
44•greenchair•5h ago•17 comments

AI use leads UC Berkeley math professor to see 'no point' in grading homework

https://www.dailycal.org/news/campus/academics/ai-use-leads-uc-berkeley-math-professor-to-see-no-...
66•romanhn•2h ago•96 comments

Recreate the Apollo Guidance Computer

https://www.raspberrypi.com/news/recreate-the-apollo-guidance-computer/
7•Brajeshwar•3d ago•0 comments

Cerebras Deploys Trillion-Parameter AI Models

https://www.cerebras.ai/blog/how-we-deploy-trillion-parameter-frontier-models-on-cerebras
319•gmays•17h ago•113 comments

Show HN: I put employees inside S&P 500 market-cap bubbles

https://bigwhalehunting.com/workforce/
137•vfxGer•3h ago•43 comments

Sabre Wulf Remastered

https://gp-64.com/swr/
35•adunk•1h ago•4 comments

fheroes2: A recreation of Heroes of Might and Magic II game engine

https://github.com/ihhub/fheroes2
175•tosh•7h ago•61 comments

Bring Back the Cool Save File Screens

https://scabshack.lol/posts/bring-back-the-cool-save-file-screens
46•surprisetalk•3d ago•11 comments

Root shell on Samsung TV

https://twitter.com/log4j/status/2113014142600953868?s=46
633•testing22321•1d ago•499 comments

Fuck Nuance (2015)

https://crookedtimber.org/2015/08/31/fuck-nuance/
16•bariumbitmap•1h ago•2 comments

How Japanese Dried Bonito Is Made

https://kottke.org/26/10/how-japanese-dried-bonito-is-made
160•bookofjoe•3d ago•41 comments

The Goose Programming Language

https://aardappel.github.io/goose/
530•bobbydigitales•23h ago•328 comments

A Mathematician Reads the AI Future

https://www.theatlantic.com/ideas/2026/10/ai-math-human-future/689133/
32•artninja1988•2h ago•35 comments

I made a virtual pet fruit fly that Twitch chat can interact with

https://www.twitch.tv/flytwitcher
4•imfinn•21m ago•0 comments

Reverse engineer of PC-98 Touhou games retires

https://rec98.nmlgc.net/blog/2026-10-05
59•mimasama•3d ago•38 comments

Flapping Airplanes

https://flappingairplanes.com/
14•handfuloflight•3d ago•15 comments

SpeedCrunch 1.1

https://www.speedcrunch.org/
207•LordNibbler•23h ago•47 comments

Local Wikipedia: Wikipedia, but only for things a half hour walk from you

https://edjefferson.com/localwiki/
1648•sohkamyung•2d ago•252 comments

Small Programs and Languages

https://ratfactor.com/cards/pl-small
171•andsoitis•21h ago•27 comments

Scientists rediscover how to make ancient Roman colour-changing glass

https://www.theguardian.com/science/2026/oct/25/scientists-rediscover-ancient-roman-colour-changi...
9•teleforce•1h ago•1 comments

Nikon photography contest winner loses title after scientists spot signs of AI

https://www.techspot.com/news/114171-nikon-photography-contest-winner-loses-title-after-scientist...
111•thunderbong•8h ago•44 comments

All you need is Wide Events, not "Metrics, Logs and Traces"

https://isburmistrov.substack.com/p/all-you-need-is-wide-events-not-metrics
3•bootlegbilly•34m ago•0 comments

I don't understand quantum physics (2018)

https://www.southampton.ac.uk/~doug/quantum_physics/index.html
361•rramadass•1d ago•283 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?