frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

France to ban unsolicited telemarketing calls

https://www.lemonde.fr/en/france/article/2026/08/06/france-to-ban-unsolicited-telemarketing-calls...
256•aziaziazi•3h ago•162 comments

H3-metal – Native MiniMax-H3 inference for Apple Silicon

https://github.com/antirez/h3.c
298•swyx•10h ago•66 comments

As AI eats the web, the internet’s collective memory is disappearing

https://thewalrus.ca/google-search-is-dying/
343•awnird•12h ago•385 comments

To Save C, We Must Save ABI

https://thephd.dev/to-save-c-we-must-save-abi-fixing-c-function-abi
64•gurjeet•3d ago•37 comments

Chicken Scheme 6.0

https://code.call-cc.org/releases/6.0.0/NEWS
202•eatonphil•10h ago•26 comments

LFM2.5 2.6B model competitive with 4x larger models

https://huggingface.co/LiquidAI/LFM2.5-2.6B
86•nateb2022•6d ago•18 comments

Show HN: Needle2: 14MB agentic LLM for phones, wearables, smart home and robots

https://cactuscompute.com/needle
359•HenryNdubuaku•18h ago•135 comments

Show HN: Scroll through all 43252003274489856000 Rubik's Cube states

https://everycube.alen.is/
209•Alen123•12h ago•68 comments

Mark Zuckerberg attacks 'closed' AI rivals as Meta returns to open models

https://www.ft.com/content/4e3957f8-ea7c-4c46-a3de-cdce8e526878
523•root-parent•21h ago•481 comments

Show HN: Mcptoon – Token-efficient MCP CLI client

https://github.com/activeing123/mcptoon
51•mcptokensaver•5h ago•38 comments

The “mechanical miracle” that ruined Mark Twain’s life

https://resobscura.substack.com/p/the-mechanical-miracle-that-ruined
144•benbreen•5d ago•74 comments

Programming the Gigatron

https://www.iwriteiam.nl/PGigatron.html
10•shakna•4d ago•0 comments

About Rx Kids

https://rxkids.org/about/
30•mooreds•4d ago•20 comments

Recycle – Floppydisks

https://www.floppydisk.com/recycle
67•calvinmorrison•9h ago•30 comments

Stowaway – Take the window seat on any plane or satellite overhead

https://stowaway.live/
285•thunderbong•3d ago•35 comments

Faster floating point math with Rust's new API

https://pythonspeed.com/articles/faster-float-math-rust/
47•subset•4d ago•4 comments

Sonic Pi v5

https://www.patreon.com/samaaron/posts/sonic-pi-v5-166001392
385•samaaron•4d ago•91 comments

Closing Canario Terminal source code

https://rapha.land/closing-canario-terminal-source-code/
9•atan2•3h ago•6 comments

The UK's war on anonymity has come to America

https://www.effort.news/uk-lobby
517•slowin•11h ago•472 comments

How Claude marks AI-generated content

https://support.claude.com/en/articles/16266773-how-claude-marks-ai-generated-content
198•mfiguiere•13h ago•159 comments

Rust SIMD on the GPU

https://www.vectorware.com/blog/simd-on-gpu/
190•sagacity•17h ago•94 comments

Muse Glimmer: 30B-parameter model optimized for always-on local agent workflows

https://research.meta.ai/blog/introducing-muse-glimmer-open-agentic-model
1122•riordan•1d ago•609 comments

What's the best programming language for coding agents?

http://danluu.com/pl-tokens/
195•chaychoong•18h ago•129 comments

Squeak 6.1

https://squeak.org/release_notes/6.1/
268•fniephaus•23h ago•131 comments

Confessions of a Long-Distance Sailor

https://arachnoid.com/lutusp/sailbook.html
125•AntiRush•14h ago•36 comments

Tail-call optimization in C is relatively recent (2025)

https://lwn.net/Articles/1034703/
152•prakashqwerty•23h ago•135 comments

Learning more about Claude's mathematical capabilities

https://www.anthropic.com/research/riemann-zeta
214•tosh•17h ago•142 comments

Publishing Schematics Before “Open Source” Was a Word

https://fabscene.medium.com/publishing-schematics-before-open-source-was-a-word-55-years-of-akizu...
94•extralongdivisi•3d ago•19 comments

Show HN: Ante, a coding agent in a single binary that runs offline

https://github.com/AntigmaLabs/ante
135•ubermon•19h ago•80 comments

Exploiting System Management Mode with a very long interrupt

https://github.com/xoreaxeaxeax/smiiiiiiiiiiiiiiii
166•WhiteDawn•19h ago•59 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?