Stories
Slash Boxes
Comments

SoylentNews is people

posted by Fnord666 on Tuesday May 07 2019, @01:32AM   Printer-friendly
from the one-.NET-to-rule-them-all dept.

Submitted via IRC for AndyTheAbsurd

Today, we're announcing that the next release after .NET Core 3.0 will be .NET 5. This will be the next big release in the .NET family.

There will be just one .NET going forward, and you will be able to use it to target Windows, Linux, macOS, iOS, Android, tvOS, watchOS and WebAssembly and more.

We will introduce new .NET APIs, runtime capabilities and language features as part of .NET 5.

[...] We intend to release .NET 5 in November 2020, with the first preview available in the first half of 2020. It will be supported with future updates to Visual Studio 2019, Visual Studio for Mac and Visual Studio Code

Source: https://devblogs.microsoft.com/dotnet/introducing-net-5/


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 4, Insightful) by DannyB on Tuesday May 07 2019, @02:32AM (13 children)

    by DannyB (5839) Subscriber Badge on Tuesday May 07 2019, @02:32AM (#839966) Journal

    We need a managed runtime platform. That targets all major platforms. Write Once, Blue Screen Anywhere. With GC. Multi language support. Open source.

    Wait . . . don't we already have that with Java?

    And Java has two decades of sophisticated compiler research. (And I don't mean Java, I mean the two stages of JIT compilers that turn JVM bytecode into native code.) It has a choice of GC's that have been developed over decades. With knobs and dials for tuning. Two new state of the art GCs (ZGC and Shenandoah) that can support terabytes of heap with only 10 ms GC pause times, and I am told (on HackerNews) that more often 1 ms GC pause times. Terabytes of heap is enough for any Java Hello World program!

    What do we need .NET for again?

    --
    People today are educated enough to repeat what they are taught but not to question what they are taught.
    Starting Score:    1  point
    Moderation   +2  
       Insightful=2, Total=2
    Extra 'Insightful' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   4  
  • (Score: 2) by ikanreed on Tuesday May 07 2019, @03:01AM (8 children)

    by ikanreed (3164) Subscriber Badge on Tuesday May 07 2019, @03:01AM (#839975) Journal

    My sincere defense of a pretty good product by an awful company(not that Oracle isn't also awful):

    1. .NET has UI paradigms that are a hundred times better. MVVM is a really great way to design communication between GUI and a data model that backs it, compared to .
    2. Early Java had some language decisions that were unwise: no delegates, no implicit boxing/unboxing, always doing reference types even when it's not appropriate
    3. Visual Studio, even if hell for devops folks, is a really great tool and I like using it. It's not that it's features aren't available elsewhere, but the way Eclipse achieves basics like autocompletion through bloated plugins feels worse to me

    • (Score: 2, Interesting) by Anonymous Coward on Tuesday May 07 2019, @03:38AM (3 children)

      by Anonymous Coward on Tuesday May 07 2019, @03:38AM (#839990)

      I maintain both C# and Java applications. I like C# as a language better. Java recently added some LINQ stuff, but like everything else in Java, it's klunky as hell. Java's rough equivalent of delegates is the venerable anonymous inner class. It's a ton more syntax but achieves roughly (but not quite) the same thing. Also sensible overloads of operator[] make for good readability in C#. First-class properties are better than JavaBeanGetSetMethods.

      Otoh, what I like about Java is the FOSS ecosystem that C# seems to lack. So C# wins hands-down as a language, but Java is where the ecosystem is at.

      Ditto about Visual Studio vs. Eclipse. I never liked Eclipse, so I use Netbeans. Intellisense is just way more responsive than Netbeans complation. Everything about Java is bloated.

      Also, I absolutely hate the way Microsoft's Dot Net documentation is organized. Javadoc is easier to navigate imho.

      • (Score: 3, Interesting) by ikanreed on Tuesday May 07 2019, @03:46AM (1 child)

        by ikanreed (3164) Subscriber Badge on Tuesday May 07 2019, @03:46AM (#839995) Journal

        On the documentation point, when do you ever actually browse it anymore, it's always a google search for "ClassName"

        • (Score: 2) by bobthecimmerian on Tuesday May 07 2019, @10:52AM

          by bobthecimmerian (6834) on Tuesday May 07 2019, @10:52AM (#840084)

          I can't speak for Netbeans or IntelliJ, but in Eclipse if you mouseover a fragment of Java code the javadoc pops right up. It's really handy.

      • (Score: 3, Informative) by bobthecimmerian on Tuesday May 07 2019, @10:56AM

        by bobthecimmerian (6834) on Tuesday May 07 2019, @10:56AM (#840086)

        Java 8 has lambdas, which can usually replace the anonymous inner class in a way that saves a boatload of boilerplate syntax. But you're still left with a painfully verbose language. The best thing about the Java Virtual Machine is Groovy/Kotlin/Scala/Ceylon/Clojure/Eta/almost-anything-but-Java.

    • (Score: 1, Insightful) by Anonymous Coward on Tuesday May 07 2019, @05:46AM (1 child)

      by Anonymous Coward on Tuesday May 07 2019, @05:46AM (#840020)

      Oracle's sue-happy nature has scared away bigger supporters of Java.

      • (Score: 2) by DannyB on Tuesday May 07 2019, @01:51PM

        by DannyB (5839) Subscriber Badge on Tuesday May 07 2019, @01:51PM (#840145) Journal

        Yep, I can see Oracle bringing down Java. It won't fall overnight, but Oracle would be uniquely the one who could bring it down.

        --
        People today are educated enough to repeat what they are taught but not to question what they are taught.
    • (Score: 2) by DannyB on Tuesday May 07 2019, @02:04PM

      by DannyB (5839) Subscriber Badge on Tuesday May 07 2019, @02:04PM (#840150) Journal

      I do not disagree at all. .NET and C# have the hindsight to fix many warts in Java. That is a benefit of being a second system -- but from a different vendor without concerns about the second system effect. I admired C# when I first read the language spec soon after it was introduced.

      Java was conceived in the early 1990s when resources were much more limited and PCs were thousands of 1990ish dollars. So I can forgive some of the design decisions. As a common lisp fan of the time, I was excited when I first heard rumors about Java on Usenet. Even before it had a name.

      Any system / language has warts. And Java has plenty. Definitely its fair share. And maybe even a few extra. Developers in all kinds of systems tend to overlook the warts because it is possible to get all kinds of useful, gainful, productive economic work done.

      On point 3, I'll respectfully disagree and take Eclipse / other java IDEs over Visual Studio any day. And they run on non-Windows. Even on my Pixelbook and other Chromebooks.

      I will point out one thing I think Java (the language spec and JVM runtime spec) have done better than any other system. Religious devotion to backward compatibility. A newer compiler accepts ancient source code not using modern idioms, and runtime system can run way old compiled binary JVM bytecode. Over the two plus decades of Java's life this has now proven to be one of the best decisions the early adherence to compatibility the designers could have made. I know it must have been tempting to just up and change the language or runtime in non-backward compatible ways. See: Python. This compatibility has been one of the big assets for Java in the corporate and enterprise world.

      Given Oracle's behavior, I could possibly see myself warming up to the C# / .NET world. Not today. But it is not inconceivable. Especially given other announcements today of Microsoft's new GPL'd Linux Kernel in WSL 2, and new Terminal in Windows. Then the question becomes: which is less evil: Microsoft or Oracle?

      --
      People today are educated enough to repeat what they are taught but not to question what they are taught.
    • (Score: 3, Informative) by DannyB on Tuesday May 07 2019, @02:09PM

      by DannyB (5839) Subscriber Badge on Tuesday May 07 2019, @02:09PM (#840151) Journal

      One more thing: .NET has a LOT of work, that is largely invisible, to catch up to the JVM runtime.

      Multiple platforms, but with the C1 / C2 JIT compilers. GC for terabytes of heap and hundreds of cores. Open J9. GraalVM.

      The research on these and other things is because Sun wisely chose to GPL the JDK, enabling research.

      These features I'm talking about are hidden deep below the superficial surface of .NET / JVM and the languages Java and C#. But these count in a BIG way. .NET / C# may not be a real choice for seriously big workloads. When will .NET run on mainframes? (not that I want to, but big banks seem to) Just sayin'

      --
      People today are educated enough to repeat what they are taught but not to question what they are taught.
  • (Score: 2) by Pino P on Tuesday May 07 2019, @01:36PM (3 children)

    by Pino P (4721) on Tuesday May 07 2019, @01:36PM (#840140) Journal

    Wait . . . don't we already have that with Java?

    We also have legal threats over experimentation with Java. One is that the license of the language specification forbids distribution to the public of a partial implementation of the specification, meaning early development of an independent implementation must occur behind NDA. Another is Oracle v. Google. The license of .NET lately is clearer on these points.

    • (Score: 3, Informative) by DannyB on Tuesday May 07 2019, @01:50PM (2 children)

      by DannyB (5839) Subscriber Badge on Tuesday May 07 2019, @01:50PM (#840144) Journal

      OpenJDK is GPL. With the Classpath exception enabling you to run your program on Java without it coming under the scope of the GPL.

      Of course, a thing like this would not stop Oracle, which is pure evil.

      --
      People today are educated enough to repeat what they are taught but not to question what they are taught.
      • (Score: 2) by Pino P on Tuesday May 07 2019, @03:40PM (1 child)

        by Pino P (4721) on Tuesday May 07 2019, @03:40PM (#840214) Journal

        Permissively licensed code can run in a GPL-hostile environment, such as iOS or video game consoles.

        • (Score: 2) by DannyB on Tuesday May 07 2019, @03:53PM

          by DannyB (5839) Subscriber Badge on Tuesday May 07 2019, @03:53PM (#840222) Journal

          I am not an iOS developer, but it is my understanding that Apple does not allow any kind of runtime interpreters. This is largely why all iOS browsers are just skins of Apple's browser. But things could have changed.

          I don't know if Java is used in video game consoles . . . other than as part of the Blue Ray implementation.

          While Java may be made available to you and I under the GPL + Classpath exception; the owner, Oracle, can license it out under other terms and conditions, and for profit.

          --
          People today are educated enough to repeat what they are taught but not to question what they are taught.