Encyclopedia > Dynamic programming language

  Article Content

Dynamic programming language

In computer science, dynamic programming language is a kind of programming language in which computer programs change their structure as they run: new functions may be introduced, functions may vanish, new classes of objects may be created, new modules may appear. The details differ between languages, but in general, it is extremely difficult to compile a dynamic language down to a binary, and it is extremely difficult, perhaps impossible, to enforce design contract[?] on a dynamic language. The code would have to understand itselfin order to be able to decide whether or not a class that doesn't exist yet will meet meet the requirements of an abstract class of which it purports to belong. For methods to come and go from existence, a virtual machine is handling then run-time lookup of methods, the binary code is heavily self-modifying, or some sort of method dispatch logic is invoked.

Scheme, Lisp, Dylan, Python, Perl and many other languages fit this category. C, C++, Java, and FORTRAN do not, as languages, though it is always possible to build layers on top of a language.

The article is originally from Perl Design Patterns Book



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Wheatley Heights, New York

... 15.9% are non-families. 13.0% of all households are made up of individuals and 5.2% have someone living alone who is 65 years of age or older. The average household size ...

 
 
 
This page was created in 35.9 ms