(no title)
prakis | 2 years ago
The CPU and RAM usage of D-lang out performed all other languages.
Compiled binary size:
D-Lang : 450KB Go : 2 MB C#(.NET) : 8 MB Java-GraalVM: 9 MB
D-Lang CPU & RAM Usage is also less than GO. Unfortunately D-Lang is not popular, not many libraries available.
fuzztester|2 years ago
Java and C# are not really systems programming languages; they carry too much baggage for that.
Even Go is not too comparable to D
ivolimmen|2 years ago
lloydatkinson|2 years ago
sixthDot|2 years ago
For small applications this works even if certain templates can easily lead to have half of the standard library pulled in (e.g a few conversion, a few format, a few regex and boom, the size explodes).
A subset of the language called betterC allows to fully get rid of the "base", but requires to write much more code to get things done. Maybe this is why prakis managed to get the smaller binary ? The comment is not very clear about the methodology...