Skip to content

Strut 0.0.3

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Sep 08:17
· 175 commits to main since this release

Strut 0.0.3

Strut 0.0.3 is a focused compiler and generated-code performance release. It does not change the language contract established by 0.0.2.

Highlights

  • String-only programs now use focused string-runtime slicing instead of compiling the complete generated runtime.
  • Plain threads use focused thread-runtime slicing, and compatible atomic programs use the same small concurrency foundation rather than the full runtime.
  • Runtime-feature discovery now correctly traverses nested lambda bodies and switch cases, preserving required helpers while keeping generated programs small.
  • In a controlled direct A/B comparison, Hello World improved from 1,659 ms to 315 ms (about 81% faster), while the representative plain-thread fixture improved from 2,112 ms to 795 ms (about 62% faster).
  • Across the broader documented Intel i7-12700H/GCC 15.2 campaign, the corresponding results were approximately 2,070 ms to 306 ms (about 85%) and 2,618 ms to 729 ms (about 72%). These are environment-specific benchmark results, not universal latency guarantees.
  • Native C++ compilation now dominates small-build time; the Strut frontend is sub-millisecond for the measured small fixtures.
  • Structural code-size guards prevent the focused string, thread, and atomic paths from silently regressing to the complete runtime.
  • Compiler, generated C++, package, HTTP/TLS, sanitizer, regression, and cross-platform certification continue to cover GCC, Clang/AppleClang, and MSVC targets.

Strut remains pre-1.0. See COMPATIBILITY.md for the compatibility policy and BUILDING.md for source and installed-layout instructions.