Hacker Newsnew | past | comments | ask | show | jobs | submit | jinst8gmi's commentslogin

Where can I find more info on the performance work done on collections?


> CSharp once again showing it is the best language in terms of features and improvements.

That's a pretty sweeping generalization. Most of the headline features in the article are already in other languages e.g. Scala.


The difference being CSharp is actually used by a large number of people. Scala is not even in the top 10 used languages [0].

[0] http://www.tiobe.com/tiobe-index/


Your comment was about C# being "the best language in terms of features and improvements", nothing about usage numbers.

I agree that C# is far more widely used than Scala, but Scala is being used by significant numbers of developers esp. for Spark. Tiobe is also widely regarded as a pretty poor indicator of language adoption.


Scala is consistently #15 or #16 in various measurements. Just not in TIOBE as they decided to use the wrong search terms to look for, so TIOBE doesn't provide useful information in this case.


Java's a pretty extreme outlier for late or non-adoption of modern features, but it is true that Java is the closest direct competitor/peer to C# in terms of usage/marketshare. C# seems to be steadily shifting from being a language which initially (v1.0) looked like Java to one which looks increasingly like Scala (e.g. addition of pattern matching, tuples, local methods etc.).


Java is generally C#'s main competitor. Comparing them is the most appropriate comparison.


Care to name some of these platforms which Java doesn't run on which .NET supports? I'm having a hard time coming up with even a very short list.


Also, Xamarin makes .NET runnable on Android with their runtime and compile it down for iOS.

.NET Microframework makes it runnable on IoT.


I don't think Android is a good example of a platform which .NET supports which Java doesn't since Java is the primary development language for Android apps...

I'm also pretty sure that embedded Java is widely deployed in IoT applications.


Well , not .NET but almost:

PS4 (MonoGame/Mono) XBox One (.NET Core on the future and MonoGame/Mono)

At least you can run c# code on those platforms. Java though is unlikely to ever happen.


So the "platforms" are 2 game consoles?


Working on the next major version Scala (3.0) != "looses interest" in Scala.


Odersky gave some details of language features being removed for Scala 3 in his talk and it seemed to be really obscure features I don't use anyway.


According to Odersky's recent talk [1, 2] it's about twice as fast as the current Scala compiler and should still improve significantly.

[1] https://www.youtube.com/watch?v=_2oGY8l67jk

[2] http://www.slideshare.net/Odersky/scala-days-nyc-2016 (slide 21)


> I think we can do better than Monads to achieve this.

(slide 52)

Looking forward to their solution.


For anybody curious, I think he's hinting at modern effect systems, on which there's lots of research these days. He advised for instance Lukas Rytz PhD thesis at EPFL (and Lukas Rytz is still working on Scala, now at Lightbend).


> it's a great feature for boring driving

I'd much rather have a "boring" driver on the road than deal with aggressive drivers.


Agreed. My point was that it doesn't deal well with "exciting" driving. Given a long stretch of mostly empty interstate highway Autopilot is great (and keeps it suitably boring/low stress). It does miserably in suburban areas (let alone urban areas).


OpenJDK is the official reference implementation of the JVM, so that would be a little silly...

https://en.wikipedia.org/wiki/OpenJDK

http://openjdk.java.net/faq/


At least the JVM supports multiple languages (Scala, Clojure etc.), but if there's a spec it shouldn't be hard for anyone to add support for other languages.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: