frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Mistral Large 4

https://mistral.ai/news/mistral-large-4/\
1159•Philpax•5h ago•740 comments

Nobel Prize in Physics 2026: Francis Halzen

https://www.nobelprize.org/prizes/physics/2026/
414•solarist•9h ago•127 comments

Release of Polars 2.0

https://pola.rs/posts/release-polars-2/
328•simicd•7h ago•66 comments

Tapo (Rust/Python library) now speaks TP-Link's TPAP protocol

https://mihai.dinculescu.dev/posts/tapo-speaks-tpap/
100•faithraven•5h ago•34 comments

Benchmark in Milliseconds

https://matklad.github.io/2026/10/05/benchmark-milliseconds.html
84•surprisetalk•1d ago•19 comments

Gleam doesn't compile to Erlang source anymore

https://gleam.run/news/gleam-doesnt-compile-to-erlang-source-anymore/
229•ingve•10h ago•99 comments

AI is now capable of developing its own inference hardware

https://github.com/FeSens/openTPU
141•fsbonetto•2h ago•125 comments

Mathematics of Geothermal Energy

https://www.ebsco.com/research-starters/power-and-energy/mathematics-geothermal-energy/
51•srameshc•5h ago•19 comments

Meta’s Muse is an adorable privacy and security dumpster fire

https://www.techdirt.com/2026/10/06/metas-muse-is-an-adorable-privacy-and-security-dumpster-fire/
322•beardyw•6h ago•217 comments

Show HN: I turned my iPhone and a $20 smart plug into an f-stop timer

https://peterszentkiralyi.eu/darkplug/
33•pentakkusu•5h ago•2 comments

Subquadratic 3SUM and Subcubic APSP

https://arxiv.org/abs/2610.06783
44•mauriziocalo•6h ago•19 comments

Former German spy chief arrested for attempted treason

https://www.reuters.com/business/finance/former-german-spy-chief-detained-suspicion-espionage-tre...
56•semiquaver•2h ago•26 comments

Beam: Reflection's 501B open-weight model

https://reflection.ai/blog/introducing-beam
521•Philpax•23h ago•164 comments

Nature's capacity to 'bounce back' when species are lost is vastly overestimated

https://phys.org/news/2026-10-nature-capacity-species-lost-vastly.html
246•pseudolus•7h ago•118 comments

California Closed the Montana License Plate Loophole

https://www.thedrive.com/news/heres-how-california-closed-the-montana-license-plate-loophole
27•speckx•2h ago•19 comments

The Early History of Smalltalk (1993)

https://worrydream.com/EarlyHistoryOfSmalltalk/
65•_reza•3h ago•25 comments

Show HN: Parseable, an open observability datalake, handles 100M time-series/min

https://www.parseable.com
53•yashdotrv•5h ago•12 comments

I'm the AGI that's wiping out humanity

https://ajmoon.com/posts/im-the-agi-thats-wiping-out-humanity-heres-how
82•alex-moon•8h ago•37 comments

Find the flattest route between any two points in SF

https://flattensf.com/
282•ishan0102•21h ago•96 comments

Dust: Pretraining Transformers Without Backpropagation

https://qlabs.sh/research/dust
255•E-Reverance•21h ago•69 comments

Direct retinal projection display for smart glasses using a meta-optic mirror

https://www.tdk.com/en/news_center/press/20261002_01.html
101•bookofjoe•3d ago•42 comments

Friendship ended with Deno, now Node is my best friend

https://dbushell.com/2026/10/03/deno-to-node/
285•ibobev•20h ago•203 comments

World's First enhanced geothermal power plant completed in just 23 months

https://techcrunch.com/2026/10/01/worlds-first-enhanced-geothermal-power-plant-completed-in-just-...
127•hochmartinez•7h ago•49 comments

Opus 5.5 agents discover two room-temperature magnetic semiconductor candidates

https://www.vals.ai/blogs/room-temperature-magnetic-semiconductors
459•outlier99•22h ago•309 comments

Testing 12 different Zigbee temperature/humidity sensors

https://smarthomescene.com/reviews/best-selling-zigbee-temperature-sensors-tested/
197•walrus01•2d ago•109 comments

Competitive Programmer's Handbook (2018) [pdf]

https://cses.fi/book/book.pdf
279•vinhnx•3d ago•70 comments

The complement of true is true, except when it's false

https://dryperspective.github.io/posts/complement-of-true/
59•aw1621107•2d ago•23 comments

The lamps in my house

https://arslan.io/2026/10/05/the-lamps-in-my-house/
301•farslan•1d ago•113 comments

Two ARM64-specific compiler optimization bugs, in GCC 15/16 and Rust, hit curl

https://mastodon.social/@bagder/117392573268225646
44•torutofu•5h ago•5 comments

Example.com just launched the biggest redesign in decades

https://www.debugbear.com/blog/example-dot-com-redesign-history
306•jgx0•20h ago•210 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?