World Library  
Flag as Inappropriate
Email this Article


Paradigm multi-paradigm: parallel, Prototype-based
Typing discipline strong, dynamic
Major implementations
Influenced by
Modula-3, Self, Oberon

Obliq is an interpreted, object-oriented programming language designed to make distributed, and locally multi-threaded, computation simple and easy for the programmer, while providing program safety and implicit type system. The interpreter is written in Modula-3, and provides Obliq with full access to Modula-3's network objects capabilities. A type inference algorithm for record concatenation, subtyping and recursive types has been developed for Obliq, more important 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 be thrown) 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), as well as special control forms for concurrency (mutexes and guarded statements). Besides that Obliq's objects are able to be cloned and safely copied remotely by any machine in a distributed network object and it can be done in a transparent way.[4]

Obliq's large standard library provides strong support for mathematical operations, I/O, persistence, thread control, graphics, and animation. Distributed computation is object-based: objects hold a state, which is local to a particular 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 computation over Ethernet LAN as. Obliq is included free with the DEC Modula-3 distribution, but other free versions exist elsewhere including pre-compiled binaries for several operating systems.

Projects using Obliq


  1. ^
  2. ^ Henglein, Fritz (1999). "Breaking through the n3 barrier: Faster object type inference". Theory and Practice of Object Systems 5 (1): 57–72. 
  3. ^ Palsberg, Jens; Tian Zhao (2002). "Efficient Type Inference for Record Concatenation and Subtyping". Logic in Computer Science, Symposium on. Los Alamitos, CA, USA: IEEE Computer Society. p. 125.  
  4. ^ Briais, Sebastien; Uwe Nestmann (2002). "Mobile Objects "must" Move Safely". IN FMOODS’02: 129–146. Retrieved 2010-05-15. 
  5. ^ Collaborative Active Textbooks: A Web-Based Algorithm Animation System for an Electronic Classroom Marc H. Brown and Marc A. Najork. DEC Systems Research Center (SRC) Research Report 142 (May 1996)
  6. ^ a b Brown, Marc H.; Marc A. Najork (1997). "Distributed applets". CHI '97 extended abstracts on Human factors in computing systems: looking to the future. Atlanta, Georgia: ACM. pp. 204–205.  
  7. ^ Zeus: A System for Algorithm Animation and Multi-view Editing Marc H. Brown. DEC Systems Research Center (SRC) Research Report 075 (February 1992)
  8. ^

External links

This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.