Re:A Proposal for Package Versioning in Go
by ngrilly on Tuesday March 27, 2018 @11:16AM
(#16689290)
I remember Mono with AOT compilation had some limitations regarding generics in the past, but maybe this has been solved since then.
Yes Mono has some limitations, but it isn't 100% like the iOS Xamarin compiler.
http://www.mono-project.com/docs/advanced/aot/
In any case, a limited form of generics is better than not having any at all.
They don't need to provide a turing complete implementation of generics, even a basic one like CLU had would already be an improvement.
Using go generate feels like the old days, writing generic code in C and C++ with pre-processor tricks.
As for C#, people keep forgetting .NET always had a JIT/AOT compiler since version 1.0.
Just because not everyone bothers to sign their applications and call NGEN at installation time, it doesn't mean it isn't there.
Also Mono always supported AOT compilation, it is the way Xamarin works on iOS and the deployment story on Windows Store since it was introduced on Windows 8.