はてなエンジニア Advent Calendar 2019 - Qiita 12/6 12/5 はAWS コストエクスプローラー API と気軽につきあう(2019) - Qiitaであった。 今暫くは都合で Scala を書いてゐる。數年 Elixir をやってきた身だから、簡單に比較してみやう。 同じ所 函數型言語である Elixir も Scala も、函數を組み合はせる事で program を作る言語だ。 不變 data Lisp のやうに、函數型言語だからと言って data が不變とは限らない。しかし Elixir も Scala (var 付きの class や Java の class を使はなければ) も data は書き換へられない。どちらでも (Scala では var を使ふ) 再代入は出來る。またどちらも Haskell の樣に副作用を局所化したりはしないから、大域
Ask questions and post articles about the Go programming language and related tools, events etc.
測定に至る背景 再来週に開催する清流elixirの勉強会でifとパターンマッチでそれだけ実行速度に差が出るのかを測定しようと企画している そのために自身の予習を兼ねて、Elixirでの実行速度の測定方法について調査し、簡単な実験を行なってみた 以前から気になっていた Enum.sum() Enun.reduce() 上記2つはどちらが速いのか(sumはreduceで記述可能なため) 再帰関数とEnun.map()はどっちが速いのかなど... 色々と速度比較してみたのでまとめていく Elixirでの実行速度の測定方法 Elixirには実行速度を測定するような関数は用意されていない そのためErlangの:timer.tcという関数をcallする :timer.tcには以下のように :timer.tc(function) :timer.tc(function, [arguments]) :ti
This document compares and contrasts Clojure and Elixir programming languages. It provides an overview of their origins, syntax, concurrency models, macro systems, and further reading recommendations. Key points include Clojure running on the JVM while Elixir runs on the BEAM VM, both having Lisp-like syntax with differences in collection types, and both supporting metaprogramming through macros w
A friend of dwyl asked the following question in our "chat" system: We feel it's worth capturing the reply in public because it's relevant to anyone considering Elixir. "Hi guys, sorry for bothering, but I need your help/input with something I know that you have been working with Elixir now for a while So I want to ask you guys on your thoughts about it now after doing some real work with it The p
Alchemist Sendivogius By Jan Matejko — pl.pinterest.com, Public Domain, https://commons.wikimedia.org/w/index.php?curid=67711Everybody knows Python, right?!When we started Pylon and began building our first conversational platform, we chose the tools that allowed everyone to contribute on day one: Python, Django, PostgreSQL, and Redis. As with any foray into uncharted territory, the first attempt
When 2017/04/01 At Elixir Conf Japan 2017 LT Self Introduction ちきさん (Tomohiro Noguchi) Twitter/GitHub/Qiita: @ovrmrw I've started to learn Elixir 1 month ago. What I talk about Reading a JSON file and doing MapReduce. (JSONファイルを読み込んでMapReduceしたい。) Differences between Eager, Lazy and Flow(Concurrent). (Eager, Lazy, Flow(Concurrent)の違いについて。) Flow & GenStage is extremely fast. (Flowめちゃくちゃ速い。) === Git
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く