Obliq

Obliq is an interpreted, object-oriented programming language designed to make distributed, and locally multithreaded, computing simpler and easier to program, while providing program safety and an implicit type system. The interpreter is written in Modula-3, and provides Obliq with full access to Modula-3's network objects abilities. A type inference algorithm for record concatenation, subtyping, and recursive types has been developed for Obliq. Further, it has been proved to be NP-complete[1] and its lowest complexity to be Ο(n3) or if under other modeling up to certain conditions down to Ο(n2)[2] and its best known implementation runs in Ο(n5).[3] Obliq's syntax is very similar to Modula-3, the biggest difference being that Obliq has no need of explicit typed variables (i.e., a variable can hold any data type allowed by the type checker and if does not accepts one, i.e., a given expression execution error will display) although explicit type declarations are allowed and ignored by the interpreter. The basic data types in the language include booleans, integers, reals, characters, strings, and arrays. Obliq supports the usual set of sequential control structures (conditional, iteration, and exception handling forms), and special control forms for concurrency (mutexes and guarded statements). Further, Obliq's objects can be cloned and safely copied remotely by any machine in a distributed network object and it can be done safely and transparently.[4]

Obliq
ParadigmsMulti-paradigm: imperative, structured, modular, object-oriented, prototype-based, parallel
FamilyWirth Oberon
Designed byKrishna Bharat
Marc H. Brown
Luca Cardelli
First appeared1993 (1993)
Typing disciplineStrong, dynamic
ScopeLexical pure
Implementation languageModula-3
PlatformIA-32
Websitewww.cc.gatech.edu/gvu/people/Phd/Krishna/VO/VOHome.html
Major implementations
Obliq, Visual Obliq
Influenced by
Modula-3, Self, Oberon

Obliq's large standard library provides strong support for mathematical operations, input/output (I/O), persistence, thread control, graphics, and animation. Distributed computing is object-based: objects hold a state, which is local to one process. Scope of objects and other variables is purely lexical. Objects can call methods of other objects, even if those objects are on another machine on the network. Obliq objects are simply collections of named fields (similar to slots in Self and Smalltalk), and support inheritance by delegation (like Self).

The common uses of Obliq involve programming over networks, 3D animation, and distributed computing, as occurs over a local area network (LAN) such as Ethernet. Obliq is included free with the Digital Equipment Corporation (DEC) Modula-3 distribution, but other free versions exist elsewhere including precompiled binaries for several operating systems.

Projects using Obliq

  • The Collaborative Active Textbooks (CAT)[5] developed using Obliq applets[6] and the Zeus[7] algorithm animation System (written in Modula-3).
  • Obliq applets (Oblets)[6] special web browser (written in Modula-3) Obliq web page embedded applications.[8]

References

  1. http://www.cs.ucla.edu/~palsberg/paper/ic04.pdf
  2. Henglein, Fritz (1999). "Breaking through the n3 barrier: Faster object type inference". Theory and Practice of Object Systems. 5 (1): 57–72. doi:10.1002/(SICI)1096-9942(199901/03)5:1<57::AID-TAPO5>3.0.CO;2-U.
  3. Palsberg, Jens; Zhao, Tian (2002). "Efficient Type Inference for Record Concatenation and Subtyping". Logic in Computer Science, Symposium on. Los Alamitos, California, USA: IEEE Computer Society. p. 125. doi:10.1109/LICS.2002.1029822.
  4. Briais, Sebastien; Nestmann, Uwe (2002). "Mobile Objects "must" Move Safely". FMOODS '02. pp. 129–146. CiteSeerX 10.1.1.23.4787.
  5. Brown, Marc H.; Najork, Marc A. (May 1996). "Collaborative Active Textbooks: A Web-Based Algorithm Animation System for an Electronic Classroom; Research Report 142". DEC Systems Research Center (SRC). Digital Equipment Corporation (DEC).
  6. Brown, Marc H.; Najork, Marc A. (1997). "Distributed applets". CHI '97 extended abstracts on Human factors in computing systems: looking to the future. Atlanta, Georgia: ACM. pp. 204–205. doi:10.1145/1120212.1120344. ISBN 0-89791-926-2. Retrieved 2010-05-15.
  7. Zeus: A System for Algorithm Animation and Multi-view Editing Marc H. Brown. Digital Equipment Corporation (DEC) Systems Research Center (SRC) Research Report 075 (February 1992)
  8. http://www.ibiblio.org/openvideo/video/chi/chi97_02_m1.mpg
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.