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
Shinnecock Hills, New York

... there are 1,749 people, 502 households, and 313 families residing in the town. The population density is 326.2/km² (842.9/mi²). There are 928 housing units at ...

This page was created in 40.3 ms