Coder Social home page Coder Social logo

heavenassem / interop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xrengine512/interop

0.0 1.0 0.0 252 KB

Cross - language, modular, event driven framework for application development

License: MIT License

CMake 3.20% C++ 92.71% C 0.40% JavaScript 1.14% Dockerfile 0.31% Shell 2.24%

interop's Introduction

interop

Cross - language, modular, event driven framework for application development

interop is a application architecture framework that aims to provide an easy interoperability on multiple levels:

  • Language level: ability to write different parts of system using different languages
  • Architecture level: ability to choose how to run different parts of system
  • Data level: ability to choose data format for serialization/deserialization (if used)

Planned languages to support:

  • C/C++
  • D
  • JavaScript
  • Python
  • (maybe) Haskell

Planned architecture options (Transports):

  • Direct (native to native only): modules are acting like plugins, running in same process and directly calling functions and trigger events with minimal overhead
  • Shared memory: modules run in separate processes and interact via shared memory
  • Sockets: interprocess communication via sockets
  • Websockets
  • HTTP

Planned data representation options:

  • JSON
  • msgpack
  • protobuf
  • flatbuffers

Application consists of one or more nodes. Node consists of one or more modules. Module consists of types, functions and events. Node corresponds to process. Modules of same application can interact with each other via different transports, described above

Modules of the same node interact using same API as if they were in different nodes. Modules of the same node interact with each other with minimum overhead, without bus. Modules can have (optional) dependencies on another modules.

Nodes of same application can run on different machines, with different OSs, with different CPU architectures.

Application node structure is how modules are organized into nodes and how nodes are then organized into application. Application node structure is determined at runtime (application start-up). Application node structure is described in JSON configs of nodes. Application node structure change does not imply any rebuild, only restart of application.

Very distant future

Online modules library. Automatic download of missing modules mentioned in config or required by another module at application start-up.

Maybe

Users can implement their own buses

interop's People

Contributors

xrengine512 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.