News for hackers. Stuff that matters.
Re:Brooks, Wirth and Go by zija on Tuesday August 31, 2021 @07:21AM (#28366435)
From top popular language, say from https://redmonk.com/sogrady/2021/08/05/language-rankings-6-2..., only Go and Swift/ Objective-C are languages with static typing, compiled to native tool chain . And Swift are very apple centric.

This have huge impact for go popularity. Alternative to Go: - java and JVM language are heavy gorilla languages that's need more resources/ no value types. graal native is not straightforward alternative. - C# is good alternative, but again jitted, and there are no alternative for Microsoft products in open source community,people choose go as default alternative to java few years ago..

Re:Brooks, Wirth and Go by vips7L on Tuesday August 31, 2021 @12:20PM (#28369920)
I think you're discounting how much having Google backing you adds to popularity. D has static typing, compiles to native, works on every major platform, and has been around far longer, but doesn't have near the adoption of Go.
Re:Brooks, Wirth and Go by daypay on Tuesday August 31, 2021 @01:10PM (#28370684)
Same case for Nim, I really enjoy working with it.
Re:Brooks, Wirth and Go by benibela on Tuesday August 31, 2021 @07:41PM (#28374931)
Or Pascal. Wirth's most popular languages

It has a unique combination of features that I cannot find in any other languages

Unfortunately there is a disturbing lack of quality libraries. I have to write everything myself. Really everything. A few days ago I wrote my own string to int conversion.

Re:Brooks, Wirth and Go by philosopher1234 on Tuesday August 31, 2021 @02:19PM (#28371566)
Having actually tried using D, it has far more warts than Go.
Re:Brooks, Wirth and Go by pjmlp on Tuesday August 31, 2021 @09:14AM (#28367652)
.NET has had AOT support since its origin, although it only supports dynamic linking.

https://docs.microsoft.com/en-us/dotnet/framework/tools/ngen...

Since Windows 8, .NET Native is also a thing, and then there are the other AOT toolchains like Xamarin and IL2CPP.

AOT compilation has been part of Java world for those willing to pay for commercial JDKs, specially in the embedded domains.

In fact, the JIT caches with PGO optimization now available for free on Hotspot and OpenJ9, come from JRockit and IBM J9 respectively.

Re:Brooks, Wirth and Go by Zababa on Tuesday August 31, 2021 @07:27AM (#28366491)
Did you forget about C++ and Rust?
Re:Brooks, Wirth and Go by zija on Tuesday August 31, 2021 @08:11AM (#28366886)
No, i like Rust very much. But Rust require from me to deep dive with language, it's not productive language, it's correct from start to end language. Language with optional GC, value types like Nim or D are better for small hobby projects. But community and library ecosystem and tooling are weak. On other hand there are Ocaml and F#. But Ocaml for windows is weak, community is small etc F# inherits problems from c#
Re:Brooks, Wirth and Go by AnimalMuppet on Tuesday August 31, 2021 @04:21PM (#28373078)
OK, but this:

> From top popular language, say from https://redmonk.com/sogrady/2021/08/05/language-rankings-6-2..., only Go and Swift/ Objective-C are languages with static typing, compiled to native tool chain

is still false.

Re:Brooks, Wirth and Go by Zababa on Tuesday August 31, 2021 @12:36PM (#28370205)
That's a fair point, but I don't find Rust really harder to use than Go for small hobby projects. Swift is nice as a language but has a huge lack of libraries.