Open milibopp opened 8 years ago
I think there should be some tooling overlap with #10
@aepsil0n I agree -- for handling graphics at least.
started with an outline in the readme
comments are welcome :-)
Sounds all good. I merely wonder, how much you can get done in a workshop like this. Haven't run anything like it before, so I find it hard to judge. But from teaching Rust to non-Rust developers it can be interesting to see, how little you get done in a new language in a few hours.
I share your concerns here!
For the moment I see it as an inspirational way of staging the problem of concurrency -- rather than aiming for getting it done from scratch in the workshop.
i think its worth considering either a high level of prefabrication or keep it as a conceptual and ostensive thought experiment. In the latter case it could lead to an extended "what you could try next" or "what the next workshop will teach you"
@aepsil0n , since you have reviewed much of the graphics libs for the game workshop #10 -- do you have any concerns using piston for the actual painting job in the mondrian tut? (I remember a conversation with @skade about one of the frameworks beeing slow/depricated, but I don't remember which one).
Well, i think we could build something much simpler with fewer dependencies. I wanted to tackle that at some point. nonetheless, until that is done, Piston seems to be reasonable. In any case, it would be good to aim for a very simple opaque 2D graphics facade.
For now I worked on some prerequisite concepts/examples .. one on multi-threadding os pending (not yet merged into the complilation)
https://github.com/broesamle/RustWorkshop/
Based on that I hope it will be only a few lines of code :-)
saw this and thought of you @broesamle
Some folks in the SF meetup also started to work through some things in https://github.com/rust-community/rustbridge/tree/master/workshops/beginners.
An intro section is now available in the README (still WIP). https://github.com/rust-community/rustbridge/tree/mondrianA/workshops/mondrian-pattern
I will soon decide on how much background info from the Minimal Instructives will have to be reworked, referenced, explained or just be provided (in a deus ex machina fasion) for the mondrian workshop itself.
so far, multipaint is not more than a proof of concept ... but there are multiple threads sending drawing 'jobs' to one server thread that actually paints them in a window. Yeah
the only thing that is missing is the 'mondrian' part ;-)
At this point a great THANK YOU to @aepsil0n for directing me to piston. (And, yes and it would be great to have something less dependency intense!)
Todos:
rand="0.3"
I somehow got the error: src/main.rs:7:1: 7:19 help: add #![feature(rand)] to the crate attributes to enable
now it works :-)
suggested by @broesamle in #2.