Erlang and Elixir Fest 2018 Keynote

Erlang and Elixir Fest 2018 Keynote

16-JUN-2018 Akihabara Convention Hall / my history of involving in Erlang and Elixir communities and why Erlang and Elixir are attractive systems (presentation in Japanese)
Erlang and Elixir Fest 2018 キーノート
Note: revised to include the last-minute modification and to avoid possible national flag rule violation against the flag of Sweden.

Fc3b290038a97f5df6fec7660c357ef4?s=128

Kenji Rikitake

June 16, 2018
Tweet

Transcript

  1. 2.

    ྗ෢ ݈࣍ Γ͖͚ͨ ͚Μ͡ 2018೥6݄16೔ Erlang and Elixir Fest 2018

    ळ༿ݪίϯϕϯγϣϯϗʔϧ @jj1bdx Kenji Rikitake / Erlang and Elixir Fest 2018 16-JUN-2018 2
  2. 3.

    [PR] ͓࢓ࣄืूதͰ͢ 53ࡀ / ϓϩάϥϛϯάྺ44೥ ιϑτ΢ΣΞΤϯδχΞྺ28೥໨ Erlang/OTPྺ11೥໨ ྗ෢݈ٕ࣍ज़࢜ࣄ຿ॴ ॴ௕ ϖύϘݚڀॴ

    ٬һݚڀһ ઌ݄·Ͱ7ϲ݄C++ͱC#ͱsvnͱVisual Studioͷ࢓ࣄͯ͠·ͨ͠ Kenji Rikitake / Erlang and Elixir Fest 2018 16-JUN-2018 3
  3. 14.
  4. 35.

    JavaScriptͷྫ // var a = {first: 1, second: 2} //

    b = a // ࢀরͷΈͷڞ༗ { first: 1, second: 2 } // a.second = 3 3 // b // ཁૉͷ࣮ମ͸ڞ༗ { first: 1, second: 3 } // b == { first: 1, second: 3 } false // ͳͥ? // ӈଆ͸ίϯετϥΫλͳͷͰҰக͠ͳ͍ Kenji Rikitake / Erlang and Elixir Fest 2018 16-JUN-2018 35
  5. 36.

    Erlang/OTPͷྫ %%% ୅ೖ͢Δ࣮ମ͸ৗʹ৽ͭ͘͘͠ΒΕΔ %%% ࠶୅ೖ͸ͦ΋ͦ΋Ͱ͖ͳ͍ % A1 = {1,2,3}. {1,2,3}

    % B1 = A1. {1,2,3} % ίϐʔ͕Ͱ͖Δ % A2 = setelement(3,A1,4). {1,2,4} % B1 =:= {1,2,3}. true Kenji Rikitake / Erlang and Elixir Fest 2018 16-JUN-2018 36
  6. 41.

    ܰྔฒߦϓϩηε 1 ॲཧաఔ͸ͦΕͧΕϓϩηεʹׂΓ౰ͯΒΕͯฒߦʹॲཧ ೖྗ ॲཧ ग़ྗ ೖྗ1 → ॲཧ1 →

    ग़ྗ1 ೖྗ2 → ॲཧ2 → ग़ྗ2 ೖྗ3 → ॲཧ3 → ग़ྗ3 ೖྗ4 → ॲཧ4 → ग़ྗ4 1 Francesco Cesarini, Simon Thompson, "Erlang Programming", O'Reilly Media, 2009, p. 112, Figure 4-14 ΑΓྗ෢݈࣍ʹΑͬͯ࠶ߏ੒ Kenji Rikitake / Erlang and Elixir Fest 2018 16-JUN-2018 41
  7. 42.

    ܰྔϓϩηεͷίϯτϩʔϧ 2 ࡞Δͷ͸spawnҰൃ མͱ͢ͷ͸link΍monitorͰOK ͖Ε͍ʹམͱ͢ͷ͸େม ϓϩηεΩϡʔ͕٧·Δͱऴྃ ॲཧ͕஗͍ͷͰ஫ҙ 2 ࡢ೥ͷElixir Conf

    Japan 2017ͷ@voluntasʹΑΔߨԋʮͳͥ Erlang/OTP Λ࢖͍ଓ͚Δͷ ͔ʯΛࢀর Kenji Rikitake / Erlang and Elixir Fest 2018 16-JUN-2018 42
  8. 60.

    ࣸਅ౳ΫϨδοτ • Title: Samuel Wong on Unsplash.com • José Valim:

    By Augie De Blieck from USA (elixirconf-47), CC BY 2.0, via Wikimedia Commons • Dave Thomas: By James Davidson (Flickr: Dave Thomas) CC BY 2.0, via Wikimedia Commons • Pragmatic Bookshelf Elixir/OTP/Phoenix books page • ϦϯΫʹΑΔྫ֎γάφϧૹ৴ྫ • ϞχλʔʹΑΔྫ֎ϝοηʔδૹ৴ྫ: ྗ෢݈࣍ɺʮErlangͰֶͿฒߦϓϩάϥϛϯάୈ8ճʯɺ Software Design 2015೥11݄߸ɺٕज़ධ࿦ࣾɺp. 124ͷਤΛ࠶ߏ੒ɻ • ε΢Σʔσϯࠃض: By Jon Harald Søby and others. Public domain, via Wikimedia Commons • ϖύϘݚڀॴϩΰ: GMOϖύϘגࣜձࣾ • εϥΠυதͷॻ੶ͷදࢴͱதදࢴʹ͍ͭͯ͸ΦʔϜࣾɺNo Starch Press, Pragmatic Bookshelfͷ ॻ੶৘ใΛઐΒॻ੶঺հͷ໨తͰ࢖༻͍ͯ͠·͢ɻ • ্هʹ஫ऍͷͳ͍ࣸਅɺਤɺֆʹ͍ͭͯ͸ྗ෢݈͕࣍ࡱӨɺฤूɺ੍࡞͍ͯ͠·͢ɻ Kenji Rikitake / Erlang and Elixir Fest 2018 16-JUN-2018 60