发信人: LodossWar (sleepycat), 信区: DotNet
标 题: Re: memory usage
发信站: Unknown Space - 未名空间 (Tue Oct 21 12:11:46 2003), 站内信件
hehe. I have to say. This is not that right.
1. It's hard to persuade clients using this words.
2. Java and C# is not that "efficient" as you said.
A real professional C++ programmer can achive almost
the same productivity as Java programmers. But this kind of
c++ programmer needs long time to train.
so , no free lunch.
If you use a "easy to learn" laguange as java and C#, you can
build a program in 3 weeks, then spend maybe more than 1 month
to do performance tuning.
If you use Java or C#, maybe you need 2 months to develop your program
and 1 week to do performance tuning.
The key points here are:
1. java and C# is popular because they are easy to use and powerful
enough to do general stuffs.
2. system level knowledge is necessary. For c++ programmer, you have
to know the details of memory mangement and .... For java and C#,
you have to know how VM runs and memory mangement. The only differnece
is your program may not that easy to crash in VM.
3. Performance sometimes is requirement. Finishing a functioning system
doesn't mean you developed a succesful product. In business world,
those words like "hardware will solve the problem" doesn't work. :)
【 在 magicfat (魔法胖子) 的大作中提到: 】
: 【 在 kongzi (鸡龟骨滚羹) 的大作中提到: 】
: : You can not ask all the clients to purchase a 2G Ram machine.What you can do
: : is to optimize your program to fit in the clients' request before your boss
: : yells at you.:)
: OK, think about it this way. Either you spend 3 months writing it in C and
: come out with 2.1M memory footprint, or you spend 3 weeks in .Net and end up
: a 21M footprint. In which case would you think your boss would more likely be
: yelling at you?
: Then, would your client rather pay you 100 bucks an hour for that extra 10
: of development time, on top of whatever implicit business loss due to the
: delay to
: the market, or would they rather just go get 2G memory for a fraction of all
: money? 8-)
※ 来源:．Unknown Space - 未名空间 mitbbs.com．[FROM: 151.201.]