Explore >> Select a destination


You are here

preshing.com
| | jmmv.dev
6.4 parsecs away

Travel
| | Dependency injection is one of my favorite design patterns to develop highly-testable and modular code. Unfortunately, applying this pattern by taking Rust traits as arguments to public functions has unintended consequences on the visibility of private symbols. If you are not careful, most of your crate-internal APIs might need to become public just because you needed to parameterize a function with a trait. Let's look at why this happens and what we can do about it.
| | www.bitsnbites.eu
5.7 parsecs away

Travel
| |
| | loonytek.com
5.0 parsecs away

Travel
| | In this post, I will talk about usage of volatile fields in Java and how volatile is different from synchronized. Both volatile and synchronized are used in multi-threaded programs to get some degree of thread safety depending on the operations performed by different threads. Consider the following piece of code class VolatileDemo { private int...
| | faultlore.com
36.3 parsecs away

Travel
|