the.bay.news

Is the order of function argument evaluation stable?

Ziggit
Is the order of function argument evaluation stable?
So I’m just watching https://www.youtube.com/watch?v=69pvUyBsruQ&t=2h15m19s and Simon Carter is referencing a difference between C compilers / platforms in the order of evaluating function arguments. So this makes me wonder: Is this order defined in Zig? Is the following guaranteed? functionCall(evaluatedFirst(), evaluatedSecond()); See also: https://search.brave.com/search?q=zig+function+argument+evaluation+order In-Depth Technical Guide to Zig Functions – Murat Genc states: “Arguments are...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.