frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

MartyPC is a cross-platform emulator of early PCs written in Rust

https://martypc.net/
42•boilerupnc•2h ago•2 comments

I Dream of Quieter Computing

https://henry.codes/writing/i-dream-of-quieter-computing/
26•Sir_Twist•2h ago•6 comments

The Golden Rule for Becoming a Better Writer

https://nappertime.com/the-golden-rule-of-becoming-a-better-writer/
15•andsoitis•1h ago•2 comments

Scrap (2006)

https://twitter.com/moxie/status/2091218652133732491
356•tosh•11h ago•189 comments

Why your local LLM feels dumber than it is

https://forum.level1techs.com/t/why-your-local-llm-feels-dumber-than-it-is/253917
255•felineflock•11h ago•84 comments

The Art and Beauty of Blade Runner

https://nappertime.com/the-art-of-and-beauty-of-blade-runner/
33•cocacola1•4h ago•6 comments

NanoGPT Speedrun Frontier

https://www.primeintellect.ai/research/nanogpt-speedrun
78•stared•7h ago•20 comments

ElevenLabs, TwelveLabs, ThirteenLabs

https://quantumi.sh/public/labs.html
349•jemoka•14h ago•108 comments

Hister – A private, full content search index that you control

https://hister.org/
286•auraham•4d ago•74 comments

RF Cafe

https://www.rfcafe.com/
176•gregsadetsky•4d ago•29 comments

typ.ing

https://typ.ing/
227•bookofjoe•4d ago•67 comments

A Friendly Introduction to Racket

https://geometridae.bearblog.dev/a-friendly-introduction-to-racket/
212•signa11•15h ago•110 comments

How a Texas student blew the whistle on a rogue AI hacking attempt

https://www.reuters.com/world/how-texas-student-blew-whistle-rogue-ai-hacking-attempt-2026-08-20/
137•olalonde•1d ago•45 comments

Thinking in Python

https://thinkinginpython.com/
117•pjacotg•11h ago•23 comments

ATProto spaces: A new extension to ATProto that enables non-public data

https://atproto.com/blog/atproto-spaces-alpha
130•grappler•2d ago•18 comments

Canada will match US tariffs 'dollar for dollar' as trade talks break down

https://www.bbc.com/news/articles/cvgvyy4x2mvo
565•tartoran•23h ago•1347 comments

NetBSD and my life (2005)

https://mail-index.netbsd.org/netbsd-advocacy/2005/09/10/0000.html
106•gnyeki•10h ago•28 comments

Reading Maps – Journeys from fiction drawn on the real world

https://readingmaps.com/
19•hakkikonu•11h ago•2 comments

A week of using Codex more than Claude

https://allaboutcoding.ghinda.com/a-week-of-using-codex-more-than-claude/
166•speckx•1d ago•181 comments

Show HN: Public Muscriptor Instance (latest, most powerful Audio-to-MIDI model)

https://www.pianoify.net/
24•jardy•1d ago•7 comments

Munder Difflin – Agent harness to run an office of your clones

https://munderdiffl.in/
266•simonpure•19h ago•117 comments

Figmimic – A bookmarklet to copy any webpage into Figma as editable layers

https://marcua.net/minitools/figmimic/
78•speckx•11h ago•10 comments

Four Years Ago, a Crypto Boss Went Missing. Now His Successor Has

https://www.nytimes.com/2026/08/23/world/europe/poland-estonia-cryptocurrency.html
10•ilamont•54m ago•2 comments

I set a trap for a book-marketing scammer (2025)

https://rwwgreene.substack.com/p/i-set-a-trap-for-a-book-marketing
22•rznicolet•11h ago•17 comments

Autolith: A programming agent with a live runtime

https://www.lambda-symbolics.com/autolith
118•vismit2000•2d ago•47 comments

New MCP Roadmap

https://blog.modelcontextprotocol.io/posts/mcp-roadmap/
190•pentagrama•15h ago•129 comments

hdiutil is deprecated in macOS 27 Golden Gate

https://lapcatsoftware.com/articles/2026/8/7.html
178•zdw•10h ago•71 comments

What's in a PowerPoint File?

https://editide.com/blog/what-is-a-pptx-file/
73•danielochoa0620•3d ago•38 comments

Z80 – The 1970s Microprocessor Still Alive (2021)

https://www.computer.org/csdl/magazine/mi/2021/06/09623402/1yJTvlRLmhi
129•asdefghyk•19h ago•59 comments

One night in Uzbekistan: Why was this one data point so influential?

https://statmodeling.stat.columbia.edu/2026/08/20/we-couldnt-reproduce-their-findings-and-realize...
89•paulpauper•1d ago•17 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?