Sujet : Re: Threads across programming languages
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.c++ comp.lang.cDate : 03. May 2024, 00:24:26
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v117ba$4at1$4@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : Pan/0.155 (Kherson; fc5a80b8)
On Thu, 2 May 2024 17:10:47 +0200, Bonita Montero wrote:
Am 02.05.2024 um 15:53 schrieb David Brown:
You also claimed that classes are first-class objects in C++.
I never said that ...
No, you just ignored the point.
... and having sth. like class Class in Java is beyond
C++'s performance constraints.
Java’s ”Class” object is a pretty pitiful, awkward and crippled attempt at
run-time manipulation of classes. Still falls far short of Python’s full
treatment of classes as first-class objects.
That also extends to the fact that Python classes, being objects, must be
instances of classes themselves. The class that a class is an instance of
is called its “metaclass”.