[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Java vs C#

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 47
Thread images: 8

File: Capture.png (21KB, 412x236px) Image search: [Google]
Capture.png
21KB, 412x236px
does C# have a chance in overtaking Java as the dominant language in the market? as big as microsoft is, they are still less wealthy than google that shills Java through android. oracle are also huge. i think most apple-store apps are also Java written

also what are actual advantages that C# has over Java? are they significant enough to convince a software company to embrace it?

friendly reminder: using "pajeet" or similar memes immediately invalidates your argument
>>
>>57896838
Android using java was the most retarded thing of the century.
>>
File: IMG_2008.jpg (284KB, 755x1341px) Image search: [Google]
IMG_2008.jpg
284KB, 755x1341px
no
>>
>>57896838
Yes Chadhtag has a real chance of overtaking Java because Microsoft is becoming more open source and Linux friendly
>>
>>57896838
Android dev is literally the most painful experience/tools that I've ever used

>have to do everything on the fucking code
>if you change the name of a visual component, it changes its place
>shittyest obfuscated error messages

Steve Ballmer is literally a nigger, it's his fault that microsoft didn't get to mobile devices fast enough, C# mobile dev is absurdly easier and faster than Java
>>
>>57897682
;__;
>>
Java is the worst thing, like really. Take atleast Minecraft for example, because of java it requires huge amount of RAM and when you put some extra mods, well..
>>
>>57897976
would C# be better in minecraft's case?
>>57896880
do you think microsoft will go as far as making C# and .NET work on linux servers? i think mono can help with that but i am not sure about whether it will hit performance...
>>
>>57898327
google .NET core
>>
>>57897682
You haven't developed for ios then...
>>
>>57897682
Whereas
>if you change things in visual studio the entire C# project breaks and you have nothing else to do but restart everything
>>
>>57897976
>blames the lang for someones shitty skills
>>
>>57896838
>i think most apple-store apps are also Java written
retard
>>
>>57899335
t. visual studio 2005
>>
>>57897976
Java is not intended to run games, maybe game servers, but not games. When it comes to games you should use a better performing language like C++ (or C if you're autistic enough).
Besides, Minecraft was an indie project and the dev didn't care much about performance (it was also simple enough that language didn't matter). Now that Microsoft has bought it and added tons of features they'll probably remake it in C++. The only problem with this is all the mods will be rendered useless unless Microsoft forces compatibility, which they normally don't do properly. On the bright side the game will be at least twice as smooth.
>>
>>57899429
Latest ones, actually. It's a shitty IDE anyway, literally requires more space than an OS.
>>
File: willow1[1].png (73KB, 800x436px) Image search: [Google]
willow1[1].png
73KB, 800x436px
>>57899487
yeah, if you choose to install all the shit you won't ever use, which is really stupid for any software you use
>>
>>57896838
Yes, it's a lot less rigid and has been gaining ground swell exponentially each year.
>>
File: bugs-bunny-cigarette.jpg (48KB, 550x414px) Image search: [Google]
bugs-bunny-cigarette.jpg
48KB, 550x414px
Long time dev here.

Google the following: .Net Standard 2.0

To sum it up:
>unify the .net eco system
>if your platform wants to adhere to the .Net standar 2.0 it has to implement all of its APIs
>.Net Standard 2.0 API set is the .Net 4.6.1. API set

What this means, you create one protable library that targets .Net Standard 2.0, and you get to reuse it in your .Net Core web application that is being deployed in a Linux container, you get to reuse it in your Xamarin/Xamarin.Forms cross platform mobile application (write Client logic once, reuse everywhere), you get to reuse it in your full blown enterprise ready WPF application etc. etc.

I'm currently running VS 2017 and testing some of the shit. It's marvelous, I've been dreaming of this day for the past 10 years.

Can't wait till it goes RTM, future is bright.

Pic related, Bugs is as dope as .Net Standard 2.0
>>
>>57896850
Why did they do?
Was it just about developers
>>
>>57899735
It was the result of the tech. used to create Android. Java VM running on top of the Linux kernel. So yeah...

Xamarin had a fun project back in the days, replacing the Java VM and everything attached to it with their C# runtime. Performance gains were off the charts crazy. Would be cool if someone did a comparison of that project to Android 7.0

Android and google sure did advance their Java shit and its performance, and I'm really curious if it's now on pair with a 4-5 year old project, lol.
>>
File: 1.jpg (109KB, 960x708px) Image search: [Google]
1.jpg
109KB, 960x708px
>>57899643
Tell tales of your acquired wisdoms
>>
>>57899790
But when it was possible for xamarin to do so why didn't Google go for c# built then
>>
>>57899830
because they were slow, and also, google hates microsoft more than anything, they literally pay devs to not make windows mobile apps
>>
>>57899830
Because Xamarin worked on their cross platform C# runtime and tooling for years, they had mature software already, the only thing they did to complete the porting of Android to C# back then was a Java -> C# transpiler if I remember right.

All in all, for google it made more sense to go with Java because it's free to run etc. etc. than get into possible shitstorm with MS (and if they wanted to use Xamarin, they would have to pay out of their ass, Xamarin was a private, closed source company back then).

Now it's obvious. Even tho C#/.Net is open as fuck, and has some of the best tooling on the market (Visual Studio, Roslyn compiler, Ryu JIT...) Android is balls deep in Java.
>>
File: 1.jpg (185KB, 1920x1080px) Image search: [Google]
1.jpg
185KB, 1920x1080px
>>57899908
That makes sense 2bh
>>
should i learn java or C#?
>>
WPF on linux when?
>>
>>57900000
C#
>>
File: 1466316723042.jpg (4KB, 151x183px) Image search: [Google]
1466316723042.jpg
4KB, 151x183px
>>57900000
>>57900022
>>
>>57900022
why?
>>
>>57900040
Becaue c# is already better than java and it's getting even better
>>
>>57900005
WPF or some other framework like this.

I just want to make cross platform window based applications. IS IT TOO MUCH TO ASK?
>>
>>57900059
xamarin
>>
>>57899798
Ask specific questions please and I'll answer as detailed as possible. I'm also >>57899790 and >>57899908

Anyway, I mention Xamarin a lot because I think it's the future and will become the standard rather soon. Xamarin.Forms will be enough for 90% of mobile dev (the kind that doesn't need some crazy platform specific crazyness like ultra low level, minimal latency audio APIs etc.)

