𓁟 host1.bitchan.one

+⧖Why is Rust taking over lately? Everybody is using it nowadays https://cybernews.com/tech/discord-app-overhaul/?content=post Why is Rust taking over lately? Everybody is using it nowadays https://cybernews.com/tech/discord-app-overhaul/?content=post
+⧖Because it's a solid programming language. Very secure, too. Because it's a solid programming language. Very secure, too.
𓀐 @D3-Q5YuT: I have never used Rust, I am programming in TypeScript at work and even at home for hobby projects. I wonder how Rust would work if I would use it for a project with a javascript frontend and a rust backend

If your backend is IO-bound(which is most of them) then you will get no significant advantage at cost of significant cognitive overhead if you use Rust over TypeScript. It only really makes sense to do this if for example you have already sizable Rust project and want to add simple front end to it(eg status page). If you want to try Rust, just pick something more aligned with systems programming. A compression or cryptographic library, renderer, cli utility, physics simulation, etc. Webdev in Rust in general is difficult (especially async) and too rigid for typical web tasks/workflows.

⧖expiring ~7d0/1 kept20m ago

𓀐 @u*JZZiMo

⏱ 6h 👍 0

⬆ upvote 0