# safety concern

Published articles for safety concern.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Ep. 6: Exploring Concurrency Pitfalls: Rust vs. C++ and Go

DevFeed: [Ep. 6: Exploring Concurrency Pitfalls: Rust vs. C++ and Go](<https://devfeed.tech/articles/ep-6-exploring-concurrency-pitfalls-rust-vs-c-and-go-22236.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2024/05/exploring-concurrency-pitfalls-rust-vs-c-and-go-ep-6.html>)

Published: 2024-05-20T00:00:00Z

Content type: comparison

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Error Handling](<https://devfeed.tech/topics/error-handling.md>)

Tags: [atomics](<https://devfeed.tech/tags/atomics.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [error-handling](<https://devfeed.tech/tags/error-handling.md>), [go](<https://devfeed.tech/tags/go.md>), [indicating-intent](<https://devfeed.tech/tags/indicating-intent.md>), [mutex](<https://devfeed.tech/tags/mutex.md>), [pitfalls](<https://devfeed.tech/tags/pitfalls.md>), [reliable-codebases](<https://devfeed.tech/tags/reliable-codebases.md>), [rust](<https://devfeed.tech/tags/rust.md>), [safety-concern](<https://devfeed.tech/tags/safety-concern.md>), [synchronization](<https://devfeed.tech/tags/synchronization.md>), [threads](<https://devfeed.tech/tags/threads.md>), [type-coercion](<https://devfeed.tech/tags/type-coercion.md>)

### AI overview

This video compares how C++, Go, and Rust address data races in concurrent programs. It discusses unsynchronized shared access, Go's race-detection flag, and Rust's stricter mutability and synchronization rules, along with Rust's null-pointer avoidance and error handling.

### Source excerpt

Introduction: Join Herbert in an insightful discussion on concurrency, where he tackles the complexities of data races and how various programming languages address them: Understand the crucial role of recognizing data races in concurrent programming and their potential impacts. See practical examples illustrating the chaos caused by data races and learn how Rust's compiler prevents such issues, ensuring program stability. Explore Rust's unique features like null pointer avoidance and reliable error handling, which enhance safety and reliability in concurrent programming tasks.

## Rust: Clearly Indicating Intent and Data Mutability

DevFeed: [Rust: Clearly Indicating Intent and Data Mutability](<https://devfeed.tech/articles/ep-5-rust-safe-at-any-speed-clearly-indicating-intent-22239.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2024/05/rust-safe-at-any-speed-clearly-indicating-intent-ep-5.html>)

Published: 2024-05-13T00:00:00Z

Content type: tutorial

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Rust](<https://devfeed.tech/topics/rust.md>), [type coercion](<https://devfeed.tech/topics/type-coercion.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [go](<https://devfeed.tech/tags/go.md>), [indicating-intent](<https://devfeed.tech/tags/indicating-intent.md>), [reliable-codebases](<https://devfeed.tech/tags/reliable-codebases.md>), [rust](<https://devfeed.tech/tags/rust.md>), [safety-concern](<https://devfeed.tech/tags/safety-concern.md>), [type-coercion](<https://devfeed.tech/tags/type-coercion.md>)

### AI overview

A video segment on making intent explicit in code. It compares C++, Go, and Rust approaches to passing data and mutability, focusing on Rust references and compiler checks intended to prevent unintended modifications.

### Source excerpt

Introduction: Delving into the intricate realm of type coercion, Herbert's insights offer invaluable guidance for Rust developers grappling with the complexities of data type conversions: Learn the art of clearly indicating intent in code, a crucial skill for enhancing readability and maintainability in Rust projects. Explore Rust's meticulous approach to data mutability, leveraging features like &mut references to uphold program integrity and prevent unintended modifications. Discover how embracing Rust's principles of clarity and safety empowers developers to craft robust and reliable codebases, ensuring long-term success in software development endeavors.