Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Ideas on RTTI support?

View Parsed - Show only message text

Path: g2news2.google.com!postnews.google.com!m19g2000yqk.googlegroups.com!not-for-mail
From: Scott Balmos <sbal...@fastmail.fm>
Newsgroups: alt.os.development
Subject: Ideas on RTTI support?
Date: Sun, 14 Jun 2009 07:05:55 -0700 (PDT)
Organization: http://groups.google.com
Lines: 10
Message-ID: <4a516244-9d26-4e26-b46a-9d5a0b0823fd@m19g2000yqk.googlegroups.com>
NNTP-Posting-Host: 72.49.194.203
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1244988356 5829 127.0.0.1 (14 Jun 2009 14:05:56 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 14 Jun 2009 14:05:56 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: m19g2000yqk.googlegroups.com; posting-host=72.49.194.203; 
	posting-account=_elHXgoAAADCajSAZYtegbptDlmh3Mp2
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; 
	Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 
	3.0.30729),gzip(gfe),gzip(gfe)

Another daft and possibly flameworthy question... :)

Has anyone ever attempted writing C++ RTTI support in an OS, if not in
a kernel? I imagine it involves the creation of an "object header" of
sorts in memory, in the implementation of the "new" operator's malloc
routine. Sort of like the object headers in the runtimes for both Java
and CLR.

Does anyone have any resources to read up on how to achieve this, or
ideas on how to implement typeid & dynamic_cast? Thanks!

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google