Deutsch English Français Italiano |
<v117ba$4at1$4@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> 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: <v117ba$4at1$4@dont-email.me> References: <GIL-20240429161553@ram.dialup.fu-berlin.de> <v0ogum$1rc5n$1@dont-email.me> <v0ovvl$1ur12$4@dont-email.me> <v0p06i$1uq6q$5@dont-email.me> <v0shti$2vrco$2@raubtier-asyl.eternal-september.org> <v0spsh$31ds4$3@dont-email.me> <v0stic$325kv$3@raubtier-asyl.eternal-september.org> <v0svtn$32o8h$1@dont-email.me> <v0t091$32qj6$1@raubtier-asyl.eternal-september.org> <v0u90h$3c1r5$4@dont-email.me> <v0v28q$3ku1r$1@raubtier-asyl.eternal-september.org> <v105sc$3skqi$1@dont-email.me> <v10adm$3to7r$1@raubtier-asyl.eternal-september.org> 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”.