Earlier quoted context omitted.
The implication is "I have no interest in this because I'm happy with what I have". Okay, that's fine, please enjoy your Java and build wonderful things. Oh, BTW, why are you typing into a reply box on a thread you have no interest in? And the implication there is because your tool is a poopy head and I wanted to subtly point that out by expressing my lack of interest. So, yeah, go away because that's not contributin…
> So, yeah, go away because that's not contributing to the conversation. Well, maybe there’s another implication. Google switching to C# would lead to them neglecting and deprecating the Java ecosystem on Android. That’s gonna be real ugly for app devs, ending up having to rewrite everything. So, maybe, there is a real contribution in the comment, which you just haven’t seen yet?
Google joins .NET Foundation as Samsung brings .NET support to Tizen
91–100 of 341 posts
Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen
#92Nice. Now please make C# a first-class citizen in Android and start to migrate from Java to C#.
Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen
#93Nice. Now please make C# a first-class citizen in Android and start to migrate from Java to C#.
Google have not made their own languages Dart/Go official to Android. Why would they make languages other than Java a priority now?
Because mentat asked please.
In other words, it might have less to do with the merit of the language than with the politics of the organization.
Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen
#94Nice. Now please make C# a first-class citizen in Android and start to migrate from Java to C#.
Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen
#95Earlier quoted context omitted.
Dart doesn't have the adoption yet and has a different plan when it comes to mobile ( https://github.com/flutter/flutter ). I love Go, but it's not really a suitable language to do UI, or anything that deals with data models. C#, however, is a perfect replacement for Java, most of the times. I would say "it's simply superior in every imaginable metric other than cross-platform implementations of the compiler/VM" but…
Java's value is not some inherent superiority of language for mobile development, it is about throwing (100s of) millions of dollars and 100s of engineers to make it work. And I think it remains true for C# also. Unless someone sinks 100s of millions on C# too it seems non-starter to me. By the way Microsoft has already tried mobile ecosystem with .net/C# that did not work out very well.
Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen
#96I like the laptop with a bunch of lovely Microsoft technologies, and then WiX. Please, please die WiX. Imperative XML + non-deterministic execution order + the worst error messages of the entire stack. I love C# and the CLR, but damn WiX sucks.
I can't believe WiX hasn't already died. I tried using it 7 or 8 years ago. What a terrible idea to use XML like that. But, that was back when XML was ... the ... bees ... knees! I mean everyone was gaga over using XML for everything.
Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen
#97Earlier quoted context omitted.
What magic are you talking about? Various .Net frameworks have silly amounts of magic, but C# itself?
When I started going into C# from Java a bit, there were two things slightly annoying me: - Class extensions: I saw code examples online that just wouldn't work for me because the compiler told me a certain method of a built-in class wouldn't exist. After I while I found out that the author of that snippet had used class extensions and not bothered to mention. - The var keyword: While this is sometimes nice for quick…
Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen
#98Earlier quoted context omitted.
Is that something Google wants? I don't see the advantage for them short of adding on C# devs
C# offers more support for memory friendly coding and performance than Java, which could ultimately improve Android's performance. Of course, this would only work if they switch languages, which I don't see the Android team doing willingly without upper management "help".
Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen
#99Earlier quoted context omitted.
* C# is much more mature * It has an enormous user base * It's not owned by Oracle Not saying they will but those are real possible reasons for Google to do this.
One possible way out will be something like Swift port to Android made by an open source contributor to Swift. Someone with deep knowledge of C# can take a stab at C# to Android. I'd think Google have very few C# people internally.
Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen
#100Earlier quoted context omitted.
Better support for mixed managed/native code for one. There's P/Invoke, and .NET's byte code includes instructions for low level pointer manipulation (which C# exposes). You could even compile C/C++ to CIL and obviate the need for some architecture specific binaries.
Actually, with the JNA (not JNI), one can invoke native code from Java even easier than in C# – you just define a Java Interface containing the relevant C functions, bind the library, and get an Object implementing it.
The GP wants to avoid shipping N different binaries for N platforms in cases where the C/C++ code being called isn't already on the platforms.
I haven't used Managed C++ and I'm fuzzy on the details, but my understanding is that a fairly large subset of C/C++ can be efficiently compiled to .NET CIL. (Of course, the class loader for untrusted security contexts will refuse to load classes that use the type-unsafe/memory-unsafe portions of .NET CIL, just like the Java classloader for untrusted applets won't load classes making arbitrary JNI calls.)