frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Sharing AI progress in mathematics

https://openai.com/index/sharing-ai-progress-in-mathematics/
919•OfficialTurkey•11h ago•842 comments

Reasons to Dislike AI Coding

https://www.sicpers.info/2026/10/reasons-to-dislike-ai-coding/
14•signa11•35m ago•3 comments

A font recreated from photographs of classic Commodore 64 keycaps

https://github.com/szabadkai/c64-keyboard-font/
7•sohkamyung•32m ago•0 comments

Strands Decider 2B: a small, open-source, decision model

https://strandsagents.com/blog/introducing-strands-decider/
175•gmays•7h ago•44 comments

Decisions API is in public beta

https://developers.openai.com/api/docs/guides/decisions
296•chiefstorm•12h ago•138 comments

The art of defusing a second world war bomb

https://www.theguardian.com/news/ng-interactive/2026/oct/06/it-could-knock-a-whole-street-down-th...
64•sandebert•6h ago•33 comments

Mistral Large 4

https://mistral.ai/news/mistral-large-4/\
1807•Philpax•20h ago•1073 comments

Shaders, WebGPU Components for React, Vue, Svelte, Solid, JavaScript and Framer

https://github.com/shader-effects-inc/shaders
26•jinqueeny•4h ago•11 comments

ESP32-C3 Adblock

https://github.com/M-Abozaid/esp32-c3-adblock
98•jayhoon•8h ago•36 comments

EmbeddingGemma 2: An open, lightweight multimodal embedding model

https://blog.google/innovation-and-ai/technology/developers-tools/embeddinggemma-2/
325•ilreb•17h ago•34 comments

What is Codemode

https://lucumr.pocoo.org/2026/10/6/codemode/
80•Tomte•20h ago•38 comments

Penguin Mail – open-source Rust email client for Linux with AI

https://penguin-mail.com/
180•kavourias•11h ago•109 comments

The cost of lies: A Mineserver story

https://www.jeremyreimer.com/rockets-item.lsp?f=true&p=272
111•luu•3d ago•48 comments

The Legend of the Paper Crane

https://mazdastories.com/en_us/inspire/paper-cranes-into-the-fold/
17•vismit2000•2d ago•4 comments

La Cueva BBS in Mexico in 1993 (session replay)

https://nanochess.org/la_cueva_bbs.html
51•nanochess•6h ago•13 comments

Tell HN: GitHub refuses to remove cracked copies of my software after a month

240•IvanK_net•14h ago•137 comments

Gallery of Processor Cache Effects

https://igoro.com/archive/gallery-of-processor-cache-effects/
11•porridgeraisin•2d ago•0 comments

Claude Code’s suggested message feature: I think the real customer is the model

https://www.zohaib.cc/blog/smartest-claude-code-feature
199•zed_labs_dev•15h ago•115 comments

OpenTPU – An open-source AI accelerator, developed by AI

https://github.com/FeSens/openTPU
289•fsbonetto•17h ago•340 comments

What's Earth's dominant species by mass?

https://signoregalilei.com/2026/09/27/whats-earths-dominant-species-by-mass/
245•surprisetalk•21h ago•177 comments

Treg (OpenRouter for Tools)

https://github.com/superdesigndev/treg
30•trollied•17h ago•5 comments

Show HN: NanoMuse – An open-source AI agent for your phone and computer

https://github.com/nano-muse/nanoMuse
20•ilreb•6h ago•3 comments

First Steps into Memory Management in Python

https://tech.daniellbastos.com.br/posts/python-memory-management/
3•shellpipe•1d ago•0 comments

California closed the Montana license plate loophole

https://www.thedrive.com/news/heres-how-california-closed-the-montana-license-plate-loophole
113•speckx•16h ago•275 comments

AnyPS5: Port PS5 binaries to PC without emulation (87% system libraries mapped)

https://github.com/boykopovar/AnyPS5
257•Fe2O3•10h ago•216 comments

State of Devs 2026

https://2026.stateofdevs.com/en-US/
167•sgdesign•10h ago•87 comments

Hackers obtain counterfeit TLS certificates for Google and other large services

https://arstechnica.com/security/2026/10/hackers-obtain-counterfeit-tls-certificates-for-google-a...
68•colinprince•5h ago•20 comments

When random is not actually random enough

https://ersc.io/blog/when-random-isnt-random-enough
66•steveklabnik•13h ago•27 comments

Benchmark in Milliseconds

https://matklad.github.io/2026/10/05/benchmark-milliseconds.html
141•surprisetalk•1d ago•47 comments

OpenWAM: An Open Framework for Composable World-Action Models

https://openwam.stanford.edu/
9•ilreb•6h ago•3 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?