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,848 of 2,753   
   David Belier to All   
   How to implement dynamic typing?   
   02 Apr 10 16:38:05   
   
   From: davidbleier@hotmail.com   
      
   Recently I finished chapter 7 of the dragon book (2nd edition) but I   
   still don't understand how to implement dynamic typing. I don't get   
   how you are supposed to store the type information with each variable   
   and check it every time using an acceptable amount of resources and   
   time. Can someone please name papers or websites to read?   
      
   Note: I have a strong C++ background and know x86 assembler. I can   
   imagine a way to implement it doubling memory requirements and making   
   the program dead slow in the process so there must be better ways. In   
   the past I have also used Java and Python for small programs (CS   
   course and writing file converters). They seemed to show reasonable   
   performance.   
      
   --- 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