Go 1.17 Beta

# · 🔥 118 · 💬 118 · 4 days ago · tip.golang.org · 0xedb
To maintain compatibility with existing assembly functions, adapter functions converting between the new register-based calling convention and the previous stack-based calling convention are sometimes used. Assembly functions called indirectly from Go via func values will now be made through ABI wrappers, which may cause a very small performance overhead. Also, calling Go functions from assembly may now go through ABI wrappers, with a very small performance overhead. The format of stack traces from the runtime is improved. One effect of this change is that a function with a closure may actually produce a distinct closure function for each place that the function is inlined. The NewReader function is guaranteed to return a value of the new type Reader, and similarly NewWriter is guaranteed to return a value of the new type Writer. The new VisibleFields function returns all the visible fields in a struct type, including fields inside anonymous struct members. The new QuotedPrefix function returns the quoted string at the start of input. The new SkipFuncCheck Mode value changes the template parser to not verify that functions are defined.
Go 1.17 Beta



Archive | Send Feedback | WebAssembly Version (beta)