Scott Lystig Fritchie - The wide world of almost-actors: comparing the Pony to BEAM languages

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

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

  • @arhyth
    @arhyth 5 лет назад +3

    probably noob programming question: how does Pony guarantee data-race, thread safety if message passing is mainly by reference?

    • @FreeScience
      @FreeScience 5 лет назад +3

      Simply put, you can only share something which you have exclusive ownership (at which time you lose access to it), or something which is immutable. If you can write to an object only you can read it as well. If you got something you can read, no one else can write to it, though other might be able to read it as well. Under some circumstances you can change the "capabilities" of an reference.

    • @danebronson9147
      @danebronson9147 3 года назад

      @Keagan Silas Thank you, I signed up and it seems like they got a lot of movies there :D Appreciate it !!

    • @devinlyle7283
      @devinlyle7283 3 года назад

      @Gerardo Ephraim happy to help :D

    • @richardduke392
      @richardduke392 3 года назад

      @Gerardo Ephraim Happy to help :)