ELSEIF
Your brief EB
366 stories from 101 feeds 294 clusters Refreshed 11 minutes ago next pull 21:06

TECH Signal 403

C3 0.8.3 adds @feat attribute, replacing top-level @if for conditional compilation

Illustration only Photo by Connie de Vries on Unsplash

C3 0.8.3 introduces the @feat attribute for top-level conditional compilation, replacing @if, and also adds MacOS SDK fetching, Windows Aarch64 support, and regex support.

WHY IT MATTERS

The @feat attribute makes conditional compilation deterministic by using compiler-provided feature flags known before declaration registration, fixing unpredictable analysis ordering with @if. This improves IDE support and reduces forced analysis. Additionally, MacOS SDK fetching and Windows Aarch64 support ease cross-compilation.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

@feat uses compiler-provided feature flags known before declaration registration, solving the ordering problem of @if.

02

$feature is renamed to $feat, with $feature deprecated and removed in 0.9.0.

03

C3 0.8.3 also adds MacOS SDK fetching, Windows Aarch64 support, and experimental regex support.

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
c3-lang.org via Lobsters C3 0.8.3 Feature flags Open ↗