577 karma · joined January 21, 2014
Those are pretty awful numbers. https://blog.gigaspaces.com/amazon-found-every-100ms-of-late...
The way every reasonable person would. This release being the obvious example.
RN came from a giant company that uses it in its core product. Big difference.
Not at all. This is what the ? operator is for (was try! before).
The idiomatic rust way is to have your own Error type that implements From for other Error types that you may encounter (io::Error, Utf8Error, etc.).
Then you can simply just write let result = dosomething()?; for any operation that may fail. If an error happens, function will return with the error.
I don't think you can do it any cleaner, given the constraints Rust is operating under.
Scala on the other hand is not remotely small and easy to understand.
This makes large refactorings so much easier. It also makes working on large projects with lots of people much easier.
The way of working with that is use cargo check command which is much faster and splitting your problem into multiple crates so you don't have everything in one giant project. Which is what tends to happen in large code bases anyway.
Also they are putting quite a lot of work into making it faster. Before you get to that large code base it will be better.
Rust is productive, efficient and a joy to use. For things we required C/C++ before, we will be using Rust now.
Lots of wifis, corporate especially block all UDP traffic. Sometimes they even block all non http/https traffic. Apps like Skype or Biocoded will find a way to route the call, but that can sometimes mean it has to go over https!
Sometimes wifi will work in batches. No packets will get through for a few hundreds of milliseconds (or seconds), then they will get sent all at once.
Sometimes UDP traffic is blocked completely and the call has to get relayed over TCP. Now no packets can get dropped and you get delays due to retransmits.
Sometimes 3g/4g connection disappears because someone entered a building an overpass or passed a corner in a city.
Sometimes the sides of the conversation are far and the audio delay is high.
If any side of the conversation encounters a problem described above both will get a bad quality.