Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.c++,comp.lang.c Subject: Re: Threads across programming languages Date: Thu, 2 May 2024 23:24:26 -0000 (UTC) Organization: A noiseless patient Spider Lines: 20 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 03 May 2024 01:24:27 +0200 (CEST) Injection-Info: dont-email.me; posting-host="cfd0dd0a0e9abee8835016bed2d05754"; logging-data="142241"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vHUNEjwkDforK2bGTQUAX" User-Agent: Pan/0.155 (Kherson; fc5a80b8) Cancel-Lock: sha1:jR6lew4dAy+24fVkCj2Nzo13HGo= Bytes: 2168 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”.