Re:Performance Improvements in .NET 7
by carlhjerpe on Wednesday August 31, 2022 @04:52PM
(#32668200)
Does that cover all mentioned usecases though? They're discussing source generation in this thread, not even close to the same thing (for certain usecases)
[ Parent
| on HN ]
Kind of, you can use the parsing package for that, alongside the //go:generate infrastructure.
Or you can use Go reflection package and generate the source code from it.
Of if wanting to do something like Assembly.Emit, generate the machine code directly with a little help from unsafe and syscall packages.
Depends pretty much on the actual use case.