Instead the the code that do operarions related to file read deletion other files ops written using rust
And http is not the onlyn way to comunicate between programs .. we have IPC mechanisms those are very faster than http for programs running in the same system.
And regarding typescript file reading..
Rust is definitely faster and safer than nodejs so tbey decided for that .
Thanks for the reply. Yes, it does answer my question. Just one thing though: regarding IPC mechanisms, do you mean like MPI and socket-based communication but on the same machine?
It's something like that, basically when user want to operate something, ex opening a folder, the typescript code send a message to the rust code to open that folder return the information of the files inside the folder to the typescript then typescript is in charge to display it on the webview.
Backend means not http here..
Instead the the code that do operarions related to file read deletion other files ops written using rust
And http is not the onlyn way to comunicate between programs .. we have IPC mechanisms those are very faster than http for programs running in the same system.
And regarding typescript file reading..
Rust is definitely faster and safer than nodejs so tbey decided for that .
As we will have alot of file ops here..
Hope this answers your quries..
Thanks for the reply. Yes, it does answer my question. Just one thing though: regarding IPC mechanisms, do you mean like MPI and socket-based communication but on the same machine?
It's something like that, basically when user want to operate something, ex opening a folder, the typescript code send a message to the rust code to open that folder return the information of the files inside the folder to the typescript then typescript is in charge to display it on the webview.
Hope this answers your question.
Now all the confusions have been cleared up. Thanks!