ZenCode Features
Explore the features that ZenCode has to offer. What's deterministic destruction and why is it valuable? How does const correctness work? How does transpilation work?
Transpileable
ZenCode is designed to be transpiled to whichever system you are working with. Working on iOS? Translate to Swift. Working on Android? Translate to Java. Web? Javascript!
Read moreModular
Break down complex systems in smaller modules. ZenCode applications and libraries are meant to be modular and its tools are designed for it. Use API modules to implement functionality in different platforms.
Read moreAccess enforcement
Library, class and method access is strictly enforced in all cases and cannot be circumvented from within ZenCode. Let language features do the heavy lifting of your system security.
Read moreConst correctness
Use constness and immutability to make the system work exactly the way you intend to. Use constness to make sure code doesn't modify data that shouldn't be modified, without having to defensively copy everything.
Read moreMemory management
Be strict about ownership and sharing. Write code both your and your compiler can reason about. Make libraries that work both with and without garbage collector, with minimal memory allocation overhead.
Read moreDeterministic destruction
Make sure resources are closed when no longer used. Don't just leave it up to the programmer to close something - make sure it happens automatically, exactly in the way it should.
Read more