Thanks for this. I to am just starting with rust. Going to rewrite a server of mine I wrote in py 2.7 so its time to update it. This looks a lot like the double build Dockerfile I use with my golang containers. Thanks again 😄
I'm a Python, Go, Angular, and VueJS (Typescript) developer.
I'm a Linux fan (no other OS) and I try to contribute to projects like Fyne.io.
I do Machine Learning, Blender, and some other stuff.
Location
Laval, France
Work
DevOps, Go, TypeScript and Python development, Kubernetes/Docker/Podman tooling.
Using rust to rewrite a server made in Python is, IMHO, not the best way. Go is made for this kind of work, easier to use threads (and concurrency) and a lot more readable. It's closer to Python in syntax and you will have more or less the same performances than Rust for this kind of project.
You are correct and I agree with everything you are saying. To be a little clearer I plan to use Rust during the music server setup process and not necessarily the server itself. Is it a good design choice, probable not. Is it a good way to learn Rust , hopefully :)
If you feel encouraged to do that (and have the time), please share your results (and maybe even the process) of developing such a server :) I would love to read!
Thanks for this. I to am just starting with rust. Going to rewrite a server of mine I wrote in py 2.7 so its time to update it. This looks a lot like the double build Dockerfile I use with my golang containers. Thanks again 😄
Using rust to rewrite a server made in Python is, IMHO, not the best way. Go is made for this kind of work, easier to use threads (and concurrency) and a lot more readable. It's closer to Python in syntax and you will have more or less the same performances than Rust for this kind of project.
You are correct and I agree with everything you are saying. To be a little clearer I plan to use Rust during the music server setup process and not necessarily the server itself. Is it a good design choice, probable not. Is it a good way to learn Rust , hopefully :)
If you feel encouraged to do that (and have the time), please share your results (and maybe even the process) of developing such a server :) I would love to read!
To say that Go is "more readable" depends on who you ask. Also, Rust has an excellent concurrency model.