Re: Teaching new tricks to an old dog (C++ -->Ada)
From: Dmitry A. Kazakov (mailbox_at_dmitry-kazakov.de)
Date: 03/05/05
- Next message: Peter Koch Larsen: "[OT] Re: Teaching new tricks to an old dog (C++ -->Ada)"
- Previous message: Ludovic Brenta: "Re: Teaching new tricks to an old dog (C++ -->Ada)"
- In reply to: Turamnvia Suouriviaskimatta: "Teaching new tricks to an old dog (C++ -->Ada)"
- Next in thread: Matthias Kaeppler: "Re: Teaching new tricks to an old dog (C++ -->Ada)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 5 Mar 2005 15:39:23 +0100
On Sun, 6 Mar 2005 00:42:05 +1100, Turamnvia Suouriviaskimatta wrote:
> I 'm following various posting in "comp.lang.ada, comp.lang.c++ ,
> comp.realtime, comp.software-eng" groups regarding selection of a
> programming language of C, C++ or Ada for safety critical real-time
> applications. The majority of expert/people recommend Ada for safety
> critical real-time applications. I've many years of experience in C/C++ (and
> Delphi) but no Ada knowledge.
>
> May I ask if it is too difficult to move from C/C++ to Ada?
I don't think it is difficult. I learned C after Ada [83], that was
difficult! If you know C++ you will find the concepts of classes and
templates in Ada again, however, built on a different fundament. From
Delphi you'll find a close, but much improved syntax, packages instead of
units. OO/ADT in Ada is closer to C++ than to that stump in Delphi. If you
programmed multi-threaded applications in C++, you will enjoy Ada's tasks
and protected objects.
> What is the best way of learning Ada for a C/C++ programmer?
As with any language, the best way is to buy a pile of books, but not
before starting a project. Do not concentrate on implementation details,
avoid micro optimization (common to C programmers), enjoy "renames" instead
of T& or Delphi's "with", never use pointers and remember, array index
starts where you want it do! (:-))
-- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de
- Next message: Peter Koch Larsen: "[OT] Re: Teaching new tricks to an old dog (C++ -->Ada)"
- Previous message: Ludovic Brenta: "Re: Teaching new tricks to an old dog (C++ -->Ada)"
- In reply to: Turamnvia Suouriviaskimatta: "Teaching new tricks to an old dog (C++ -->Ada)"
- Next in thread: Matthias Kaeppler: "Re: Teaching new tricks to an old dog (C++ -->Ada)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|