Compile-Time Dependent Types

·Hacker News··

Max SlaterComputer Graphics, Programming, and MathCompile-Time Dependent TypesIt seems inevitable that compile-time dependent types will come to systems programming.C++ has templates and constexpr. Rust has const generics. Zig has comptime. Even C has _Generic. However, these features tend to be highly restricted, lack a proper type system, or both.I’m working on Syl, a language which aims to encode compile-time computation in a modal type system. Syl is primarily inspired by András Kovács

Read full article →

Related Articles

Backdoor in Claude Code for VS Code extension on the Cursor Marketplace
_chall · Hacker News · 11h ago
Backdoors in official Claude Code extensions
dsr_ · Hacker News · 7h ago
We're releasing the weights of Mistral Large 4
kuberwastaken · Hacker News · 1d ago
A Working Nintendo in ~1GB of Qwen Weights
dbreunig · Hacker News · 1h ago
Google Search is now less than half of Alphabet’s revenue
hubraumhugo · Hacker News · 1d ago