The Forms Previewer works way better in the last release in VS2017 and is finally shaping up to be a worth replacement to the XAML Designer from Microsoft.

The Visual Studio for Mac, even tho if it's just a reskinned Xamarin Sudio, actually feels like a worthy Visual Studio family member (compared to Xamarin Studio, things are now where you "expect" them to be in Visual Studio).

What else is fun. Ah, .Net Core 1.1 and the return to .csproj is a great decision, even tho some people raved about project.json, it was a mess and shit.

We already have .Net Core 1.0 in production for some micro services. The only thing lacking is EntityFramework Core (or Well EF6 or whatever it's called). It's not even close to EF5 parity, so if you rely on that one, stay on .Net full framework (4.5, 4.6) for now.

My advice, if you wanna learn C#, go intern at some company you know for sure that produces quality software, and put effort into learning software design and patterns.

If I inherit one more project with logic in the XAML code behind, I'll find that pajeet and kill him myself.
>>
>>57900092
Do you know some good books for c#
>>
>>57900118
C# by itself is easy to learn and anything will do.

Once you do that, and you get into a certain framework depending on what you want to code for (WPF, UWP, MVC .Net...) get into some user groups and look for best practices, how to write clean testable code and not pajeet tier 1 page tutorials on how to hack shit together so it "just werks".
>>
>>57900411
How different is UWP from WPF? Is it smart to focus on WPF or it's already legacy?
>>
>>57900895
Fuck this i recommend you to learn Yoloscript or dankscript which is in my opinion best programming language
>>
>>57901062
>Pajeet humor
>>
File: 1.jpg (51KB, 500x680px) Image search: [Google]
1.jpg
51KB, 500x680px
>>57900092
First of all, thanks for your time. I wanted to start programs with GUI for Linux with python in mu mind, but didn't know which framework to stick with. Then I got my hands on a laptop with windows on it for some time. It was overwhelming tho, and I didn't know what to do. So I wasn't able to do anything. Probably because my coding is pajeet tier in python tho. Now I have some money to spend which framework would you recommend for developing. I'm interested in file organization programs with little bit image manipulating?

Tale wise: Do you have some legacy nightmares to share
>>
>>57900895
uwp will work in any windows 10 device, it's still a technology in development

wpf is the successor to windows forms, it has more funcionality, but only works on full windows 10 pc
>>
C# is less advanced than Java.
.net is more advanced than JVM.

Tough choice.
>>
>>57899790
Well C# is Microsoft only so fuck that.

Mono is shit
>>
>>57901806
>C# is less advanced than Java

HAHAHAHAHAHAHAHAHAAHAHAH
>>
>>57901820
>C# is Microsoft only

welcome to 2010
>>
>>57900092
>>57900411
>>57901095
>>57901683
Back to /pol/ racist honkeys
Thread posts: 47
Thread images: 8


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.