News for hackers. Stuff that matters.
Re:Nine years of Go by germanyhater on Saturday November 10, 2018 @02:47PM (#18423119)
I prefer to use .NET Core / C#. It is very fast, async, cross-platform, open source and unlike GO, it is a high level programming language. One disadvantage is that compilation time is not as fast as with GO, but it was improved over the last years.
Re:Nine years of Go by icholy on Saturday November 10, 2018 @11:43PM (#18425071)
C#'s async/await sucks compared to Go's approach.
Re:Nine years of Go by pjmlp on Sunday November 11, 2018 @03:30AM (#18425477)
If you want Go's approach in C# use Tasks and Dataflows with ConcurrentQueues, not async/await.
Re:Nine years of Go by AsyncAwait on Sunday November 11, 2018 @10:47AM (#18426909)
And that it's not a compile to static binary by default.
Re:Nine years of Go by PunchTornado on Saturday November 10, 2018 @03:39PM (#18423371)
> unlike GO, it is a high level programming language

what is high and low level depends very much on the context, but I don't see GO to be lower level than C#...

Re:Nine years of Go by pjmlp on Saturday November 10, 2018 @05:53PM (#18423955)
Lack of support for generics, enumerations, dynamic, FFI marshalling, expression trees, LINQ, exceptions, match expressions, ....
Re:Nine years of Go by PunchTornado on Saturday November 10, 2018 @06:11PM (#18424027)
some of these are not present in other high level languages like PHP, javascript and you don't call them lower level...
Re:Nine years of Go by tigershark on Saturday November 10, 2018 @06:37PM (#18424117)
PHP and JavaScript are not statically typed. What would be the use of generics in there? Obviously for the same reason you don’t need the dynamic keyword. As for LINQ at least in JavaScript you have it, either integrated in the language with map, filter, reduce or using some library like lodash or Ramda. You don’t have expression trees but you don’t really need them given the highly dynamic nature of the language, although not at the same level as ruby if I remember correctly. JavaScript has exceptions, so here I’m really not sure what you are speaking about. For FFI marshalling (that for sure I would not call high level feature) there is webassembly. Match expressions are present in JavaScript and obviously you can’t have exhaustive pattern matching like in typescript because of the lack of types. Even in that way it’s pretty comparable to c# switch case. So to me it seems that at least JavaScript has all the features listed in the gp, why you are convinced of the contrary?
Re:Nine years of Go by jcelerier on Saturday November 10, 2018 @03:51PM (#18423431)
since it has no generics, it has less expressive power
Re:Nine years of Go by AlexCoventry on Saturday November 10, 2018 @08:35PM (#18424547)
Curious about the downvotes on this. Seems accurate.
Re:Nine years of Go by jcelerier on Sunday November 11, 2018 @10:08AM (#18426690)
well, yes, unless they can proove that System F is equivalent in expressive power to λω in which case they can go fetch their Turing prize.