The Croquet Project is a software project that was intended to promote the continued development of the Croquet open-source software development kit to create and deliver collaborative multi-user online applications. Croquet is implemented in Squeak Smalltalk. Croquet supports communication, collaboration, resource sharing, and synchronous computation among multiple users. Applications created with the Croquet software development kit can be used to support collaborative data visualization, virtual learning and problem solving environments, 3D wikis, online gaming environments (massively multiplayer online role-playing games (MMORPGs)), and privately maintained or interconnected multiuser virtual environments. Further development of the technology has also branched into the Open Cobalt and Open Croquet efforts. The most recent iteration of Croquet is a commercial product developed by Croquet Labs. This version of Croquet runs in a web browser and allows programs to be written in JavaScript or WebAssembly.
Technical functions
Croquet is a software development kit (SDK) for use in developing collaborative virtual world applications. Applications created using the Croquet SDK are automatically collaborative since application objects in Croquet share a common protocol allowing them to cooperate with each other by employing the principle of replicated computation (synchronization) together with a peer-based messaging protocol. The technology is designed to facilitate such replication between peers, to greatly reduce the overhead needed for widespread deployment of collaborative virtual worlds. This efficiency, combined with the ability to deploy Croquet-based virtual worlds on consumer-level hardware, makes it possible for developers to deploy large-scale and highly participatory collaborative worlds at very low cost compared with virtual world technologies that are entirely dependent on server-based infrastructures to support the activities of their users.
Architecture
Virtual machines Croquet's virtual machine (VM) runs bit identically on multiple platforms, and supports multiple abilities that could only be provided by a true late bound, message sending language. Croquet's relationship to Squeak gives Croquet the property of a purely object-oriented system allowing for significant flexibility in the design and the nature of the protocols and architectures that have been developed for the system. Because of this, Croquet has the ability to keep running while code is modified and tested, while changes are made, an essential part of the Croquet collaborative development ability. Users can change the code running the environment while the environment runs.
Synchronization architecture Croquet's time-based synchronization abilities enable real-time, identical interactions between groups of users while dramatically reducing the need for server infrastructures to support virtual world deployment. Croquet's architecture is designed to make it easy to develop deeply collaborative applications without having to spend a lot of effort and expertise in understanding how replicated applications work. TeaTime is a scalable real-time multi-user architecture that is the basis for Croquet's object-object communication and synchronization. It is designed to support multi-user applications that can be scaled to massive numbers of concurrently interacting users in a shared virtual space. The most directly visible part of this architecture is the TObject class which is used to define and construct subclassed Tea objects. All of the interesting objects inside of Croquet are constructed from subclasses of TObject. A Tea object acts with the property that messages sent to it are redirected to replicated copies of itself on other users' participating machines in a peer-to-peer network. This messaging protocol supports a coordinated distributed two-phase commit that is used to control the progression of computations at participating user sites. In this way messages may be dynamically redirected to large numbers of users while maintaining the appropriate deadline-based scheduling. Thus, TeaTime is designed to allow for a great deal of adaptability and resilience and works on a heterogeneous set of resources. It is a framework of abstraction that works over a range of implementations and that can be evolved and tuned over time, both within an application and across applications. Key elements of the TeaTime synchronization architecture include:
A coordinated universal timebase embedded in communication protocol Replicated, versioned objects that unify replicated computation and distribution of results Replication strategies that separate the mechanisms of replication from the behavioral semantics of objects Deadline-based scheduling extended with failure and nesting Coordinated, distributed two-phase commit that is used to control the progress of computations at multiple sites, to provide resilience, deterministic results, and adaptation to available resources Uses distributed sets
Immersive Terf The original authors of Croquet opened a commercial company named Qwaq which was later renamed to Teleplace. That technology was later sold back to a group of the original Croquet developers and became Immersive Terf.
… excerpt ends here. Continue reading the full article.





