<story><title>Rust Is Surprisingly Good as a Server Language</title><url>https://stu2b50.dev/posts/rust-is-surpris76171</url></story><parent_chain><item><author>Nican</author><text>There is an advocate on our team that wants to migrate our web service from Nodejs to Rust.&lt;p&gt;While I am not a huge fan of Typescript, at least libraries are readily available and generally easy to use. On the other hand, being able to show that we are able to do monitoring, user auditing, ORM, opentracing, gRPC-web with Rust is non trivial.&lt;p&gt;Now that I think of it, being able to do a &amp;quot;hello world&amp;quot; on any language is pretty simple. But having all the tools around it to build a production level service is a different story.</text></item></parent_chain><comment><author>Cthulhu_</author><text>Rewriting is very expensive, and the advocate will need to make a VERY strong case for Rust if they&amp;#x27;re asking your company to invest in replacing it - and alternatives have to be suggested as well, including other languages and a good list of things wrong with Node &amp;#x2F; TS. Consider developer availability as well.&lt;p&gt;I don&amp;#x27;t think a strong enough argument can be made. I&amp;#x27;m sure you CAN write web services in Rust, and that in very specific cases it&amp;#x27;ll have some benefits over Node, but honestly very few people work in an area like that.&lt;p&gt;Disclaimer: I&amp;#x27;ve settled on using Go to rewrite an existing application. The original app was written in PHP; nothing wrong with PHP per se, but the existing codebase is a mess and the PHP version is hard to keep up to date because of LTS versions of operating systems + very slow and careful updates at our customers (it&amp;#x27;s network infrastructure). For me, switching to a compiled language that produces a self-contained executable was a compelling argument. I have to admit that I do kinda pine for something like Java again though.</text></comment>
<story><title>Rust Is Surprisingly Good as a Server Language</title><url>https://stu2b50.dev/posts/rust-is-surpris76171</url></story><parent_chain><item><author>Nican</author><text>There is an advocate on our team that wants to migrate our web service from Nodejs to Rust.&lt;p&gt;While I am not a huge fan of Typescript, at least libraries are readily available and generally easy to use. On the other hand, being able to show that we are able to do monitoring, user auditing, ORM, opentracing, gRPC-web with Rust is non trivial.&lt;p&gt;Now that I think of it, being able to do a &amp;quot;hello world&amp;quot; on any language is pretty simple. But having all the tools around it to build a production level service is a different story.</text></item></parent_chain><comment><author>nilkn</author><text>Generally when I’ve successfully advocated for new languages or tools at work, it’s been by gradually introducing the language in newer and fairly self-contained projects where the risk is relatively low. This provides a safe space to explore all the concerns you just mentioned without compromising any working code.&lt;p&gt;If you have some interest in Rust, that’s what I’d personally recommend instead of migrating an existing service to a different language.</text></comment>