SMRTR ProgrammingNov 18, 2024Hacker News

C Compiler to SPIR-V

SMRTR summary

HCC is a C compiler that allows compiling C code to SPIR-V for the Vulkan graphics API, enabling shared code between CPU and GPU. Currently in alpha, it supports Windows and Linux, Vulkan 1.3+, and various shader types. Key features include a math library, textures, atomics, and Vulkan interop code. However, it has limitations like no pointer support outside intrinsics and no union support. The project aims to simplify GPU programming and is seeking contributors for future developments.

SMRTR provides this summary for quick context. The original article belongs to Hacker News.

Read the original article
SMRTR Programming

Get the next batch of curated summaries in your inbox.

This archive is built from SMRTR newsletter summaries. Subscribe for hand-picked stories without the extra noise.