home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,336 of 2,753   
   lucretia9@lycos.co.uk to All   
   Re: Optimization for OOP   
   05 May 08 18:51:58   
   
   On 5 May, 17:37, "Dmitry A. Kazakov"    
   wrote:   
      
   > I think a consistent types system would be a better way. In Ada it   
   > is always known if a call is dispatching or not. That is because of   
   > proper typing. When an object is of a specific type, its methods   
   > never dispatch, for that obvious reason, that the type is known to   
   > be specific.   
      
   From what I've read about it, in Ada you can actually statically or   
   dynamically dispatch depending on *how* you call the subprogram. I've   
   not tried this BTW, but would love to see an example :D   
      
   Luke.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca