[MUD-Dev] Re: DevMUD: Inheritable modules

Chris Gray cg at ami-cg.GraySage.Edmonton.AB.CA
Mon Nov 2 21:24:31 New Zealand Daylight Time 1998


[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 at ami-cg.GraySage.Edmonton.AB.CA




More information about the MUD-Dev mailing list