bluerobotics / bluerobotics/BlueOS-Extensions-Repository
Extension Idea: Rust Playground integration
- Vorherrschende Sprache
- Python
- Sterne
- 20
- Forks
- 31
- Ø Merge
- 1 T. 56 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
Like jupyter lab for python, check viability of an extension for rust (Important to check if it can access the devices).
[Rust-Playground](https://play.rust-lang.org/)

[Rust-Playground - Source Code](`https://github.com/rust-lang/rust-playground`)
Usefull content:
https://users.rust-lang.org/t/create-rustup-play-for-a-self-hosted-playground/13714/3
```
The official playground is [integer32llc/rust-playground 55](https://github.com/integer32llc/rust-playground). I have been able to get it running locally.
It requires [yarn 8](https://yarnpkg.com/lang/en/docs/install/) and [docker 1](https://docs.docker.com/engine/installation/) already installed.
git clone https://github.com/integer32llc/rust-playground
Build and run the frontend
cd rust-playground/ui/frontend
yarn
yarn run watch
Build and run the backend
cd rust-playground/ui
RUST_LOG=ui=debug PLAYGROUND_UI_ROOT=$PWD/frontend/build/ cargo run
Build the compiler containers and tools
Fair warning: this uses something like 16G of /var/lib/docker.
cd rust-playground/compiler
./build.sh
Once everything is running, visit [http://localhost:5000/ 5](http://localhost:5000/).
```
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne mit der Prüfung des verlinkten rust-playground-Quellcodes und der bereitgestellten lokalen Setup-Befehle für die Frontend-, Backend- und Compiler-Container. Führe das dokumentierte Setup aus, wenn dies praktikabel ist, und untersuche anschließend, ob der Playground auf BlueOS-Geräte zugreifen kann. Die Aufgabe ist erledigt, wenn die Machbarkeit der Integration und die Einschränkungen beim Gerätezugriff geklärt sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- docker, rust
- Bereich
- devtools, embedded-iot
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100