Redian新闻
>
语言坑:有没有Java和C#两边都用的
avatar
语言坑:有没有Java和C#两边都用的# Java - 爪哇娇娃
k*r
1
可以比较一下吗?
avatar
b*y
2
I studied C# before, out of curiosity. I keep coming back to the conclusion
that Java will prevail. Here is the reason why:
1) Microsoft is a closed company. C# stuff only runs on windoze.
2) C# seems too much complicated by introducing some nasty C++ stuff. For
example, C# package hierarchy is complicated, compared to file/directory
based package hierarchy in java. Looking at a C# class, you don't know where
is the file actually located in the file system. That sucks to me.
3) Java runs everywh
avatar
k*r
3
For 灌水's sake :)
1) Mono runs on linux (and maybe more platforms), although it's not mature
yet. But if it's backed by MS, there is a good chance that it'll improve
fast.
2) Indeed. I don't quite like the language features in C#. They are kind of
hard to understand, at least for my brain. I think the individual class
files contribute to inferior performance, especially when they are zipped (
jar-red).
3) Yes, more libraries are available for Java.
Java's downside as I see it:
1) Performance is l
avatar
t*s
4
光从语言的角度来说,C#可不是封闭的
从一开始C#就已经被纳入ECMA标准
而且,C#在linux平台上也有实现

conclusion
where

【在 b******y 的大作中提到】
: I studied C# before, out of curiosity. I keep coming back to the conclusion
: that Java will prevail. Here is the reason why:
: 1) Microsoft is a closed company. C# stuff only runs on windoze.
: 2) C# seems too much complicated by introducing some nasty C++ stuff. For
: example, C# package hierarchy is complicated, compared to file/directory
: based package hierarchy in java. Looking at a C# class, you don't know where
: is the file actually located in the file system. That sucks to me.
: 3) Java runs everywh

avatar
w*n
5
Technically, I really don't like Visio Studio to make web page. Maybe it is
good for standard coporate inside web site. Whenever, I'd like to do some
unusal thing, it give me a lot of headache. Maybe there are some changes now
. My experience was a couple of years ago.

of

【在 k***r 的大作中提到】
: For 灌水's sake :)
: 1) Mono runs on linux (and maybe more platforms), although it's not mature
: yet. But if it's backed by MS, there is a good chance that it'll improve
: fast.
: 2) Indeed. I don't quite like the language features in C#. They are kind of
: hard to understand, at least for my brain. I think the individual class
: files contribute to inferior performance, especially when they are zipped (
: jar-red).
: 3) Yes, more libraries are available for Java.
: Java's downside as I see it:

avatar
F*n
6
None of your "Java downsides" are accurate.
1) Java's performance is poor only when compared with C or Fortune. C# is
not faster than Java.
2) You must be kidding.
3) There are more Windows machines that's for sure, but more .net servers?
Not so sure. Not all Windows servers run .Net framework. Many of them also
run Java.

Java's downside as I see it:
1) Performance is low (lower than .net)
2) C# (and the whole .net/asp.net thing) has better web dev support
3) There are more Windows servers than

【在 k***r 的大作中提到】
: For 灌水's sake :)
: 1) Mono runs on linux (and maybe more platforms), although it's not mature
: yet. But if it's backed by MS, there is a good chance that it'll improve
: fast.
: 2) Indeed. I don't quite like the language features in C#. They are kind of
: hard to understand, at least for my brain. I think the individual class
: files contribute to inferior performance, especially when they are zipped (
: jar-red).
: 3) Yes, more libraries are available for Java.
: Java's downside as I see it:

avatar
F*n
7
I was using VC several years ago, and their code wizards were sweet. However
, it's very inconvenient to modify the code as everything is packed into
weird places. My feeling is that you should use VC if you are NOT develop a
Web App. For example, imagine the focus of your application is some complex
algorithms. You want to create a GUI for them and don't care about the fine
customization of the GUI. In this case VS will save you a lot of time.
However, if your focus is to build fine designed GU

【在 w******n 的大作中提到】
: Technically, I really don't like Visio Studio to make web page. Maybe it is
: good for standard coporate inside web site. Whenever, I'd like to do some
: unusal thing, it give me a lot of headache. Maybe there are some changes now
: . My experience was a couple of years ago.
:
: of

avatar
k*r
8
1) I just looked but wasn't able to find some good benchmarking data. It
would be interesting to find some numbers.
2) No, I was not :) But I guess I'll have to leave this to some C# experts
who are more familiar with the MS tools to elaborate. I don't use java or C#
for web but I don't think there is an Java IDE that's particularly good for
web development. On the other hand, my C# friends are pretty happy with
their tools.
3) It's true that not all windows servers are running .NET services at

【在 F****n 的大作中提到】
: None of your "Java downsides" are accurate.
: 1) Java's performance is poor only when compared with C or Fortune. C# is
: not faster than Java.
: 2) You must be kidding.
: 3) There are more Windows machines that's for sure, but more .net servers?
: Not so sure. Not all Windows servers run .Net framework. Many of them also
: run Java.
:
: Java's downside as I see it:
: 1) Performance is low (lower than .net)

