Skip to content

laya-pong: a browser paddle decided by Laya at 18.7 ms per frame on Metal

PaperinikSep 204 stars

One typed question per frame; the other paddle is three lines of arithmetic as a control. Physics in WebAssembly, decisions in native Laya over POST /decide.

Preview of laya-pong: a browser paddle decided by Laya at 18.7 ms per frame on Metal
Launch
Laya
Use case
Games
Format
Repo

Paperinik

Cloud software architect. Full stack developer minus frontend, Rust supporter. Formerly at Microsoft and Google.

Your product hereSeen by everyone reading about Laya builds.From $10/week
See all

atomic.chat

@atomic_chat_hq · Sep 21

Atomic.chat ran Laya on a 16 GB MacBook Air against Jev over the API on a Grok-built Tetris. Local won on speed: 11x faster decisions.

Viraj Bhartiya

@heyxviraj · Sep 21

Viraj Bhartiya wired both models into the Chrome T-Rex game: Laya local on MLX, Jev over the API, same track and physics, side-by-side latency. Code in virajbhartiya/laya-vs-jev.