🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1994

Re: C and its peasant 'ancestors'

#1994
From: Dan Cross
Date: Mon, 30 Nov 2026 04:04
16 lines
1447 bytes
In article <11eiqbe$332f$1@raubtier-asyl.eternal-september.org>,
Bonita Montero  <Bonita.Montero@gmail.com> wrote:
>Am 29.11.2026 um 23:45 schrieb Dan Cross:
>
>> It's actually not even that hard.  Most class instances have a
>> single pointer to a vtbl; you can "monkey patch" C++ just by
>> replacing that with a pointer to a different table that points
>> to a different thunk.
>
>It is hard since a different class has a different object layout
>with different state.

Hence thunks.

	- Dan C.
Technical Details
Message-ID: <11eisjs$f7p$1@reader2.panix.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
References: <11dup6q$v4j9$1@dont-email.me> <11ehuri$3ps8n$1@raubtier-asyl.eternal-september.org> <11ei9tp$sps$1@reader2.panix.com> <11eiqbe$332f$1@raubtier-asyl.eternal-september.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cross@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.lang.c
Subject: Re: C and its peasant 'ancestors'
Date: Mon, 30 Nov 2026 04:04:12 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <11eisjs$f7p$1@reader2.panix.com>
References: <11dup6q$v4j9$1@dont-email.me> <11ehuri$3ps8n$1@raubtier-asyl.eternal-september.org> <11ei9tp$sps$1@reader2.panix.com> <11eiqbe$332f$1@raubtier-asyl.eternal-september.org>
Injection-Date: Mon, 30 Nov 2026 04:04:12 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
	logging-data="15609"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)