sunface / rust-by-practice

Learning Rust By Practice, narrowing the gap between beginner and skilled-dev through challenging examples, exercises and projects.

Home Page:https://practice.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use local playground instead of play.rust-lang.org

C-o-d-e-C-o-w-b-o-y opened this issue · comments

The HTTP call to https://play.rust-lang.org/evaluate.json takes very long and sometimes times out, resulting in a painful learning experience considering that you need to run it after each change.

When doing mdbook serve, we should also spin up our own local server and relay the output to the locally hosted site

image

Thanks for your suggestions, I will add some guidlines on how to use local server to provide smoother learning experience.

PRs are also welcoming :D