TinyTapeout / tt-commander-app

Web app to control the Tiny Tapeout Demo board
https://commander.tinytapeout.com
Other
1 stars 4 forks source link

REPL drift #10

Open psychogenic opened 4 months ago

psychogenic commented 4 months ago

In current system, uncertain having the REPL in the commander is a good idea: either because the commander isn't using the SDK or because of some kind of context/thread thing, moving back and forth between REPL and commander tabs causes each to have different ideas of what's going on. For instance, go to the REPL, enable a project, then use the commander to switch to another--the chip is in the latter, but only the last interacting tab is in sync with the world.

This might cause weirdness down the line.

urish commented 4 months ago

Yeah, the REPL is just an experiment - an alternative would be to have a separate mode / app for the REPL.

I suspect that keeping the SDK in sync with the UI will take a considerable amount of work, especially maintaining this connection down the line.