avatar
i*k
9
这个比较没有太大意义。没有哪个CIO/CTO会根据语言选择IT软件产品。

【在 k***r 的大作中提到】
: 可以比较一下吗?
avatar
k*r
10
很多是先选平台,再选solution。大概是大部分。

【在 i****k 的大作中提到】
: 这个比较没有太大意义。没有哪个CIO/CTO会根据语言选择IT软件产品。
avatar
g*g
11
hehe, if you like WYSIWYG for web develop, you can choose wicket.
And dreamweaver beat any IDE M$ can provide.

C#
for
this
/.

【在 k***r 的大作中提到】
: 1) I just looked but wasn't able to find some good benchmarking data. It
: would be interesting to find some numbers.
: 2) No, I was not :) But I guess I'll have to leave this to some C# experts
: who are more familiar with the MS tools to elaborate. I don't use java or C#
: for web but I don't think there is an Java IDE that's particularly good for
: web development. On the other hand, my C# friends are pretty happy with
: their tools.
: 3) It's true that not all windows servers are running .NET services at

avatar
F*n
12
C#实际上也是即时编译,跟采用了JIT的Java在效率上不会有大的区别
(之所以说“大的区别”是因为JVM供应商很多,不同JVM之间存在差别)
C#唯一比JAVA明显快的地方是Windows上的GUI, 确实比Swing快很多
SERVER SIDE C#一点也不比JAVA快,我觉得这些现在基本上是共识了吧。

C#
for
this
/.

【在 k***r 的大作中提到】
: 1) I just looked but wasn't able to find some good benchmarking data. It
: would be interesting to find some numbers.
: 2) No, I was not :) But I guess I'll have to leave this to some C# experts
: who are more familiar with the MS tools to elaborate. I don't use java or C#
: for web but I don't think there is an Java IDE that's particularly good for
: web development. On the other hand, my C# friends are pretty happy with
: their tools.
: 3) It's true that not all windows servers are running .NET services at

avatar
w*n
13
Most CIOs are nuts. Actually, for large corporation, there are way too many
products used in their organization. They don't know what their fellow
engineers are doing.
========Part of Jonathan Schwartz's blog======================
A few weeks ago, I was visiting the Chief Information Officer of a large
commercial institution. He had with him the company's Chief Technology
Officer, Chief Information Security Officer (known as the "see-so"), and a
series of lieutenants from various parts of their

【在 i****k 的大作中提到】
: 这个比较没有太大意义。没有哪个CIO/CTO会根据语言选择IT软件产品。
avatar
N*n
14

and
Typical Sun propaganda. The reason people don't use MySql could simply
be it's not c2-certificated. That's a quick no-no for many enterprise
with a critical requirement, but you don't see that in Sun's report.

【在 w******n 的大作中提到】
: Most CIOs are nuts. Actually, for large corporation, there are way too many
: products used in their organization. They don't know what their fellow
: engineers are doing.
: ========Part of Jonathan Schwartz's blog======================
: A few weeks ago, I was visiting the Chief Information Officer of a large
: commercial institution. He had with him the company's Chief Technology
: Officer, Chief Information Security Officer (known as the "see-so"), and a
: series of lieutenants from various parts of their

avatar
i*k
15
Most securities traders are nuts too. Actually you could make the same
argument about just any profession.
The issue is, most of us work for those nuts. So it's important to know how
nuts think, however stupid they might be in your eyes.
And honestly, I think making a technology decision based on language is nuts
too.

many

【在 w******n 的大作中提到】
: Most CIOs are nuts. Actually, for large corporation, there are way too many
: products used in their organization. They don't know what their fellow
: engineers are doing.
: ========Part of Jonathan Schwartz's blog======================
: A few weeks ago, I was visiting the Chief Information Officer of a large
: commercial institution. He had with him the company's Chief Technology
: Officer, Chief Information Security Officer (known as the "see-so"), and a
: series of lieutenants from various parts of their

avatar
w*n
16
A database system could be applied to many different application, not only
those mission critical one. I guess the problem here is not about c2-
certificated. It seems to me that CIO or CTO here is talking about "no open
source" policy, something like that. Obviously, not every engineer there
agreed with them.

【在 N********n 的大作中提到】
:
: and
: Typical Sun propaganda. The reason people don't use MySql could simply
: be it's not c2-certificated. That's a quick no-no for many enterprise
: with a critical requirement, but you don't see that in Sun's report.

avatar
x*h
17
CORBA很好很强大,SOAP有人用吗
avatar
r*y
18
dreamweaver没有强的source folding
速度也不如vs快

【在 g*****g 的大作中提到】
: hehe, if you like WYSIWYG for web develop, you can choose wicket.
: And dreamweaver beat any IDE M$ can provide.
:
: C#
: for
: this
: /.

avatar
t*e
19

CORBA很早就过时了.应该算legacy solution了.

【在 x******h 的大作中提到】
: CORBA很好很强大,SOAP有人用吗
avatar
x*h
20
现在都用啥了啊?

【在 t*******e 的大作中提到】
:
: CORBA很早就过时了.应该算legacy solution了.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。