would I get similar result like the C’s compiler extension function __builtin_frame_address(0)
when calling @frameAddress
in zig?
Yes, it is the same: the base pointer of the current stack frame.
3 Likes