3 ms·
I think Rust has promise as a web dev language. Here's a quick list of the key libraries currently in the ecosystem[1]. Up until now, I've only ever used inter
by Hytosys 11y ago
I think Rust has promise as a web dev language. Here's a quick list of the key libraries currently in the ecosystem[1].
Up until now, I've only ever used interpreted, dynamic languages for web development. In contrast, Rust offers me a tight memory footprint (no silly things like unicorn-worker-killer), high performance (the average response time for most of my Rails apps is 150ms), and a slew of static guarantees about types (no "undefined method for nil:NilClass") and memory safety. It also has some really cool things like sanitary macros and syntax extensions that have allowed me to build out a fairly simple yet robust ORM similar to ActiveRecord in look and feel.
I may be forcing a square peg into a circle hole; all my current work is experimental.
Can you clarify on the difference between "server development" and "application code"? In this context, I've always considered those terms to be the same.
Edit: I think I understand what you mean by application code — business logic code? Reasonable concerns. I don't have much to say yet (I'm just doing framework stuff now in preparation for real applications), but here's a demo of my aforementioned ORM in action[2].
[1] http://arewewebyet.com/ http://arewewebyet.com/
[2] https://gist.github.com/SkylerLipthay/9015e6c79859e7dc8709 https://gist.github.com/SkylerLipthay/9015e6c79859e7dc8709