马上注册,结识高手,享用更多资源,轻松玩转三维网社区。
您需要 登录 才可以下载或查看,没有帐号?注册
x
一般都认为这种商业程序是用C或C++写的,错了,它是用smalltalk来写的, 这种语言比前述更加适合这种交互式的程序. 下面是我搜索到的. Romax Tech and Small talk Romax Technology develops engineering modeling and simulation software. Their software models real world objects interacting with each other. It was therefore a good idea to write this software using an OO language. At first, like everybody else, Romax started development using C++. They quickly found the environment to be unproductive, bug prone and very difficult to use. This started them looking for alternatives. They evaluated several languages including Java, Delphi etc. but none of them were anywhere near as productive as Smalltalk. Java was too immature, Delphi suffered from many of the same problems as C++ with it being a compiled language.
) E2 A7 S* U: k5 q
: ^. @% g( M) \0 o& S8 T; `6 y% EThey quickly came to conclusion that they needed an interpreted (or semi-interpreted) language and Smalltalk was the only mature language that fit the bill (Visual Basic was not a proper OO language). They needed to be able to write software using a meta-data approach which Smalltalk is fantastic at. They could have used standard OO techniques and write objects for each engineering item they were modeling such as a 'Shaft' class for gear shafts etc. That would make it difficult to branch into other areas such as, say, valves or pistons etc. By using a meta-data approach and symbolic style coding they can now model almost any physical world object simply and easily. They can develop new objects in no time, link them up to any other objects in a variety of ways and automatically generate classes and methods from simple extensions to the Smalltalk environment. This allows developers to fill in forms to create whole new engineering specific entities.
1 O8 \: h& }% m% N1 \/ v S
. c/ b# w( I; M( I4 B1 bSpeed has been a bit of a problem from time to time, so they use DLLs written in compiled languages for some speed critical code. The product is about 98% Smalltalk and 2% compiled languages.
0 H; [5 a4 A( l4 D, K
' p6 L! I( m o% \/ GBasically, they claim that theycould not have written this software using anything other than Smalltalk. It would be a nightmare direct from the mind of Satan trying to use any other environment for software development. No language has such a rich set of features and is so extensible and powerful. They have used Digitalk/Team V in the past but are now developing new software and versions in VAST 4.5.5 h0 x" ?( X' ^" f7 O! O
4 {* \* T( s3 e2 E x, u
The person who submitted this summary was originally a long time veteran of C, C++. He claims that after just a short time his new language of choice is now SMALLTALK. He said "I've worked on several projects in my career. I can see that all but one of would have been better in Smalltalk" (and the exception was a standard shrink-wrapped PC consumer application in competition with the likes of Corel Draw). |