rust-community / rustbridge

[DEPRECATED] Workshop material to teach Rust in the style of Railsbridge
https://github.com/rustbridge/team
Other
165 stars 28 forks source link

Realtime feedback in rust-playpen #70

Open broesamle opened 7 years ago

broesamle commented 7 years ago

Hi folks, basic issues (https://github.com/broesamle/rust-playpen/issues/1) combined with lack of network/hyper experience prevent me from making progress here:

Implement a realtime feedback mechanism in playpen. Example code could stream console output to the client side which would then visualise the program behaviour over time.

Simplest application case: show console output in real time

Advanced application case: Pick the output and transform it into some visualisation. Pipelined turtle graphics for example. This would make us independent of piston, but requre a quick network connection, of course. (Personally, I was inspired by the idea to reduce the graphics dependencies in the mondrian pattern generator.)

Contributions or some support on hyper API details questions are welcome!

skade commented 7 years ago

Would that look like something swift playground does?

broesamle commented 7 years ago

propably. The idea is to have a web-server-based rust learning environment with a graphical frontend in the browser/client of the learner.

No need to install rust on a machine for a first contact.

visible, graphical feedback in realtime (which I find essental when grasping/learning multi-threaded dynamics)

sebasmagri commented 7 years ago

Could we use RLS in the backend for this?