• ClipSaver
  • dtub.ru
ClipSaver
Русские видео
  • Смешные видео
  • Приколы
  • Обзоры
  • Новости
  • Тесты
  • Спорт
  • Любовь
  • Музыка
  • Разное
Сейчас в тренде
  • Фейгин лайф
  • Три кота
  • Самвел адамян
  • А4 ютуб
  • скачать бит
  • гитара с нуля
Иностранные видео
  • Funny Babies
  • Funny Sports
  • Funny Animals
  • Funny Pranks
  • Funny Magic
  • Funny Vines
  • Funny Virals
  • Funny K-Pop

A Firehose of Rust, for busy people who know some C++ скачать в хорошем качестве

A Firehose of Rust, for busy people who know some C++ 4 года назад

скачать видео

скачать mp3

скачать mp4

поделиться

телефон с камерой

телефон с видео

бесплатно

загрузить,

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
A Firehose of Rust, for busy people who know some C++
  • Поделиться ВК
  • Поделиться в ОК
  •  
  •  


Скачать видео с ютуб по ссылке или смотреть без блокировок на сайте: A Firehose of Rust, for busy people who know some C++ в качестве 4k

У нас вы можете посмотреть бесплатно A Firehose of Rust, for busy people who know some C++ или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:

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

Скачать mp3 с ютуба отдельным файлом. Бесплатный рингтон A Firehose of Rust, for busy people who know some C++ в формате MP3:


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса ClipSaver.ru



A Firehose of Rust, for busy people who know some C++

Slides: https://jacko.io/firehose_of_rust The slower version of this talk (2h32m):    • [SLOWER VERSION] A Firehose of Rust, for b...   Contents: 0:00:00 introduction 0:04:03 references and mutable aliasing 0:06:54 reference lifetime examples 0:22:12 mutable aliasing examples 0:50:16 move semantics 1:10:50 Arc Mutex String 1:23:28 outro Links from screenshots in slides: https://godbolt.org/z/891s6z4Tb    • CppCon 2014: Herb Sutter "Back to the Basi...   https://godbolt.org/z/fK1WchMYf    • CppCon 2017: Louis Brandy “Curiously Recur...   Errata: The example raw pointer code shown at 26:33 is valid today according to Miri, but it's not the best approach, and it's possible that it will become invalid before the rules for unsafe Rust finally stabilize. The worry is that creating a temporary shared reference on line 3 implies that the mutable reference on line 2 is definitely dead, which could mean that the raw pointer on line 2 is also dead in some sense. A more conservative approach would be to use .as_mut_ptr() to get a pointer to the first element and then .add() to get a pointer to the second element, without creating any extra references to the array. (Update: The "Tree Borrows" model for Miri also allows the example as written. https://perso.crans.org/vanille/treebor/) At 56:20 I described both C++ copy constructors and the Rust .clone() method as making a "deep copy". That's sometimes the right way to think about it, but not when pointers and references get involved. Indeed, the final section relies on shallow cloning to share a reference-counted object across threads. C++ and Rust behave very similarly here, and understanding that ".clone() works like a C++ copy constructor" tells you most of what you need to know about a wide variety of different types. At 1:05:49 I said that Mutex in Rust needs a heap allocation on Linux because of how the underlying system calls work. That's mostly incorrect. It's true that a futex can't be moved while locked, and that does matter for std::mutex in C++. But it doesn't actually matter in Rust, because a Mutex is borrowed and immovable while it's locked. Instead, the issue in Rust is that POSIX doesn't guarantee that a pthread_mutex_t is movable (although many implementations are movable in practice). See   / 1403413967846977538  . (Update: As of Rust 1.62, released in June 2022, Mutex on Linux creates a futex directly and no longer needs a heap allocation. Mutex still uses pthreads and heap allocation on some other Unix systems.) At 1:15:13 I use Arc+Mutex to get the multithreaded Rust example working. That's a common idiom in Rust, and it's good to demo it, but as of Rust 1.63 (August 2022) you can also use "scoped" threads: https://doc.rust-lang.org/std/thread/...

