frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

An entire Herculaneum scroll has been read for the first time

https://scrollprize.org/firstscroll
515•verditelabs•4h ago•126 comments

Oxide computer 3D rack guided tour

https://explorer.oxide.computer/
142•darthcloud•3d ago•61 comments

IBM debuts sub-1 nanometer chip technology

https://newsroom.ibm.com/2026-06-25-ibm-debuts-worlds-first-sub-1-nanometer-chip-technology
166•porridgeraisin•4h ago•92 comments

Show HN: OpenKnowledge – open source AI-first alternative to Obsidian/Notion

https://github.com/inkeep/open-knowledge
51•engomez•4h ago•17 comments

Zig's new bitCast semantics and LLVM back end improvements

https://ziglang.org/devlog/2026/#2026-06-25
170•kouosi•5h ago•63 comments

OS9Map

https://yllan.org/software/OS9Map/
112•LaSombra•5h ago•16 comments

Show HN: Chess-Inspired Roguelike

https://princechazz.com
95•cowboy_henk•4d ago•37 comments

Apple raises prices of MacBooks, iPads

https://www.reuters.com/world/asia-pacific/apple-raises-prices-macbooks-ipads-memory-costs-skyroc...
456•virgildotcodes•7h ago•665 comments

You can't unit test for taste

https://dev.karltryggvason.com/you-cant-unit-test-for-taste/
212•kalli•1d ago•88 comments

The anxiety of the perfect loaf: the illusion of culinary precision

https://iza.ac/posts/2026/06/intuitive-cooking/
6•infinitewalk•2d ago•2 comments

Half-Life 2 in a Browser

https://hl2.slqnt.dev/
600•panza•14h ago•242 comments

The annotated PyTorch training loop

https://idlemachines.co.uk/essays/pytorch-training-loop
22•smaddrellmander•2d ago•2 comments

Besimple AI (YC P25) Is Hiring

https://www.ycombinator.com/companies/besimple-ai/jobs/yWfhhOR-strategic-projects-lead-audio-data
1•yzhong94•3h ago

Early adversity leaves lasting molecular imprint across the body: primate study

https://medicalxpress.com/news/2026-06-early-life-adversity-molecular-imprint.html
52•gmays•4d ago•15 comments

I built a GPU back end for Emacs

https://en.andros.dev/blog/4b707a03/how-i-built-a-gpu-backend-for-emacs/
131•andros•2d ago•68 comments

Show HN: I made Google Trends for Hacker News by indexing 18 years of comments

https://hackernewstrends.com
535•ytkimirti•6h ago•133 comments

Advanced Nintendo Entertainment System (ANES) – NES Modded to Use 2 PPUs

https://github.com/decrazyo/anes
56•zdw•1d ago•19 comments

Windows 10 quietly gets one more year of support and updates

https://www.neowin.net/news/windows-10-quietly-gets-one-more-year-of-support-and-updates/
176•bundie•4h ago•133 comments

Tw-fade: pure CSS scroll-driven edge masking

https://pete.design/tw-fade
64•petekp•3d ago•27 comments

How physicists track and trap the elusive neutrino

https://www.quantamagazine.org/how-physicists-track-and-trap-the-elusive-neutrino-20260624/
40•ibobev•5h ago•12 comments

52-hertz whale

https://en.wikipedia.org/wiki/52-hertz_whale
77•brightbeige•23h ago•11 comments

Show HN: Turn native language audio into flashcards and shadowing practice

https://lingochunk.com/try
64•alder•8h ago•28 comments

Political bias in AI: Where the AI models stand

https://trakkr.ai/bias
65•mektrik•7h ago•134 comments

OAuth for all

https://blog.cloudflare.com/oauth-for-all/
342•terryds•17h ago•143 comments

The disappearance of Japan's animators

https://economist.com/interactive/1843/2026/06/19/the-strange-disappearance-of-japans-animators
96•andsoitis•4d ago•78 comments

Show HN: MiniPCs.zip – Charting the Pareto frontier of Mini PCs

https://minipcs.zip
84•yathern•5d ago•30 comments

LastPass notifies users of yet another data breach

https://9to5mac.com/2026/06/23/lastpass-notifies-users-of-yet-another-data-breach/
427•mooreds•9h ago•190 comments

How to get your first customers [video]

https://www.ycombinator.com/library/SF-how-to-get-your-first-10-customers
59•aurenvale•1d ago•20 comments

Blogging can just be stating the obvious

https://blog.jim-nielsen.com/2026/blogging-stating-the-obvious/
429•Curiositry•20h ago•124 comments

The unbearable cheapness of open weight models

https://jamesoclaire.com/2026/06/25/the-unbearable-cheapness-of-open-weight-models/
125•ddxv•17h ago•115 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?