Is OOP used much in scientific applications?
-
Could anyone tell me if OOP is used much in scientific applications please? I've gotten the impression from some sources that OOP is mainly used in large office and financial app's...
Lurker00 wrote:
mainly used in large office and financial app's...
Probably true, in that there are probably more of them written. Given the speed of PCs today, I see no need for you to use plain C for scientific code, which means there's no reason not to use OOP. Certainly, if you're using C#, you will use OOP, you have no choice.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
Lurker00 wrote:
mainly used in large office and financial app's...
Probably true, in that there are probably more of them written. Given the speed of PCs today, I see no need for you to use plain C for scientific code, which means there's no reason not to use OOP. Certainly, if you're using C#, you will use OOP, you have no choice.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
I agree with your points. I don't see why one couldn't use OOP in scientific programming.
-
Could anyone tell me if OOP is used much in scientific applications please? I've gotten the impression from some sources that OOP is mainly used in large office and financial app's...
I think it's a matter of whether or not OOP makes sense. For example, a scientific application dealing with specific representations of numbers (in a matrix, perhaps) and operating on those representations would do well to use OOP. I'd say that C is probably best in a compact (few KB in size), high-performance scientific library.
-
Could anyone tell me if OOP is used much in scientific applications please? I've gotten the impression from some sources that OOP is mainly used in large office and financial app's...
the answer i've always heard on this is that OO code is seen as non-deterministic by a lot of scientists. The scientific code i have seen written in OO languages tends to separate the entity objects from the control objects which largely gets round these problems The few scientific computer users i know are all Fortran users and i suspect that they are using libraries that have been developed and performance tuned over the course of many years, unlike banks, scientific institutions often have small budgets and loads of inertia.