News for hackers. Stuff that matters.
Re:Launch HN: Fly.io (YC W20) – Deploy app servers close to ... by jimleroyer on Wednesday March 18, 2020 @12:13PM (#22618227)
Pretty nice to see Rust being used for network performance code. Do you have any learning using it to share? Would you rather use C++ if you'd have to do it again? Do you feel more confident in your code? Do you feel it was slower or quicker to write code compared to C++
Re:Launch HN: Fly.io (YC W20) – Deploy app servers close to ... by jeromegn on Wednesday March 18, 2020 @12:27PM (#22618376)
We attempted C++ about a year ago, but I was never confident in our ability to clean up memory allocations (we had leaks) or avoid undefined behavior (we had segfaults).

I definitely feel more confident about our Rust code. It's no silver bullet, but it prevents a lot of unsoundness with its compile-time guarantees.

I can't really compare to C++, but it's easy to write new code or refactor old code. It took some time to get there, though.

All in all, I would recommend Rust wholeheartedly. The ecosystem is growing and getting more mature every week. The community is very helpful in general, especially the tokio folks.

Re:Launch HN: Fly.io (YC W20) – Deploy app servers close to ... by steveklabnik on Wednesday March 18, 2020 @01:02PM (#22618787)
Glad to hear you all are doing great with Rust! :D
Re:Launch HN: Fly.io (YC W20) – Deploy app servers close to ... by jimleroyer on Wednesday March 18, 2020 @03:37PM (#22620394)
Thanks for sharing! It's nice to hear about this learning. Also, wasn't aware of tokio, it looks real nice.