top | item 41768167

(no title)

erazor42 | 1 year ago

> Has anyone else bootstrapped using Rust? What were your experiences?

Yes, we are building a parsing platform in rust. (~50k loc) Stack: actix + diesel (async) for PG.

Getting the right project structure was not simple (that could deserve a blog post). Performance is super nice if you do heavy IO.

Beware of memory usage handling with actix.

Day to day dev is a joy, once it compile you can be confident it will work as expected.

Never .unwrap / panic !

Use clippy to check your code.

Once you have your project structure done, adding a new web handler is as fast as adding one in Django or Flask.

discuss

order

lukaesch|1 year ago

I can confirm this! Initially tried shortcuts with unwrap, but once the structure is solid, it's on par with TS/Python frameworks.