Emily Dunham: Interactive Rust Examples in Static Pages |
Rust by Example has a little box where readers can interact with some example Rust code, run it using the playground, and see the results in the page. As a sysadmin I’m loath to recommend that anybody trust the playground for anything, but as a nerd and coder I recognize that it’s super cool and people want to use it.
There are 2 ways to stuff a Playground into your website: The easy way, and the “right” way. Here’s how to do it the easy way, and where to look for examples of the hard way.
http://edunham.net/2015/07/13/interactive_rust_examples_in_static_pages.html
Комментировать | « Пред. запись — К дневнику — След. запись » | Страницы: [1] [Новые] |