frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

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

https://github.com/antirez/h3.c
122•swyx•3h ago•14 comments

Chicken Scheme 6.0

https://code.call-cc.org/releases/6.0.0/NEWS
108•eatonphil•4h ago•13 comments

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

https://everycube.alen.is/
129•Alen123•5h ago•29 comments

Recycle – Floppydisks

https://www.floppydisk.com/recycle
33•calvinmorrison•2h ago•8 comments

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

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

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

https://cactuscompute.com/needle
239•HenryNdubuaku•11h ago•97 comments

Hyperspace

https://hypercritical.co/hyperspace/
30•swyx•2h ago•17 comments

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

https://www.ft.com/content/4e3957f8-ea7c-4c46-a3de-cdce8e526878
433•root-parent•14h ago•416 comments

Rust SIMD on the GPU

https://www.vectorware.com/blog/simd-on-gpu/
157•sagacity•10h ago•71 comments

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

https://stowaway.live/
187•thunderbong•3d ago•18 comments

Sonic Pi v5

https://www.patreon.com/samaaron/posts/sonic-pi-v5-166001392
335•samaaron•3d ago•83 comments

World Train Map – 1247 train routes around the world

https://worldtrainmap.com/
80•Flightmussy•6h ago•26 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...
78•extralongdivisi•3d ago•18 comments

Confessions of a Long-Distance Sailor

https://arachnoid.com/lutusp/sailbook.html
81•AntiRush•8h ago•20 comments

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

https://research.meta.ai/blog/introducing-muse-glimmer-open-agentic-model
1072•riordan•18h ago•590 comments

Squeak 6.1

https://squeak.org/release_notes/6.1/
242•fniephaus•16h ago•122 comments

Humanising LLM Outputs Is Dumb

https://kuber.studio/blog/Reflections/Humanising-LLM-Outputs-is-Actually-Dumb
184•kuberwastaken•15h ago•113 comments

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

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

Exploiting System Management Mode with a very long interrupt

https://github.com/xoreaxeaxeax/smiiiiiiiiiiiiiiii
145•WhiteDawn•12h ago•54 comments

What's the best programming language for coding agents?

http://danluu.com/pl-tokens/
100•chaychoong•12h ago•70 comments

Updated GPG Key for Signing Firefox and Thunderbird Releases

https://blog.mozilla.org/security/2026/08/10/updated-gpg-key-for-signing-firefox-and-thunderbird-...
13•csmantle•54m ago•3 comments

Why My Father Is Wrong: A Defense of Guitar Hero

https://whatever.scalzi.com/2026/08/10/why-my-father-is-wrong-a-defense-of-guitar-hero/
17•Tomte•1h ago•3 comments

Choral: Choreographic Programming for Java

https://www.choral-lang.org/
11•dplyukhin•3d ago•1 comments

The Story of Mac: A Just-So Story

https://gigamonkeys.com/book/macros-defining-your-own
20•kscarlet•5d ago•2 comments

Launch HN: Stoa Markets (YC S26) – A Marketplace for GPUs and AI Servers

https://www.stoaexchange.com
70•erenberke•12h ago•45 comments

Parametron: 50s Japanese computer that uses neither transistors nor vacuum tubes

https://ethw.org/Milestones:Parametron,_1954
205•xeonmc•18h ago•50 comments

50k Boat Names

https://www.beautifulpublicdata.com/boat-names/
171•jonathanmkeegan•16h ago•106 comments

Ask HN: In your experience, what are sound conventions for e-ink UI development?

167•BoxOfRain•3d ago•54 comments

Exploring Claude/GPT Knowledge Cutoffs and Pre-Training Timelines

https://blog.sshh.io/p/exploring-claudegpt-knowledge-cutoffs
130•sshh12•14h ago•16 comments

Letter to Governor Abbott on responsible AI infrastructure in Texas

https://openai.com/index/responsible-ai-infrastructure-texas/
102•hackerBanana•14h ago•188 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?