[Home] [Groups] - Message: [Prev in Group] [Next in Group]
8849: [MUD-Dev] Re: DevMUD: Inheritable modules
[Full Header] [Plain Text]
From: Chris Gray <cg@ami-cg.GraySage.Edmonton.AB.CA>
Newsgroups: nu.kanga.list.mud-dev
Date: Mon, 2 Nov 1998 21:24:31 -0700
Organization: Kanga.Nu
[James Wilson:]
>I can only speak for Perl; it can do virtual functions just fine. I'd be a
>little shocked if Java couldn't do it, but go ahead, shock me.
Java has virtual functions (nothing else, in some ways!). I don't doubt
that Perl 5 does too. That wasn't the question. The question was whether
those systems are implementation compatible with the virtual function
scheme of some specific C++ compiler. That, I *know* is not true, at
least as far as Java is concerned. Java's setup is defined by the
Java Virtual Machine specification, and is specific to Java - it is
not defined to be compatible with anything. Java can call out to
native functions, but I imagine that is using the usual C calling
conventions.
--
Don't design inefficiency in - it'll happen in the implementation. - me
Chris Gray cg@ami-cg.GraySage.Edmonton.AB.CA