Better HN
topnewbestaskshowjobs
Log inSign up

vincenv

19 karma · joined Dec 30, 2017 (8y ago) · 8 submissions

Submissions

1.

The Genius in Our Interstellar Class(avi-loeb.medium.com ↗)

1 points · by vincenv · 4y ago · discuss

comment 4y ago · link · parent

You can get that with anyhow [1] by calling unwrap after `.with_context`.

[1]: https://docs.rs/anyhow/latest/anyhow/

comment 4y ago · link · parent

You could use async_channel [1] it provides async multi-producer multi-consumer.

[1]: https://docs.rs/async-channel/latest/async_channel/

comment 4y ago · link · parent

Another book I found very helpful is Programming Rust [1], it expands on many concepts in the Rust book, the chapters on closures, iterators, collections, concurrency and async have very good explanations on how things work.

[1]: https://www.oreilly.com/library/view/programming-rust-2nd/97...

comment 5y ago · link · parent

I found the Rust Programming Language book [1] very helpful for learning, and with rust installed you can open it by typing rustup doc --book.

[1] https://doc.rust-lang.org/stable/book/

comment 5y ago · link · parent

I played with it recently, being a PostgreSQL extension I found it easy to implement a rust client [1] to test ingestion rate performance, on my laptop was able to insert ~600K rows/sec.

The documentation on their website [2] is also very good.

[1] https://github.com/vincev/tsdbperf [2] https://docs.timescale.com/latest/main

comment 8y ago · link · parent

"Object-Oriented Reengineering Patterns" has some good advice on how to approach a legacy system and rewrite parts of it, pdf available from the authors website:

http://scg.unibe.ch/download/oorp/