Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

rust backend ?

is it worth writing a backend in rust including session handling, db mng etc.. ? does that little extra sec worth the time for you?
(Jun 8, 2024 08:29 PM)secret_code Wrote:  is it worth writing a backend in rust including session handling, db mng etc.. ? does that little extra sec worth the time for you?

I don't know enough about Rust to answer specifically about database & sessions, but I imagine it's more than capable of handling those.
What are your skill levels like, and how much time are you planning on spending on this project?
(Jun 8, 2024 09:47 PM)Hackers Wrote:  I don't know enough about Rust to answer specifically about database & sessions, but I imagine it's more than capable of handling those.
What are your skill levels like, and how much time are you planning on spending on this project?

im completelly newbi at rust, but i've changed my mind, i would use nodejs as anyone else building backends... im not a web dev but im writing a backend, i know it can handle more than just sessions and dbs but those were my only key points, the rest of work it is almost similar on every lang
(Jun 8, 2024 08:29 PM)secret_code Wrote:  is it worth writing a backend in rust including session handling, db mng etc.. ? does that little extra sec worth the time for you?

IF AND ONLY IF.....

  1. You have all the time in the world.
  2. You have the time to learn new trends.
  3. You do not have a tight deadline and no one would get mad.
  4. You have the balls to maintain the backend.

ELSE

Use another appropriate language that would suffice your needs and your team as this could lead to chaos.

-----------------

I would only recommend Rust to be used as a backend language, microservice or etc if you and your team can meet the 4 requirements I have mentioned because I know people (mostly teams) who have failed to impress using Rust but luckily I don't since I have already mastered the language and I keep on learning the latest trends. 😆

A good alternative would be to use is a general programming language which are easy to use and not hard to maintain that doesn't need compiling such as PHP, Python, JavaScript, TypeScript, or anything similar to these and the use of ORMs (if you are lazy to manage databases) and frameworks.
(Jun 9, 2024 08:26 AM)happygonutty Wrote:  IF AND ONLY IF.....

  1. You have all the time in the world.
  2. You have the time to learn new trends.
  3. You do not have a tight deadline and no one would get mad.
  4. You have the balls to maintain the backend.

ELSE

Use another appropriate language that would suffice your needs and your team as this could lead to chaos.

-----------------

I would only recommend Rust to be used as a backend language, microservice or etc if you and your team can meet the 4 requirements I have mentioned because I know people (mostly teams) who have failed to impress using Rust but luckily I don't since I have already mastered the language and I keep on learning the latest trends. 😆

A good alternative would be to use is a general programming language which are easy to use and not hard to maintain that doesn't need compiling such as PHP, Python, JavaScript, TypeScript, or anything similar to these and the use of ORMs (if you are lazy to manage databases) and frameworks.

i don't work in team, and im not doing this for someone else, it is for myself, im not scared of learning rust at all to be honest as im coming from langs like assembly, C and c++, but i didn't know if it was worth the effort to learn it as it is a totally different language, having diff syntax, semantics, etc..., at the end im not using it btw... but thanks for your comment :)
(Jun 9, 2024 08:43 AM)secret_code Wrote:  i don't work in team, and im not doing this for someone else, it is for myself, im not scared of learning rust at all to be honest as im coming from langs like assembly, C and c++, but i didn't know if it was worth the effort to learn it as it is a totally different language, having diff syntax, semantics, etc..., at the end im not using it btw... but thanks for your comment :)

Well if its for personal purposes then I won't be stopping you! Hahaha. Go ahead, learn Rust and use it as a backend. I would recommend Actix as I primarily use it. You can also use Rocket if you want everything out of the box. Those 2 are the only frameworks I use with Rust at the moment and for ORM manipulation, I also use Diesel with both frameworks.

Rust indeed is a fun to learn language but the only downside is that it has a steep learning curve and it takes time to master unless you are the chosen one. 😎


Possibly Related Threads...
Thread / Author Replies Views Last Post
by happygonuttyJun 9, 2024 11:21 PM 5 167 Jun 9, 2024 11:21 PM
Last Post: happygonutty
by happygonuttyMay 9, 2024 01:46 PM 26 555 May 9, 2024 01:46 PM
Last Post: MavenGradle
[Source] by Toph BeifongFeb 7, 2016 02:57 AM 2 152 Feb 7, 2016 02:57 AM
Last Post: Toph Beifong