frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

High-income job losses are cooling housing demand

https://jbrec.com/insights/job-growth-housing-demand-metro-analysis-2026/
82•gmays•39m ago•55 comments

DeepSeek-v3.2: Pushing the frontier of open large language models [pdf]

https://huggingface.co/deepseek-ai/DeepSeek-V3.2/resolve/main/assets/paper.pdf
73•pretext•3h ago•24 comments

India orders smartphone makers to preload state-owned cyber safety app

https://www.reuters.com/sustainability/boards-policy-regulation/india-orders-mobile-phones-preloa...
72•jmsflknr•12h ago•32 comments

Ask HN: Who is hiring? (December 2025)

120•whoishiring•2h ago•144 comments

Response to Ruby Is Not a Serious Programming Language

https://robbyonrails.com/articles/2025/12/01/why-so-serious/
37•robbyrussell•45m ago•17 comments

Why xor eax, eax?

https://xania.org/202512/01-xor-eax-eax
352•hasheddan•6h ago•135 comments

Cartographers Have Been Hiding Covert Illustrations Inside of Switzerland's Maps

https://eyeondesign.aiga.org/for-decades-cartographers-have-been-hiding-covert-illustrations-insi...
171•mhb•5h ago•39 comments

Isn't WSL2 just a VM?

https://ssg.dev/isnt-wsl2-just-a-vm/
81•sedatk•6d ago•38 comments

Ask HN: Who wants to be hired? (December 2025)

37•whoishiring•2h ago•88 comments

Better Auth (YC X25) Is Hiring

https://www.ycombinator.com/companies/better-auth/jobs/eKk5nLt-developer-relation-engineer
1•bekacru•1h ago

ImAnim: Modern animation capabilities to ImGui applications

https://github.com/soufianekhiat/ImAnim
46•klaussilveira•2h ago•11 comments

Search tool that only returns content created before ChatGPT's public release

https://tegabrain.com/Slop-Evader
753•dmitrygr•14h ago•301 comments

Google unkills JPEG XL?

https://tonisagrista.com/blog/2025/google-unkills-jpegxl/
149•speckx•3h ago•124 comments

Intel could return to Apple computers in 2027

https://www.theverge.com/news/832366/intel-apple-m-chip-low-end-processor
5•DamnInteresting•14m ago•1 comments

A vector graphics workstation from the 70s

https://justanotherelectronicsblog.com/?p=1429
90•ibobev•5h ago•15 comments

Self-hosting a Matrix server for 5 years

https://yaky.dev/2025-11-30-self-hosting-matrix/
196•the-anarchist•7h ago•86 comments

Historic Engineering Wonders: Photos That Reveal How They Pulled It Off

https://rarehistoricalphotos.com/engineering-methods-from-the-past/
84•dxs•6d ago•15 comments

Durin is a library for reading and writing the Dwarf debugging format

https://github.com/tmcgilchrist/durin
3•mooreds•26m ago•0 comments

I made a quieter air purifier

https://chillphysicsenjoyer.substack.com/p/i-made-a-quieter-air-purifier
84•crescit_eundo•6d ago•42 comments

Langjam Gamejam: Build a programming language then make a game with it

https://langjamgamejam.com/
98•birdculture•1d ago•43 comments

Games using anti-cheats and their compatibility with GNU/Linux or Wine/Proton

https://areweanticheatyet.com/
213•doener•11h ago•299 comments

WordPress plugin quirk resulted in UK Gov OBR Budget leak [pdf]

https://obr.uk/docs/dlm_uploads/01122025-Investigation-into-November-2025-EFO-publication-error.pdf
94•robtaylor•4h ago•87 comments

Spleen Monospaced Bitmap Fonts

https://github.com/fcambus/spleen
12•keyle•5d ago•5 comments

It’s been a very hard year

https://bell.bz/its-been-a-very-hard-year/
303•surprisetalk•13h ago•400 comments

The Penicillin Myth

https://www.asimov.press/p/penicillin-myth
91•surprisetalk•4h ago•47 comments

Trifold is a tool to quickly and cheaply host static websites using a CDN

https://www.jpt.sh/projects/trifold/
85•birdculture•1w ago•30 comments

Detection of triboelectric discharges during dust events on Mars

https://gizmodo.com/weve-detected-lightning-on-mars-for-the-first-time-2000691996
87•domofutu•4d ago•46 comments

Advent of Code 2025

https://adventofcode.com/2025/about
1137•vismit2000•1d ago•364 comments

Google, Nvidia, and OpenAI

https://stratechery.com/2025/google-nvidia-and-openai/
78•tambourine_man•3h ago•65 comments

Victorian-style lines for the web: Elements of identical width

https://jacobfilipp.com/victorian-line/
40•surprisetalk•1w ago•4 comments
Open in hackernews

Faster sorting with SIMD CUDA intrinsics (2024)

https://winwang.blog/posts/bitonic-sort/
92•winwang•6mo ago
Code at https://github.com/wiwa/blog-code/

Comments

ashvardanian•6mo 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•6mo 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•6mo 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•6mo 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•6mo ago
Parallel compares: https://graphics.stanford.edu/~seander/bithacks.html#ZeroInW...
DennisL123•6mo 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•6mo 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•6mo 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•6mo 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•6mo ago
As someone who doesn't know very much about graphics (ironically), you're welcome and hope it helps!
fourseventy•6mo ago
What are the biggest use cases of GPU accelerated sorting?