RE: CP vs C++

From: [at]} <DrBautsch{>
Date: Fri, 30 Jan 2004 06:27:33 -0500

----boundary-LibPST-iamunique-245738928_-_-
Content-type: text/plain

Dear Bart !

Regarding the propagation of Java and the amount of literature about Java CP really is like a pansy in a field of sunflowers.

What are the reasons ?


I think software development is rather complex and complicated. It is not by accident, that so many physicists are involved in that matter.


Why shouldn't you use somthing like Java or C#, which is wide spread and produces compatible code on many platforms ?

Surely it is very easy to produce a rather small (web-)application via a JDE. Even my students at the university of applied sciences in the first semesters can do this.

By the way: They surely could do that a lot easier in CP, but this is not wanted politically: The students shall not learn how to programm, but they shall be prepared for their careers in the industry and there Java is demanded.

But in fact this is not, what software purchasers often want. They often have complex problems and want fast solutions (fast available and fast performing). This task is hopeless to solve with Java, and probably even with C#, because these are much too bulky, slow and complex themselfes. On the other hand there is Smalltalk, which is very elegant but has a rather poor performance, if you have to process much data.

If you have to process much data as e.g. in big databases, you are beyond a limit which can be acceptable for a user of the software.


Why shouldn't you use somthing like C, which produces fast code ?

If you have staff and time enough you could do that, but it is more or less clear, that there will be many avoidable faults in your software, although the programmers do their best during days within the code debugges to find them. There are plenty of stories: blocked signal towers, blue screens, failed launches ...


Why shouldn't you use something like C++, which is called an object oriented programming language ?

None really believes, that C++ has something do to with OOP (e.g. missing garbage collector, missing run time environment). The development of C++ was a "fast shot". There are severe deficiencies in the architecture of the language, which - if possible at all - must be compensated by long compilation times, huge compilers and much inelegant extra code within the software product. Many lacks of C are remedied but not all, and many others were build in. That's it, nothing more, nothing less.

In principle this is the same issue with all these Visual tools or Delphi.


What else can you do ?

FORTRAN ! I only remember a student of mine, who tried to adapt a rather large FORTRAN code to a special application case. He sat a whole day to find an error consisting of a mixing-up of the two characters "O" and "0" in the keyword "FLOAT". No more comments on that !

You could use other "oldfashioned" solutions like Modula-2 or Ada. Surely very nice for even large projects with the demand of hige performance (scientific calculations or rocket assisted take offs).

In the eighties we compared optimized Modula-2 and C solutions for Monte-Carlo-Calculations. Result: No difference in (high)performance, but in Modula-2 the code was programmed in a fraction of the time which was necessary for C.

Compared to modern languages like Oberon, Component Pascal or Java the above mentioned languages suffer from powerful modern concepts like the reuse of complex data structures (OOP).


So my advices:

If you need for yourself a very fast, high performing and elegant solution for a complex programming problem, use Oberon.

If you want to sell the software, use CP, because the handling is more intuitive (intuitive is that what you know in short).

If you need to produce a solution of a rather easily understandable problem for the web and compatible to many platforms, use Java.

If you want to have short development cycles with complex problems, but without need for speed performance, use Smalltalk.

In all other cases I cannot give an advice, but maybe someone of you knows any. Let us know ! And also let know the mangagers of "Toll Collect" (see http://www.toll-collect.de/frontend/LanguageRH.do;jsessionid&E9A131DA39C61139BF30CED3BE1DA0?language), which was the last incredible and great disaster in Germany concerning software development.


Best regards from Berlin

Dr. Markus Bautsch
--------------------------------------------

To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xy

To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.

Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xy

Current posting policy:

a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.

b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.



----boundary-LibPST-iamunique-245738928_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxnc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cGFtLiBQ
bGVhc2UgdW5kZXJzdGFuZCB0aGF0IG1vZGVyYXRpb24gd2lsbCBvZnRlbiBjYXVzZSBzb21lIGRl
bGF5LCBpbiBwYXJ0aWN1bGFyIG92ZXIgd2Vla2VuZHMgb3IgaG9seWRheXN9fQBoIGNvbXBsZXgg
cA=


----boundary-LibPST-iamunique-245738928_-_---
Received on Fri Jan 30 2004 - 12:27:33 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:28:57 UTC