is .net faster than java [closed] - c#

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
I heard a lot of people saying that java is slow comparing .net, like they had servers with application on java with jboss hibernate and other stuff and it was really slow, but when they moved to .net all the performance issues disappeared. Is java really much slower ?
isthere any benchmarks made ?

I think this is going to get closed as flame-bait, but I'll make a comment, anyway.
In my experience, Java servers/services can be just as performant as .Net servers/services. It depends more on the skill and experience of the designer & developer than the technology.
That being said, it is also my experience that most Java-based desktop applications (with significant user interfaces) are horribly slow and tend to exhibit weird behavioral issues. While it's possible for an inexperienced or unskilled C# developer to create the same bad UI in .Net, it is much more unlikely that a competent C# developer will experience these types of issues when writing a .Net app, compared to a similarly competent Java developer putting similar functionality into a Java app.

Related

Why is Java used for low latency but C# isn't really? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Java and C# are pretty much identical, both have garbage collectors, similar memory models (well, at least compared with C++), similar memory allocation (I think) but Java is used fairly often in low latency applications (not as much as C++) whereas C# isn't really..
Are there any technical reasons why C#, even though it is very similar to Java, is not used in these environments? Are there differences in the memory model etc? Is it because Java has different JVMs/Garbage collectors? Better tuning parameters?
EDIT: After one of the comments below I believe the answer to this (closed) question is that C# limits the system to being Windows-based. Linux allows tuning the server to context-switch far less and therefore provider greater low latency opportunities, rather than this being about the C# language-specifics itself.
Q: How can you possibly expect a valid answer to a false premise?
Relevant links:
http://msdn.microsoft.com/en-us/magazine/gg232761.aspx
http://www.elitetrader.com/vb/printthread.php?threadid=204368

Is there any non-obvious difference between using C++ or C# for a Windows Kinect application? (e.g. performance, features) [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Is it just a matter of preference and familiarity or the language makes an actual difference?
Both are treated as first-class supported languages in terms of the Kinect SDKs, but the C# version is I think just a wrapper around the C++ version.
Standard managed C# vs unmanaged C++ arguments apply from this point forwards.
My preference? I know C# very well and am comfortable using it, so I'd start with that. If I identify performance issues because I used C# I can tackle those later on, but I seriously doubt that would ever happen.
Don't forget, you could always dip into unsafe C# in order to improve performance on any image processing logic you have - and still keep the managed support.

Should we go Scala instead of Java? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
We will be starting a new project which will involve training all the .net developers in Java (frameworks/ECO system etc). We have a lot of code written in C# and it seems that all of this will be wasted as we have to re-write it all in Java. The problem I see is that the first year or so (probably 2 years) we will have nothing to deliver as we will spend most of the time reproducing what we had before but now in Java.
Since our team is distributed in different offices around the world and we have a large number of java developers (20 to 30) and 10 developers using .net, we want to get all the developers using the same language/platform so we can start to reuse components/modules. So I can understand managements point of view.
Yesterday I came across Scala and was wondering if it would be better to use this with the current product (which is written in C#) and then at least we will have a working product in a year. Also in a year we have modules that can be used in the Java world whilst we migrate other parts of the product.
Would this work?
JD
David Pollak wrote a couple of blog posts about this very recently. His opinion was very clear that your team would be a very poor choice for Scala.
http://www.javacodegeeks.com/2011/09/yes-virginia-scala-is-hard.html
http://www.javacodegeeks.com/2011/09/scala-use-is-less-good-than-java-use.html

what is the difference in vb.net web apps and c# .net webapps [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
can any one tell me the difference between vb.net web apps and c# .net webapps y most of the apps are done in c# rather than vb.net
There is no difference, they all compile down to the same CLR.
Nothing but preference. C# and VB.Net are extremely similar in nature as far as programming languages go.
Microsoft has said that both languages will co-evolve from now on. They will both get the same additional features with each new release, and MS is committed to both. There was a rumor that VB was going to be replaced by C#, but that is not true. They have dispelled that myth.
Because there are more coders that use c#, perhaps? Underlying philosophy of .net is that you can use language that you are most comfortable with, and stay in the same environment.
The only difference is the language that the code behind files are written in.
Both use the same objects and .NET framework, it's only a choice of programming language.
As for why most examples are in C#, more people prefer to use that.
From what I've heard, VB.NET was shoehorned into .NET as a late addition because too many programmers were familiar with it. Programmers tend to have their preferences with higher-level languages (which is by far the most distinct difference). In the end, they both provide virtually the same capability and functionality.

How exactly can Python complement your C# skills for windows based development? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm looking for a fun challenge, and am thinking about learning Python. I've heard really good things about the language. My question is, how (if at all) can Python complement the skills of a typical C# developer working mainly with MS technologies on a Windows Platform.
Some examples of typical C# dev on windows would be (SOA applications, web applications, windows services, automation, xml handling)
Surely there must be some scenarios where knowing Python would help you get certain tasks done quicker or more efficiently than using traditional C# / MS technologies.
If you know of any specific scenarios, then please share.
At first, if you don't know a dymanic, non static-typed language, it will certainly help you to learn one. You will find out new programming paradigms and will affect your coding style and even if you don't use for a proper project, there are benefits in it for you. This of course applies for any new language you learn.
Specifically for C# and Python, have a look at IronPython. You can use it interchangeably with C# code and select to program specific bits in it.
One interesting application will be add scripting functionality in an existing application. You can embed IronPython to it and build a scripting environment with it.

Categories

Resources