Hasty Briefsbeta

Bilingual

Show HN: Eyot, A programming language where the GPU is just another thread

3 days ago
  • #programming
  • #GPU
  • #language-design
  • Eyot is a new language designed to seamlessly offload work to the GPU, similar to spawning a background thread.
  • Eyot compiles source code for both CPU and GPU, with runtime handling communication between them.
  • Target users include game developers, numerical analysts, and AI practitioners.
  • Eyot simplifies GPU programming by handling tasks like memory allocation and kernel compilation automatically.
  • Example code demonstrates calling functions directly on CPU, as CPU workers, and as GPU workers.
  • Motivation stems from the difficulty of GPU programming in projects like desktop applications.
  • Current roadmap includes rendering support via Vulkan, syntax improvements, GPU memory management, performance optimization, and standard library development.
  • Eyot will not focus on automatic parallelization, theoretically optimal performance, or being a general-purpose language.