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!news4.google.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!not-for-mail
From: "Rod Pemberton" <do_not_h...@nohavenot.cmm>
Newsgroups: alt.os.development,comp.lang.misc
Subject: Re: Ideas on RTTI support?
Date: Fri, 19 Jun 2009 02:50:23 -0400
Organization: Aioe.org NNTP Server
Lines: 25
Message-ID: <h1fc6u$vht$1@aioe.org>
References: <4a516244-9d26-4e26-b46a-9d5a0b0823fd@m19g2000yqk.googlegroups.com>
NNTP-Posting-Host: pldq+kT97bAAp/ObDwnZyQ.user.aioe.org
X-Complaints-To: abuse@aioe.org
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933
X-Notice: Filtered by postfilter v. 0.7.9
X-Newsreader: Microsoft Outlook Express 6.00.2800.1933
Cancel-Lock: sha1:E6/hkRWLc0unN3E8R2FFF21Pg1w=
X-Priority: 3
X-MSMail-Priority: Normal

"Scott Balmos" <sbal...@fastmail.fm> wrote in message
news:4a516244-9d26-4e26-b46a-9d5a0b0823fd@m19g2000yqk.googlegroups.com...
> [snip]
> Has anyone ever attempted writing C++ RTTI support in an OS, if not in
> a kernel?
>

No, I use C.  I'll listen to your idea though.  But, I'm not familiar with
RTTI.   Since I'm not, could you explain why or what you're wanting to do in
your OS?

I mean, from what I've been able to gather about RTTI, it's a C++ feature
that apparently allows you to perform a validity check on a type cast or
type conversion at runtime instead of at compile time.  What advantage does
doing this at runtime have?  What I'm trying to ask is, once your code is
compiled and passes the compile time checks for a specific cast or
conversion, why would it also need to do a runtime check?  I'm assuming this
has something to do with C++'s programming paradigm...  Overloading?


Rod Pemberton





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