Liste des Groupes | Revenir à cl c |
On 01/06/2024 01:34, Lynn McGuire wrote:I use C++ because I like vectors (arrays) that you don't have to allocate or pass length parameters about with, I like strings which you can pass about (though to actually use the contents you need to covert to char *, otherwuse it is hopeless), and I like objects that you don't have to destroy explicitly, and can assign easily, and have good facilitiesfor private data.. Occasionally I need a hash table or a balanced binary tree, and again C++ makes it easy, though I have of course rolled my own.On 5/26/2024 6:23 AM, Bonita Montero wrote:I use C++ for real-time apps. You don't have to have dynamic memory allocation just because you are writing in C++ !Am 26.05.2024 um 09:13 schrieb jak:>
>About this I only agree partially because it depends a lot on the>
context in which it is used. Moreover, I would not know how to indicate
an optimal programming language for all seasons.
C++ is in almost any case the better C.
>What you describe is the greatest inconvenience of c++. To make only one>
example, when they decided to rewrite the FB platform to accelerate it,
they thought of migrating from php to c++ and they had a collapse of the
staff suitable for work, so they thought of relying a compiler that
translated the php into c++ and many of the new languages were born to
try to remedy hits complexity.
C++ is the wrong language for web applications.
I like Java more for that.
C++ is the wrong language for real time apps. No memory allocation allowed.
>
Les messages affichés proviennent d'usenet.