frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Libghostty 1.0

https://mitchellh.com/writing/libghostty-1-0
295•mfiguiere•3h ago•48 comments

A Jev that can ask Opus for help gives Opus accuracy at 4x lower cost

https://hightouch.com/blog/llm-judges-identity-resolution
364•theanomaly•7h ago•84 comments

I Toured Unitree's Factory. I'm More Bullish on the West

https://josef.cn/blog/unitree
46•josefchen•2h ago•29 comments

Tesla to wind down Cybertruck production

https://www.nbcnews.com/tech/tech-news/tesla-wind-cybertruck-production-years-poor-sales-markets-...
886•PLenz•15h ago•1745 comments

Greece has its own Pompeii: Thera buried Akrotiri in ash 17th-16th century BCE

https://www.smithsonianmag.com/history/greece-has-its-own-pompeii-and-the-ruins-tell-a-captivatin...
36•derbOac•3d ago•3 comments

Firecracker VM Escape: PwnEscape Part 2

https://pwn.ai/blog/firecracker-escape
185•SerCe•7h ago•83 comments

RealPage rent-pricing case wraps with nearly $360M to renters

https://www.multifamilydive.com/news/realpage-rent-pricing-case-360m-renters/873553/
44•raybb•3h ago•13 comments

US FAA says it will phase out floppy disks from air traffic control by 2028

https://www.reuters.com/world/us/us-faa-says-it-will-phase-out-floppy-disks-air-traffic-control-b...
291•ChrisArchitect•23h ago•235 comments

AI is dramatically accelerating AI research

https://www.planned-obsolescence.org/p/ai-is-dramatically-accelerating-ai
223•yurivish•7h ago•167 comments

Can GROUP BY still be optimized after all these years?

https://pivotlake.io/blog/know-your-limit-faster-top-k-aggregation/
51•ntur1337•3d ago•2 comments

Panthera: Ampere's CPU Performance Model

https://github.com/AmpereComputing/panthera
14•mshockwave•3d ago•2 comments

First steps in bare-metal programming using UEFI

https://kevinboone.me/efitest_index.html
200•LaSombra•10h ago•36 comments

Show HN: Tmux-restore saves tmux windows and agent sessions across reboots

https://github.com/andrewboldi/tmux-restore
12•boldi•3d ago•3 comments

Sodium-ion batteries approach cost parity with LFP

https://www.pv-magazine.com/2026/11/06/sodium-ion-batteries-approach-cost-parity-with-lfp-with-70...
143•doener•4h ago•65 comments

Restaurant Delivery Payment-Skimming Campaign

https://www.infohawk.com/news/2026-11-05-scamwich-restaurant-skimming
100•fiej•8h ago•47 comments

Google has acquired Crusoe's data center site in southeast Wyoming

https://www.crusoe.ai/resources/newsroom/crusoe-wyoming-data-center-campus-update
46•rexbee•7h ago•8 comments

Devvm.dev: One VM for every project

https://devvm.dev/
126•luispa•9h ago•53 comments

GitHub's new Git storage architecture

https://github.blog/engineering/architecture-optimization/inside-githubs-new-git-storage-architec...
81•DAlperin•8h ago•13 comments

Gemini Omni 1.2 Flash

https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemini-omni-1-2-flash/
303•thisisauserid•13h ago•220 comments

Show HN: Waymark – A workflow engine that compiles jobs instead of replaying

https://github.com/piercefreeman/waymark
46•icyfox•1d ago•15 comments

Replit rebuilt its sandbox engine with microVMs

https://frontier.replit.com/sandbox-engine-microvms-part-1/
73•gaplong•8h ago•22 comments

Memorilla: Latent Semantic Memory for LLMs

https://arxiv.org/abs/2610.21375
92•handfuloflight•9h ago•8 comments

Anthropic IPO buyers see valuation as low as $1.1T

https://www.bloomberg.com/news/articles/2026-11-06/anthropic-ipo-valuation-expectations-pressured...
251•dgellow•10h ago•507 comments

Chomsky and the two cultures of statistical learning (2011)

https://www.norvig.com/chomsky.html
105•andsoitis•19h ago•88 comments

UpCodes (YC S17) is hiring SDR's to sell AI compliance software

https://up.codes/careers?utm_source=HN
1•Old_Thrashbarg•10h ago

Size-It-Up (Game)

https://magnitudle.com/size-it-up
74•whoishiding•9h ago•26 comments

How octopuses squeeze through too small gaps

https://journals.biologists.com/jeb/article/229/21/jeb253615/373332/How-octopuses-squeeze-through...
55•bookofjoe•13h ago•17 comments

ChatGPT silently passes data between connectors and the bounty wants an ID card

https://community.openai.com/t/security-follow-up-tool-call-silently-routed-to-a-different-connec...
83•Aldipower•4h ago•35 comments

40C3 halfnarp – Submit talk preferences to aid scheduling

https://halfnarp.events.ccc.de
46•hanemile•9h ago•9 comments

From Linux to Wikipedia: How Volunteers Build the Internet

https://thereader.mitpress.mit.edu/from-linux-to-wikipedia-how-volunteers-build-the-internet/
305•jonbaer•23h ago•110 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?