请输入您要查询的百科知识:

 

词条 Obliq
释义

  1. Projects using Obliq

  2. References

  3. External links

{{Refimprove|date=March 2009}}{{Infobox programming language
|name = Obliq
|logo =
|paradigm = multi-paradigm: parallel, Prototype-based
|year =
|designer =
|developer =
|latest release version =
|latest release date =
|typing = strong, dynamic
|implementations = Obliq
|dialects =
|influenced_by = Modula-3, Self, Oberon
|influenced =
}}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 {{math|Ο(n3)}} or if under other modeling up to certain conditions down to {{math|Ο(n2)}} [2] and its best known implementation runs in {{math|Ο(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

  • The Collaborative Active Textbooks (CAT) [5] developed using Obliq applets[6] and the Zeus[6] algorithm animation System (written in Modula-3).
  • Obliq applets (Oblets) [7] 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. ^{{Cite journal| volume = 5| issue = 1| pages = 57–72| last = Henglein| first = Fritz| title = Breaking through the n3 barrier: Faster object type inference| journal = Theory and Practice of Object Systems| year = 1999}}
3. ^{{Cite conference| publisher = IEEE Computer Society| doi = 10.1109/LICS.2002.1029822| volume =| pages = 125| last = Palsberg| first = Jens|author2=Tian Zhao| title = Efficient Type Inference for Record Concatenation and Subtyping| booktitle = Logic in Computer Science, Symposium on| location = Los Alamitos, CA, USA| year = 2002}}
4. ^{{Cite journal| pages = 129–146| last = Briais| first = Sebastien|author2=Uwe Nestmann| title = Mobile Objects "must" Move Safely| journal = IN FMOODS’02| accessdate = 2010-05-15| year = 2002| url = http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.23.4787}}
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. ^Zeus: A System for Algorithm Animation and Multi-view Editing Marc H. Brown. DEC Systems Research Center (SRC) Research Report 075 (February 1992)
7. ^{{Cite conference| publisher = ACM| doi = 10.1145/1120212.1120344| isbn = 0-89791-926-2| pages = 204–205| last = Brown| first = Marc H.|author2=Marc A. Najork| title = Distributed applets| booktitle = CHI '97 extended abstracts on Human factors in computing systems: looking to the future| location = Atlanta, Georgia| accessdate = 2010-05-15| year = 1997| url = http://portal.acm.org/citation.cfm?id=1120344&dl=GUIDE&coll=GUIDE&CFID=90381905&CFTOKEN=58876735}}
8. ^http://www.ibiblio.org/openvideo/video/chi/chi97_02_m1.mpg

External links

  • {{dmoz|Computers/Programming/Languages/Obliq}}

2 : Oberon programming language family|Prototype-based programming languages

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/10 13:51:50