Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Does Rust solve the billion dollar mistake?

Автор: timClicks

Загружено: 2023-12-07

Просмотров: 1755

Описание:

Explore the concept of null pointers and how Rust solves the problem associated with them. In the video, Tim McNamara discusses a common coding issue known as the 'billion dollar mistake' which is tied up with the use of null pointers in programming languages like C and C++ (and originally from ALGOL). Tim explains that Rust's type system guarantees that references to values will always point to valid places in memory, effectively eliminating the risk of null pointer exceptions.

He illuminates the root of this analogous mistake, spotlighting its origins in the 70s and 80s, and its continued prevalence across various programming languages. Rust addresses this issue in a unique way, by not allowing null pointers to exist.

Tim then delves into the specificities of Rust's type system, mentioning the role of the 'unsafe' keyword, and explaining the workaround for instances when null pointers do need to be used. He also emphasizes the application of Rust's 'option type' in handling potential null values.

🦀 Rust resources:
Tim's tutorial videos https://timclicks.dev
Rust Documentation: https://doc.rust-lang.org/book/
Rust Playground: https://play.rust-lang.org/
Rust in Action (Tim's book!) https://mng.bz/4MlD
How to Learn Rust (online course!) https://learning.accelerant.dev/how-t...

👋 Connect with Tim:
Twitter:   / timclicks  
GitHub: https://github.com/timClicks
Mastodon: https://mastodon.nz/@timClicks
DEV: https://dev.to/timclicks/
Patreon (extra learning materials)   / timclicks  


🔔 Subscribe to the channel and click the bell icon to stay updated with the latest videos and live streams from timClicks: https://www.youtube.com/timClicks?sub...

👍 Like this video if you found it helpful, and share it with your friends who are also interested in Rust programming.

Does Rust solve the billion dollar mistake?

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Почему ваш асинхронный Rust медленный (tokio не упрощает задачу!)

Почему ваш асинхронный Rust медленный (tokio не упрощает задачу!)

Они убили китайскую электронику! Как США и Нидерланды сломали Китай за один ход

Они убили китайскую электронику! Как США и Нидерланды сломали Китай за один ход

Запись Потоков Данных в Базу Данных в Реальном Времени | Fetch Data | Объекты в Программировании

Запись Потоков Данных в Базу Данных в Реальном Времени | Fetch Data | Объекты в Программировании

Распаковка Async/await в Rust (включая futures, executors и tokio)

Распаковка Async/await в Rust (включая futures, executors и tokio)

Fil-C — это лучший Rust

Fil-C — это лучший Rust

Rust is easy... (we make it hard)

Rust is easy... (we make it hard)

Сравнение CockroachDB и Postgres

Сравнение CockroachDB и Postgres

Синьор 1С: 10 привычек, без которых ты не вырастешь

Синьор 1С: 10 привычек, без которых ты не вырастешь

How Much Memory for 1,000,000 Threads in 7 Languages | Go, Rust, C#, Elixir, Java, Node, Python

How Much Memory for 1,000,000 Threads in 7 Languages | Go, Rust, C#, Elixir, Java, Node, Python

Всё про ошибки в Go | Полное руководство для работы и собеседований

Всё про ошибки в Go | Полное руководство для работы и собеседований

Rust Absolutely Positively Sucks

Rust Absolutely Positively Sucks

Rust Option Enum Type Overview

Rust Option Enum Type Overview

Delightful command-line utilities with Rust

Delightful command-line utilities with Rust

Rust is not a faster horse

Rust is not a faster horse

Why Null?

Why Null?

1 задача, 6 языков программирования (C++ против Rust против Haskell против APL против Clojure про...

1 задача, 6 языков программирования (C++ против Rust против Haskell против APL против Clojure про...

Mike Seddon - Rust GPU Compute

Mike Seddon - Rust GPU Compute

Vec(T) — это магия 🦀🪄

Vec(T) — это магия 🦀🪄

Golang and the Billion Dollar Mistake

Golang and the Billion Dollar Mistake

Teaching Rustlang (incl async deep dive) - your questions answered

Teaching Rustlang (incl async deep dive) - your questions answered

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com