(no title)
prakis | 2 years ago
But for an IOT prototype where the executable size and performance were very important we benchmarked D also along with Go and C#.NET Core.
I made the same prototype in Go, C#, Java(GraalVM Native Compile) and D-lang. The results were surprisingly positive for D-lang.
Best Peformance -> D-lang, next Go and then Java(GraalVM), C#.NET Core.
Executable Size -> D-lang:500kb, Go: 2.5 MB, C# : 11MB, Java(GraalVM):8MB.
Our major concern with D-lang was lack of dependable(tested) standard libraries.
neonsunset|2 years ago
If each language is used correctly, Go should come last on the benchmarks.
schemescape|2 years ago
Last time I tried C# AOT (not sure what version, but it was in March of this year) I ended up with a 67 MB (static) executable.
Edit: the docs mention a web app at 8.5 MB (static) on Linux: https://learn.microsoft.com/en-us/aspnet/core/release-notes/...
chrismsimpson|2 years ago
amelius|2 years ago
gomoboo|2 years ago
GDC is based on GCC: https://github.com/D-Programming-GDC/gdc
DMD is stand-alone: https://github.com/dlang/dmd