rsimmonsjr / axiom

Implementation of a highly-scalable and ergonomic actor model for Rust
Other
184 stars 21 forks source link

Refactor project layout #106

Closed khionu closed 4 years ago

khionu commented 5 years ago

Right now, the project uses a lot of individual files rather than module folders. This promotes bloated files. I would propose an arbitrary file-splitting size of 1000 lines or 8 top-level blocks.

WIP Plan

/actor/mod.rs - Actor, ActorBuilder /actor/aid.rs - Aid /scheduling/mod.rs - AxiomReactor, AxiomExecutor /system/mod.rs - ActorSystem, ActorSystemConfig /system/wire.rs - Everything related to wiring two systems together /system/actors/ - System-required and/or internal actors. /clusters/ - Cluster implementations named by protocol /message.rs - This can stay as is because growth potential is negligible

Note that singular names are defaulted to unless used for a scope that is a collection of implementations.

khionu commented 4 years ago

Dropping this push in favour of as-needed refactors.