frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Initial Assessment of Anthropic's Findings on Lattice Cryptography

https://cirg.org/statements/1/
483•nwcs•7h ago•278 comments

Best Buy will officially sell physical media in stores again

https://media4k.pages.dev/best-buy-will-officially-sell-physical-media-in-stores-again/
331•kartik147•7h ago•204 comments

Galactic quasi-polynomial quantum algorithms for integral and module lattices [pdf]

https://github.com/anthropics/formal-math/blob/main/lattices/papers/01-quasi-polynomial-quantum-a...
222•Skrillor•7h ago•113 comments

Cloudflare Clairic System One Extraction Models Are Now Open-Weight

https://blog.cloudflare.com/open-clairic/
57•reddmachine•2h ago•12 comments

Red heads are linked to a mutation that makes them resistant to anesthesia (2024)

https://health.clevelandclinic.org/why-do-redheads-need-more-anesthesia
95•illidan1000•5h ago•66 comments

CrowdGPT – A Collaboratively Trained AI

https://www.crowdgpt.net/
389•Vxtzq•10h ago•145 comments

Usb2shell: Root on Linux from a USB Plug-In

https://usb2shell.com/
197•matanyall•8h ago•81 comments

Advent of Puzzles – An advent calendar with 25 logic puzzles

https://adventofpuzzles.io/
130•ruslan5t•6h ago•43 comments

Satmux: 3.6x faster inflight Wi-Fi via BBR TCP multiplexing

https://github.com/Th0rgal/satmux
70•joshcsimmons•1d ago•5 comments

Homomorphic encrypted Llama 3.1 8B at 1.7 tokens per second

https://bel.belfortlabs.com/
111•solyin•7h ago•44 comments

We Must Pace the Frontier, Part 2

https://darioamodei.com/post/we-must-pace-the-frontier-part-2
432•denysvitali•16h ago•876 comments

History of John Backus's functional programming project

https://softwarepreservation.computerhistory.org/FP/
16•pmcjones•10h ago•1 comments

Writing a paper is no longer a signal

https://lemire.me/blog/2026/11/30/writing-a-paper-is-no-longer-a-signal/
173•zdw•8h ago•168 comments

People must remain in control of the future

https://openai.com/index/people-must-remain-in-control-of-the-future/
196•j4mie•11h ago•314 comments

DoorDash reduced LLM search costs by 98% without losing accuracy

https://careersatdoordash.com/blog/how-doordash-reduced-llm-search-costs-by-98-without-losing-acc...
200•ersinesen•11h ago•171 comments

Krenov's Hand Planes

https://www.thekrenovfoundation.org/krenov100/hand-planes
12•tosh•1d ago•1 comments

Post-quantum cryptography is still safe

https://blog.cloudflare.com/pq-is-still-safe/
74•soheilpro•4h ago•10 comments

Netflix turns low-fidelity media into production-grade HDR with GlowNet

https://netflixtechblog.com/how-netflix-turns-low-fidelity-media-into-production-grade-hdr-with-g...
150•mfrw•11h ago•118 comments

Show HN: Understanding FAT16 – an interactive filesystem explainer

https://fat16.asciitweezers.com/
55•giant_fern•2d ago•3 comments

Why is the keyboard and telephone numbers in a different order? (2020)

https://retrocomputing.stackexchange.com/questions/15611
48•Skyfall106•5h ago•8 comments

Show HN: Device, a free open-source DAW for Mac, Windows and Linux

https://devicedaw.github.io/
133•devicedaw•10h ago•58 comments

Nvdriver is a clean-room, open-source Rust Linux kernel driver for Nvidia GPUs

https://github.com/QuixiAI/nvdriver
851•rreyes1979•17h ago•419 comments

US public sector cyberdefenders can find vulnerabilities with Mythos in GovCloud

https://claude.com/resources/articles/claude-mythos-5-2-in-aws-govcloud
152•lumpa•14h ago•63 comments

iOS on iPod Nano

https://github.com/nfzerox/iOSOniPodNano
189•msephton•2d ago•66 comments

A Visual Guide to Agent Harnesses

https://newsletter.maartengrootendorst.com/p/a-visual-guide-to-agent-harnesses
235•mariuz•13h ago•40 comments

'Tremendous' sight of bird 106 miles from home

https://www.bbc.co.uk/news/articles/c54gnz3r8ml2o
18•zeristor•21h ago•2 comments

Fractal Cluster

https://hasen.dev/fractal-cluster/
4•hsn915•1d ago•1 comments

Uncovering Hidden TCP Throttling in the Linux Kernel

https://www.cdn77.com/blog/debugging-nginx-linux-contribution
345•josefinaspidlen•16h ago•40 comments

FujiKit – Open-source Fujifilm X-series protocol spec, Swift SDK, and CLI

https://github.com/maam00/fujikit
107•maam00•11h ago•21 comments

ItaliaCiv

https://italiaciv.it/
89•simonebrunozzi•7h ago•14 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?