サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
アメリカ大統領選
michal.muskala.eu
OTP 21 is out! 🎉 In this post I’m going to list things that, I think, will matter the most for Elixir users. Faster compiler The compiler is about 10-20% faster. There are lots of factors that contribute to that result - the BEAM emulator is faster itself, the compiler received some performance improvements and the file system was completely overhauled to use NIFs and dirty schedulers instead of
There was an interesting discussion yesterday on the Elixir Slack about how libraries should handle errors. This is a more thought-through and elaborate expression on my views on the matter. In the post, I’ll present an idealised version of how I think a public API for functions that may produce errors should look like. Errors vs Exceptions In most applications we can distinguish two kinds of situ
The Unix Timestamps in Elixir post is by far my most popular one. Because a lot changed in recent Elixir versions when it comes to handling of calendar types (such as dates, datetimes and times), I though it might be a good idea to update it. What should I use? Elixir standard library provides structs for all important calendrical types (Date, DateTime, NaiveDateTime and Time) and some basic funct
Lately, there were several people asking on IRC how to deal with unix timestamps in Elixir, so I decided to write a little bit more about this. UPDATE: Since this blog post was created a lot changed and getting timestamps and managing calendar types (dates, datetimes, times) got a lot easier in Elixir in general. Consider checking out the updated version of this post What should I use? Elixir’s st
As I wrote last week, this summer I’m working on bringing the power of NoSQL to Ecto. This week I’d like to share with you what I learned about Ecto adapters alongside some tips on how to implement Ecto adapters for new databases. Maybe this will be your next week-end project? What does it take? Creating adapters for Ecto is really easy. The documentation is great (as in all core projects in Elixi
このページを最初にブックマークしてみませんか?
『michal.muskala.eu』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く