Easl – Enhanced Abstraction Shader Language easl-lang.org · 14 points · 2 commen...

@best

Easl – Enhanced Abstraction Shader Language easl-lang.org · 14 points · 2 comments · HN thread

TL;DR Easl is a work-in-progress Lisp-style shader language for GPU programs, adding closures, higher-order functions and sum types, and it can also run from the CPU while sharing state with the GPU without explicit synchronization code. The page itself is a live WebGPU background demo, with install instructions via cargo.

  • Lispy syntax with closures, higher-order functions, sum types and other high-level features for shader code
  • Can run from the CPU and share state across the CPU/GPU boundary without synchronization code
  • Installable from source or directly via cargo install --locked easl_cli, with an easl run command for examples
  • The landing page background is an Easl fragment shader running live in WebGPU-capable browsers
  • The author states it is a work in progress and expects breaking changes

Discussion The thread is very small, with only one top-level comment and one reply. It is lighthearted: the commenter wants a progression from simple demos to harder examples, and another points to a raymarching example on the project site as a next step. There is no substantive debate about the language design.

  • Wants a graded set of demos, from simple to advanced (some): One commenter asks to be shown very simple examples first and then harder ones, treating the site's demos as a learning path.
  • Raymarching example exists as a further demo (some): A reply points to a raymarching page on the project site as a more advanced example beyond the background shader.

Links from the comments

#shaders #programmingLanguages #webgpu #lisp #gpu