1
0
forked from ROMEO/nexosim

Small README fixes

This commit is contained in:
Serge Barral 2023-01-16 23:15:47 +01:00
parent 31520d461a
commit 0bcecbfdc2

View File

@ -49,7 +49,7 @@ The [API] documentation is relatively exhaustive and includes a practical
overview which should provide all necessary information to get started. overview which should provide all necessary information to get started.
More fleshed out examples can also be found in the dedicated More fleshed out examples can also be found in the dedicated
[directory](examples). [directory](asynchronix/examples).
[API]: https://docs.rs/asynchronix [API]: https://docs.rs/asynchronix
@ -136,11 +136,11 @@ assert_eq!(output_slot.take(), Some(14.0));
# Implementation notes # Implementation notes
Under the hood, Asynchronix is based on an asynchronous implementation of the Under the hood, Asynchronix is based on an asynchronous implementation of the
actor model, where each simulation model is an actor. The messages actually [actor model][actor_model], where each simulation model is an actor. The
exchanged between models are `async` closures which capture the event's or messages actually exchanged between models are `async` closures which capture
request's value and take the model as `&mut self` argument. The mailbox the event's or request's value and take the model as `&mut self` argument. The
associated to a model and to which closures are forwarded is the receiver of an mailbox associated to a model and to which closures are forwarded is the
async, bounded MPSC channel. receiver of an async, bounded MPSC channel.
Computations proceed at discrete times. When executed, models can request the Computations proceed at discrete times. When executed, models can request the
scheduler to send an event (or rather, a closure capturing such event) at a scheduler to send an event (or rather, a closure capturing such event) at a
@ -163,11 +163,13 @@ the typically message-passing-heavy workloads seen in discrete-event simulation
very fast custom MPSC channel, which performance has been demonstrated through very fast custom MPSC channel, which performance has been demonstrated through
[Tachyonix][tachyonix], a general-purpose offshoot of this channel. [Tachyonix][tachyonix], a general-purpose offshoot of this channel.
[actor_model]: https://en.wikipedia.org/wiki/Actor_model
[tokio]: https://github.com/tokio-rs/tokio [tokio]: https://github.com/tokio-rs/tokio
[tachyonix]: https://github.com/asynchronics/tachyonix [tachyonix]: https://github.com/asynchronics/tachyonix
[benchmark]: https://github.com/asynchronics/tachyonix/tree/main/bench [benchmark]: https://github.com/asynchronics/tachyobench
## License ## License