Zig NEWS

Discussion on: But, will this blow up ?

Collapse
 
rabbit profile image
pylang

Determining something at comptime can reduce a lot of stress at runtime

Collapse
 
thewawar profile image
LinFeng

I think it should explicitly add a comptime keyword before const vtable = ... so that the compiler can put the value in .rodata, otherwise it should locate in stack. My point is user should have the option to choose.