Fast, Safe, and Complete(ish) Web Service in Rust
Why would you want to do that in Rust instead of Go &#x2F; Java &#x2F; C# since the performance is the same. When I look at code example in the article the syntax is just awful seriously, who want to write web services with that kind of syntax:<p>time_helpers::log_timed(&amp;log.new(o!(&quot;step&quot; =&gt; &quot;upsert_episodes&quot;)), |_log| { }<p>It&#x27;s just non-sense:<p>impl&lt;S: server::State&gt; actix_web::middleware::Middleware&lt;S&gt; for Middleware {<p><pre><code>        fn start(&amp;self, req: &amp;mut HttpRequest&lt;S&gt;) -&gt; actix_web::Result&lt;Started&gt; {

            let log = req.state().log().clone();
            req.extensions().insert(Extension(log));
            Ok(Started::Done)
        }
</code></pre>
Rust is a good language but I don&#x27;t see it any time soon in the web space with that syntax and the lack of mature libraries, plus the time it takes to get anything done. Where I see it is more for super optimized things like serialization and the like as libraries but not as a main program.