[–] _ikke_ 5mo ago ↗ 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.
[–] gwd 5mo ago ↗ > The baseline runtime overhead of cgo calls has been reduced by ~30%.This is great, but tell me more? What happened?
[–] deagle50 5mo ago ↗ > the compiler can now allocate the backing store for slices on the stack in more situationsAny details on when this happens?
3 comments
[ 4.7 ms ] story [ 23.3 ms ] thread> 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.
This is great, but tell me more? What happened?
Any details on when this happens?