Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider architecture that works well with Rust? #17

Open
tomassedovic opened this issue Sep 7, 2016 · 2 comments
Open

Consider architecture that works well with Rust? #17

tomassedovic opened this issue Sep 7, 2016 · 2 comments

Comments

@tomassedovic
Copy link
Owner

This is very vague but basically: the tutorial tries to follow the Python one reasonably closely and only differs where it's necessary. The original tutorial works well with Python but Rust is a very different language.

Would be nice to try to think of how would the same game be implemented in Rust proper. Maybe there are better ways of structuring the data and code. How would a Rustacean write this?

@dobrite
Copy link

dobrite commented Mar 26, 2017

Using an ECS (specs, etc.) could be an avenue worth investigating.

@tomassedovic
Copy link
Owner Author

Hey @dobrite, thanks for the suggestion and sorry for the very late reply.

I'd like the tutorial to be mostly standalone (other than what's absolutely necessary, i.e. tcod, rand and serde).

It would be excellent to have a bonus chapter showing how to use an ECS though. And since I don't have any experience with the Rust's ECSes yet, it's quite possible that the gain would be so huge we'll just want move it to the main tutorial -- I just can't tell now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants