Skip to content
0:00 / 0:00

#constgenerics#compile-time#rust

Const generics and compile time code

Context Free

24K subscribers • 25 videos on Hallway

YouTube

Intermediate. Assumes working knowledge.

10K views5 years ago1 recommendation

Programming languagesLanguage design and type systemsCompilers and interpreters

A comparison of how different programming languages like Rust, Zig, and C++ handle const generics and compile-time execution.

Code: github.com/contextfreecode/constgen Thanks much to Ævus エ for hi and bye in Swiss German! Intro Rust C++ (cpp) Nim Zig OCaml Python Outro

Why it's here

1 person recommends this

What people say. Highly upvoted for its clear comparison of compile-time evaluation features across multiple modern languages.

u/tjpalmerin r/ProgrammingLanguages • Recommends

Const generics and compile time code