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,473 of 2,753   
   George Neuner to lerno@dragonascendant.com   
   Re: Best multimethods/multiple dispatch    
   05 Oct 08 00:33:09   
   
   From: gneuner2@comcast.net   
      
   On Sat, 4 Oct 2008 01:16:07 -0700 (PDT), Christoffer Lernv   
    wrote:   
      
   >I'd like to implement the core runtime in LLVM, C or C++ ...   
      
   >Right now I am a bit stuck, because it looks like the serious drawback   
   >to the tree-approach [to generic function dispatch] is that it effectively   
   >prevents any modification to function dispatch during runtime. You would   
   >not be able to add or remove functions for example.   
      
   Not without regenerating the code tree.  LLVM supports JIT compilation   
   on the major supported architectures (though not on all of them IIRC).   
   And of course you can use the reflection APIs if you target JVM or   
   CLR.  There are also embeddable C (though currently not C++) compilers   
   like libtcc and also embeddable assemblers.   
      
   George   
      
   --- 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