TheFramework: Difference between revisions

From Hegemon Wiki
Jump to navigation Jump to search
Line 8: Line 8:
=RPC=
=RPC=
==Message Format==
==Message Format==
Capnproto is a bit of a pain to integrate into Rust.
* Capnproto is a bit of a pain to integrate into Rust.
Maybe just use Rust structs? Can define them separately later...
* Maybe just use Rust structs? Can redefine them separately later...
* Could use codegen... Can go from Rust structs to external format.


==ASync==
==ASync==

Revision as of 00:31, 28 December 2016

Outline

  • Multi-user realtime 3d graphics editor.
  • Microservice inspired architecture. But use IPC/shared memory when possible.
  • Need a local daemon as a gateway/introducer for the services.
  • Hash all the things.

RPC

Message Format

  • Capnproto is a bit of a pain to integrate into Rust.
  • Maybe just use Rust structs? Can redefine them separately later...
  • Could use codegen... Can go from Rust structs to external format.

ASync

Look into using tokio for async.

Daemonization

2 libraries. One doesn't do Windows but seems better?

IPC

Servo has an ipc-channel crate. Doesn't do Windows yet.