"65% more instructions per packet with the Rust driver compared to C. But it does so with only 6% more cycles per packet" tl;dr: Rust's bounds checking is faster than you'd expect b/c superscalar CPU's have plenty of otherwise unused parallelism.https://github.com/ixy-languages/ixy-languages/blob/master/Rust-vs-C-performance.md …
-
-
.
@funcOfJoe wrote about a contract-like approach to asserts in Microsoft's Midori project that seemed both powerful and pragmatic: http://joeduffyblog.com/2016/02/07/the-error-model/ … Also, I *did* find a great hack to achieve arbitrary compile-time asserts into Go...https://twitter.com/lukechampine/status/1026695476811390976 … -
Rust's static_assertions crate does that kind of trick too: https://docs.rs/static_assertions/0.3.4/static_assertions/ …
End of conversation
New conversation -
-
-
WTF, they believe in proper error handling but Go doesn't have sum types. From my experience, error handling is 10 times better when a language has sum types and strong types.
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.