[HN Gopher] Show HN: Eyot, A programming language where the GPU ...
___________________________________________________________________
Show HN: Eyot, A programming language where the GPU is just another
thread
Author : steeleduncan
Score : 61 points
Date : 2026-03-08 11:04 UTC (11 hours ago)
(HTM) web link (cowleyforniastudios.com)
(TXT) w3m dump (cowleyforniastudios.com)
| LorenDB wrote:
| This reminds me that I'd love to see SYCL get more love. Right
| now, out of the computer hardware manufacturers, it seems that
| only Intel is putting any effort into it.
| sourcegrift wrote:
| Don't mean to be rust fanatic or whatever but anyone know of
| anything similar for rust?
| embedding-shape wrote:
| Not similar in the way of "Decorate any function and now it's a
| thread on the GPU", but Candle been pretty neat for
| experimenting with ML on Rust, and easy to move things between
| CPU and GPU, more of a library than a DSL though:
| https://github.com/huggingface/candle
| steeleduncan wrote:
| I'm not totally sure what it is, but I believe there is
| something for running Rust code on the GPU easily
| ModernMech wrote:
| You could use wgpu to replicate this demo.
|
| https://wgpu.rs
| notnullorvoid wrote:
| It seems somewhat similar to rust-gpu https://github.com/Rust-
| GPU/rust-gpu
| wingertge wrote:
| I hate doing self-promotion, but this _is_ basically exactly
| what CubeCL does. CubeCL is a bit more limited because as a
| proc macro we can 't see any real type info, but it's the
| closest thing I'm aware of. Other solutions need a bunch of
| boilerplate and custom (nightly-only) compiler backends.
| MeteorMarc wrote:
| That is fun: it lends c-style block markers (curly braces) and
| python-style line separation (new lines). No objection.
| maxloh wrote:
| JavaScript and Kotlin do that too.
| steeleduncan wrote:
| It uses the same trick as Go [1]. The grammar has semicolons,
| but the tokeniser silently inserts them for ease of use. I
| think quite a few languages do it now
|
| [1] https://go.dev/doc/effective_go#semicolons
| CyberDildonics wrote:
| Every time someone does something with threading and makes it a
| language feature it always seems like it could just be done with
| stock C++.
|
| Whatever this is doing could be wrapped up in another language.
|
| Either way it's arguable that is even a good idea, since dealing
| with a regular thread in the same memory space, getting data to
| and from the GPU and doing computations on the GPU are all
| completely separate and have different latency characteristics.
___________________________________________________________________
(page generated 2026-03-08 23:01 UTC)