News for hackers. Stuff that matters.
Re:Myrddin Programming Language by AndyKelley on Monday June 04, 2018 @04:38AM (#17225712)
One thing to note:

In go, defer appends a function call to a heap allocated list that gets run at the end of a function.

In zig, defer (and errdefer) do not allocate memory, and get run at scope exit.

There are no comments on this comment yet.