Rust Password Hashing: Cracking the Shadows

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 4

  • @deshawnwilliams338
    @deshawnwilliams338 Год назад

    Your channel is a hidden gem I’m glad I’ve found. Really appreciate your content

  • @jackn
    @jackn 2 года назад +3

    so if i'm understanding correctly, atomicbools can be used in the same way mutex's can? but atomicbools are much more cost efficient in terms of runtime speed? why wouldn't i always use atomicbools over mutex

    • @masmullin
      @masmullin  2 года назад +4

      There are two main differences.
      1) mutex are held until drop or unlock. Atomics are exclusive only at the call site of the load or the store
      2) atomics only exist for primitive types. There is no atomic string or atomic my_struct

  • @amirmousawi9156
    @amirmousawi9156 2 года назад

    Thank you