4 ms·
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
by germanyhater 8y ago
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.
- PunchTornado 8y ago> 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#...
- jcelerier 8y agosince it has no generics, it has less expressive power
- AlexCoventry 8y agoCurious about the downvotes on this. Seems accurate.
- jcelerier 8y agowell, yes, unless they can proove that System F is equivalent in expressive power to λω in which case they can go fetch their Turing prize.
- pjmlp 8y agoLack of support for generics, enumerations, dynamic, FFI marshalling, expression trees, LINQ, exceptions, match expressions, ....
- PunchTornado 8y agosome of these are not present in other high level languages like PHP, javascript and you don't call them lower level...
- tigershark 8y agoPHP 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?
- icholy 8y agoC#'s async/await sucks compared to Go's approach.
- pjmlp 8y agoIf you want Go's approach in C# use Tasks and Dataflows with ConcurrentQueues, not async/await.
- AsyncAwait 8y agoAnd that it's not a compile to static binary by default.