• 0 Posts
  • 4 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle
  • I think if you know Rust then I think Rust + async is going to perform better and consume less resources than NodeJS by a LOT. It should also work more reliably on embedded devices, or even docker containers because memory isn’t going up and down like a yoyo because of GC.

    That said NodeJS is more immediate and might lend itself to better prototyping / RAD and you might not care enough about performance to justify using a compiled language. A lot of web servers aren’t doing enough that you would even notice a difference in performance.

    Another reason for Rust might also be because it’s more energy efficient. I wish Amazon and other cloud services would put a heavier cost penalty on efficiency. I wonder how many cloud web apps are running bloated stacks to serve up content which could be done with a fraction of the energy.




  • arc@lemm.eetoProgrammer Humor@lemmy.mlFrontend vs backend
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    1 year ago

    I do front and backend work. Biggest issue I see is people not thinking through interfaces properly (e.g. efficiencies & atomicity of operations), sanitizing inputs on both sides, error handling, and putting in the appropriate validation, authorization & testing.