|
|
|
|
|
by neonsunset
1011 days ago
|
|
Could you try a few sample scenarios for a CLI tool written in C# with the following publish options? JIT: dotnet publish -c release -o publish -p:PublishSingleFile=true -p:PublishTrimmed=true
AOT: dotnet publish -c release -o publish -p:PublishAot=true
Either one has really good startup time (below ~100ms and 20-30ms respectively depending on what you do), compact binary size and require no external dependencies. Just like in Go except without all shortcomings of Go :)p.s.: AOT on macOS requires .NET 8 preview (will be released in November) |
|