Weβre excited to announce Zyn 1.0.2, a major update to our lightweight C/C++ build system tailored for simplicity, speed, and power. This release brings smarter dependency management, enhanced build optimizations, and improved developer tooling.
β¨ Whatβs New in Zyn 1.0.2
- π¦ Add Dependencies with
zyn add
You can now easily add Git-based dependencies to your project using a simple command:zyn add https://github.com/gabime/spdlog
The dependency will be automatically cloned into the dependencies
directory and used during the build process.
2. π· Pin Specific Versions via @version
Need a specific version or tag? Just append @<version>
to the URL:
zyn add https://github.com/gabime/spdlog@v1.12.0
Zyn will clone the repository and check out the specified version automatically.
3. π§Ό Clean Projects Easily with zyn clean
Clear all build files and dependencies with a single command:
zyn clean
This command resets your project to a clean state, perfect for fresh builds or CI/CD pipelines.
β‘ Release Mode: Maximum Performance
The release
build mode now applies aggressive compiler optimizations for performance-critical builds:
-O3 -DNDEBUG -flto -march=native -funroll-loops \
-fomit-frame-pointer -fno-exceptions -fno-rtti \
-finline-functions -fprefetch-loop-arrays \
-Wl,--gc-sections -s -fvisibility=hidden
These flags enable link-time optimization, function inlining, loop unrolling, and remove unused symbols β ideal for production-ready binaries.
π Debug Mode: Maximum Insight
When building in debug
mode, Zyn now provides detailed diagnostics to support developers:
Debug Symbols: Included via
-g -O0
Linter Execution: If enabled, Zyn runs your configured linter (e.g.,
clang-tidy
) with full warnings, optionally treated as errors.Static Analysis: Automatically runs
cppcheck
with--enable=all
,--inconclusive
, and--force
when configured.Verbose Logging: All executed commands are printed to the console for transparency and troubleshooting.
This makes debug
mode perfect for catching bugs early and improving code quality.
π¬ Optional Profiling Integration
If you configure a profiling tool (e.g., valgrind
), Zyn will automatically run your binary under it β unless in release
mode.
π§ Summary
Zyn 1.0.2 is a focused release that improves developer experience, performance tuning, and project hygiene. Whether you're debugging complex systems or shipping high-performance apps, Zyn now gives you better control and visibility.
π οΈ Zyn β Small binary. Smart builds.
Update to version 1.0.2 today and supercharge your C/C++ projects!
Top comments (0)