3 comments

[ 4.7 ms ] story [ 23.3 ms ] thread
My favorite from this release.

> The built-in new function, which creates a new variable, now allows its operand to be an expression, specifying the initial value of the variable.

So no need for separate helpers anymore to instantiate a pointer to a literal.

> The baseline runtime overhead of cgo calls has been reduced by ~30%.

This is great, but tell me more? What happened?

> the compiler can now allocate the backing store for slices on the stack in more situations

Any details on when this happens?