compile-time

Tag

Cards List
#compile-time

Billion-query-per-second lookup tables in C++

Lobsters Hottest ↗ · 5d ago Cached

介绍 ConstexprCore/perfect_hash 库,可在 C++23 constexpr 编译期生成无冲突的完美哈希查找表,实现每秒十亿次查询的字符串映射性能。

0 favorites 0 likes
#compile-time

Compile-Time Dependent Types

Lobsters Hottest ↗ · 6d ago Cached

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.

0 favorites 0 likes
#compile-time

Comparing reflection capabilities of C++, Zig and C3

Hacker News Top ↗ · 2026-09-20 Cached

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.

0 favorites 0 likes
#compile-time

Révo Programming language

Lobsters Hottest ↗ · 2026-09-03 Cached

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.

0 favorites 0 likes
#compile-time

RISC-V interpreter from the future

Lobsters Hottest ↗ · 2026-09-01 Cached

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.

0 favorites 0 likes
#compile-time

Compile-Time Improvements in LLVM 23

Lobsters Hottest ↗ · 2026-08-22 Cached

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.

0 favorites 0 likes
#compile-time

CSS-in-JS Arena Bamboo, StyleX and Panda on Pixel-Identical Apps

Lobsters Hottest ↗ · 2026-08-18 Cached

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.

0 favorites 0 likes
#compile-time

C++26: #embed

Lobsters Hottest ↗ · 2026-08-05 Cached

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.

0 favorites 0 likes
#compile-time

Pystd standard library, similar-ish functionality with a fraction of the compile time

Lobsters Hottest ↗ · 2026-06-29 Cached

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.

0 favorites 0 likes
#compile-time

Lisp in the Rust Type System

Hacker News Top ↗ · 2026-06-20 Cached

A Lisp interpreter embedded in Rust's trait system, allowing recursive functions, closures, and continuation passing style at compile time.

0 favorites 0 likes
#compile-time

offset_of! slices

Lobsters Hottest ↗ · 2026-06-18 Cached

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.

0 favorites 0 likes
#compile-time

Parsing JSON at compile time with C++26 static reflection

Lobsters Hottest ↗ · 2026-06-15 Cached

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.

0 favorites 0 likes
#compile-time

revo, the programming language

Lobsters Hottest ↗ · 2026-06-02 Cached

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.

0 favorites 0 likes
#compile-time

Tagged Union Subsets with Comptime in Zig

Mitchell Hashimoto ↗ · 2024-09-23 Cached

Mitchell Hashimoto demonstrates how to use Zig's comptime to create subset types of tagged unions, enabling compile-time safety without exhaustive case handling.

0 favorites 0 likes
← Back to home

Submit Feedback