Modern programming with Zig, Python and JVM integration
#ZigModule(
pub fn fast_calc(x: i32) i32 {
return x * 2;
}
) -> math // fast module in zig
pack Calculator {
func calculate(int) {
return math.fast_calc(x) // use fast module
}
}
Direct access to low-level performance
Clean and expressive code
Python and JVM ecosystem access