ndebuhr / sim Goto Github PK
View Code? Open in Web Editor NEWSim provides a discrete event simulation engine, to facilitate Rust- and npm-based simulation products and projects
Home Page: https://simrs.com
License: Apache License 2.0
Sim provides a discrete event simulation engine, to facilitate Rust- and npm-based simulation products and projects
Home Page: https://simrs.com
License: Apache License 2.0
Adding some pub use
lines in models/mod.rs
could make things a little nicer for importing. There are probably other places.
models::exclusive_gateway::ExclusiveGateway
could become models::ExclusiveGateway
and models::model::Model
could become models::Model
.
For a user using Sim as a Rust library, serialization might be unnecessary and pulling in serde
, serde_json
and serde_yaml
might not make sense. It would probably make sense to put all serialization/deserialization stuff behind a serde
feature.
This would speed up the CI a bit. Mostly what's needed is to just cache the /target
directory and potentially $CARGO_HOME
.
As an added perk, if we integrate criterion, this should let us see performance diffs in CI (criterion saves statistics from its last run under /target
).
https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
I think it would make sense to add some benchmarks to detect performance regressions as we iterate on sim.
criterion is the tool usually recommended for this. Last I checked, it looked rather solid.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.