Open oli-obk opened 1 year ago
I don't think the current priroda inherently depends on being a server, but it does require running rustc on a separate thread from the ui. Using wasm won't remove this requirement no matter how much you rewrite. By the way note that priroda already has the rustc driver and the http server driving the ui relatively separated. The http server side submits commands to the rustc driver and receives the result. This combined makes me think that a gradual change rather than a from the ground up rewrite would be more effective.
Ah yes, I completely forgot about this, thanks! So maybe the first step is to move priroda over here and update it and then keep it updated by building it together with miri, even in the rustc repo
My concern here is maintenance cost, but if the development of the rest of Miri doesn't have to care much about the priroda part then that seems fine for me.
Maintaining and using https://github.com/oli-obk/priroda is cumbersome.
So, my proposal is to rewrite priroda from scratch, but this time in-tree here.