3 ms·
It exists but isn’t the same as a natively compiled binary. A lot gets packed into an AOT binary for it to work. Longer startup times, more memory, etc.
by reactordev 2y ago
It exists but isn’t the same as a natively compiled binary. A lot gets packed into an AOT binary for it to work. Longer startup times, more memory, etc.
- pjmlp 2y agoJust like Go, there is no magic here. Where do you think Go gets those chubby static linked executables from? That people have to apply UPX on top.
- reactordev 2y agoGo’s static binaries are orders of magnitude smaller than .Net’s static binaries. However, you are right, all binaries have some bloat in order to make them executable.
- metaltyphoon 2y agoThis is flat out incorrect if you are doing AOT in C#
- reactordev 2y agoHow? What I said was fact. All executables have some bloat that makes them executables. Golang’s being the smaller. Whether it’s shared lib pointer or static…