Tag
介绍 ConstexprCore/perfect_hash 库,可在 C++23 constexpr 编译期生成无冲突的完美哈希查找表,实现每秒十亿次查询的字符串映射性能。
Syl is a new systems programming language that encodes compile-time computation in a modal type system, using static/dynamic and erased/unerased mode axes to enable monomorphization and compile-time dependent types, inspired by two-level type theory and OxCaml.
This article compares the compile-time reflection capabilities of C++, Zig, and C3 programming languages. It demonstrates how each language handles tasks like enum to string conversion and struct introspection with code examples.
Revo is a programming language featuring clean data flow, error-as-values, compile-time execution, and fiber-based concurrency. It is built using Zig and offers optional typing with strong inference.
An update to a RISC-V interpreter in Rust, featuring modularity, no_std support, compile-time execution, and strict specification compliance, utilizing many nightly Rust features.
LLVM 23 delivers a 6.75% reduction in compile-time for -O3 builds, driven by key improvements in ADT hash maps, sets, and other components.
This article presents a benchmark harness for compile-time CSS-in-JS engines, comparing Bamboo, StyleX, and Panda CSS on pixel-identical React apps, with Bamboo leading in performance metrics like shipped bytes and build times.
C++26 introduces the #embed preprocessor directive, allowing binary files to be embedded directly at compile time without external tools, simplifying resource inclusion in C++ programs.
Pystd is a from-scratch C++ standard library designed to drastically reduce compilation times, achieving full builds in seconds compared to the standard library's minute-long compilations, while providing similar functionality.
A Lisp interpreter embedded in Rust's trait system, allowing recursive functions, closures, and continuation passing style at compile time.
A blog post presenting a Rust macro that computes the offset of a slice field in a struct at compile time, using a fake allocation to work around current stable Rust limitations.
C++26's #embed and static reflection, combined with the simdjson library, allow JSON parsing at compile time, turning configuration files into compile-time constants with no runtime overhead.
Revo is a new programming language that features clean data flow without nesting, errors-as-values, everything as expressions, compile-time execution, and procedural macros.
Mitchell Hashimoto demonstrates how to use Zig's comptime to create subset types of tagged unions, enabling compile-time safety without exhaustive case handling.