Hacker News new | ask | show | jobs
by hckr1292 1987 days ago
Yeah, the very type-centric programming flavor of the ecosystem and strict type checking in the compiler mean that Rust developers will generally leverage guarrantees from the Rust compiler for all sorts of interfaces that you would never do in Python or Nodejs. It's frankly annoying in the kind of web api context that this author is describing and is another source of lost productivity.

So, Ruby has Rails, PHP has Drupal/Wordpress/etc, Python Django. However, neither Go nor Rust have a mature framework that makes it easy to spin up a CRUD app. I'm hopeful that some sort of project in Rust will rise up along the lines of Flaskrestplus in which resources are the primary abstractions. Resources could have codegen'd frontends built using something like react-admin so that you could build a fully functional web form in 100 loc or less. There's no reason the frontend bits couldn't be shared by Rust and Golang (and C++, D, Haskell, etc) frameworks.

1 comments

At what point do we consider a franework mature? I've done a number of CRUD apps in Rust at this point and I have to say the frameworks I've used have made it dead simple. So simple actually that I loathe having to do so in other languages. The ecosystem beyond just the web portion is truly amazing, something like serde is a wonferfully powerful tool. I won't claim that something like Rocket is finished as there are still things to be done, but at what point do you consider it to be mature?