VXCMD local and remote together
Robert Brenstein
rjb at rz.uni-potsdam.de
Thu Feb 19 15:32:54 CST 2004
>
>And you do this numerical analyze in xCards?
No, although I do have a project sitting on the shelf that does less
intensive stuff which is perfect for MC for other reasons.
>I think C++ is the only right choice Robert for such tasks.
Sorry. Fortran is still winner for such tasks, particularly for
parallelization, although C++ is making strides. More complex
projects often mix languages, taking advantage of the best each
offers.
>And again, in C++ we can extract method and mark it as inline.
>Then compiler will return it back. But I have in project SINGLE piece of
>code then.
Okay, so C++ has built-in tools for those things. That's nifty.
However, in the example we discussed, the reason for having the
if-else with two loops is that the loops are not the same, so things
are not as simple are having exact duplication. Of course, further
discussion would depend whether 2 lines of 50 or 15 lines of 20 are
different. But let's stop at this.
Robert
More information about the Valentina
mailing list