One question: you mentioned you used Rust for backend to use file operations. I am not sure I understand it properly. Does not Typescript support file IO? Node does so perhaps Typescript does too. Also, what is the use of a backend here? I only think of backends as http servers. This question is because of my little experience with professional development.
Thanks!
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.
Awesome. I will surely check it out
One question: you mentioned you used Rust for backend to use file operations. I am not sure I understand it properly. Does not Typescript support file IO? Node does so perhaps Typescript does too. Also, what is the use of a backend here? I only think of backends as http servers. This question is because of my little experience with professional development.
Thanks!
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!