Comments
  • [SLOWER VERSION] A Firehose of Rust, for busy people who know some C++ 4 года назад
    [SLOWER VERSION] A Firehose of Rust, for busy people who know some C++
    Опубликовано: 4 года назад
  • Unsafe Rust is not C 3 года назад
    Unsafe Rust is not C
    Опубликовано: 3 года назад
  • From Rust to C and Back Again: an introduction to 10 месяцев назад
    From Rust to C and Back Again: an introduction to "foreign functions"
    Опубликовано: 10 месяцев назад
  • Конструкторы сломаны 2 года назад
    Конструкторы сломаны
    Опубликовано: 2 года назад
  • Rust Ownership and Borrowing 6 лет назад
    Rust Ownership and Borrowing
    Опубликовано: 6 лет назад
  • Prime Reacts: от C к C++, от Rust к Haskell 3 года назад
    Prime Reacts: от C к C++, от Rust к Haskell
    Опубликовано: 3 года назад
  • Rust can Compete with Python 1 год назад
    Rust can Compete with Python
    Опубликовано: 1 год назад
  • Ржавчина — это не C 2 года назад
    Ржавчина — это не C
    Опубликовано: 2 года назад
  • Visualizing memory layout of Rust's data types 2 года назад
    Visualizing memory layout of Rust's data types
    Опубликовано: 2 года назад
  • «Проектирование API на основе типов в Rust» Уилла Крайтона 4 года назад
    «Проектирование API на основе типов в Rust» Уилла Крайтона
    Опубликовано: 4 года назад
  • Generic Types in Rust 4 года назад
    Generic Types in Rust
    Опубликовано: 4 года назад
  • Rust for C++ developers - What you need to know to get rolling with crates - Pavel Yosifovich 6 лет назад
    Rust for C++ developers - What you need to know to get rolling with crates - Pavel Yosifovich
    Опубликовано: 6 лет назад
  • [SLOWER VERSION] A First Look at Lifetimes in Rust 2 года назад
    [SLOWER VERSION] A First Look at Lifetimes in Rust
    Опубликовано: 2 года назад
  • Rust Programming Full Course  | Learn ⚙️ in 2024 | #rustprogramming #rust 1 год назад
    Rust Programming Full Course | Learn ⚙️ in 2024 | #rustprogramming #rust
    Опубликовано: 1 год назад
  • Rust Before Main - Ryan Levick - Rust Linz, July 2022 3 года назад
    Rust Before Main - Ryan Levick - Rust Linz, July 2022
    Опубликовано: 3 года назад
  • Faster than Rust and C++: the PERFECT hash table 3 года назад
    Faster than Rust and C++: the PERFECT hash table
    Опубликовано: 3 года назад
  • Чему я научился, решив 50 задач из Advent of Code на Rust — Лучано Маммино 3 года назад
    Чему я научился, решив 50 задач из Advent of Code на Rust — Лучано Маммино
    Опубликовано: 3 года назад
  • Введение в асинхронное выполнение функций Rust с помощью Smol 🦀 Учебник по программированию на Ru... 2 года назад
    Введение в асинхронное выполнение функций Rust с помощью Smol 🦀 Учебник по программированию на Ru...
    Опубликовано: 2 года назад
  • Learning Rust the wrong way - Ólafur Waage - NDC TechTown 2022 3 года назад
    Learning Rust the wrong way - Ólafur Waage - NDC TechTown 2022
    Опубликовано: 3 года назад
  • A First Look at Lifetimes in Rust 2 года назад
    A First Look at Lifetimes in Rust
    Опубликовано: 2 года назад

Контактный email для правообладателей: u2beadvert@gmail.com © 2017 - 2026

Отказ от ответственности - Disclaimer Правообладателям - DMCA Условия использования сайта - TOS



Карта сайта 1 Карта сайта 2 Карта сайта 3 Карта сайта 4 Карта сайта 5