acmcarther / space_coop

Wanna-be game engine for use in a SS13 clone
2 stars 0 forks source link

Investigate RPC-style abstraction for systems #107

Open acmcarther opened 8 years ago

acmcarther commented 8 years ago

Instead of embedding an "ordained" scripting language, instead provide an RPC style interface that external executables can "subscribe" to. It will require:

Suggesting:

Please provide benchmarks for a no-op system in a language of choice and an example system of similar scope to the average system.

acmcarther commented 8 years ago

Work update on this before I forget for all of time.

I did some experimentation with capnproto and found the existing library made accessing and working with data too difficult. It adds a huge amount of boilerplate to all operations involving protos. In our case, that means almost all operations.

I haven't yet discounted capnproto, but I'm going to do more investigation with normal protobufs and the rust grpc implementation