Model your domain, derive the rest The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.
Lunatic is a VM and rust library that brings Elixir-like concurrency and fault tolerance to Rust. Around 1.5 years ago I wrote a blog post about brining some popular ideas from Erlang and Elixir to Rust. It ended up on the front page of Hacker News and received a fair amount of traffic. I think that now is a good time to give a status update on the project and see what worked well and what didn’t.
Elixir v1.17 released: set-theoretic data types, calendar durations, and Erlang/OTP 27 support Elixir v1.17 has just been released. 🎉 This release introduces set-theoretic types into a handful of language constructs. While there are still many steps ahead of us, this important milestone already brings benefits to developers in the form of new warnings for common mistakes. This new version also ad
Pattern matching is a pervasive and powerful tool in Elixir. This isn't too surprising if you know a little about the history of Elixir's parent language, Erlang. Erlang was originally inspired by and written in Prolog, a logic programming language where pattern matching has first-class support. In Elixir, you might see an expression like this: [x, [2, y]] = [1, [2, 3]]When this expression is eval
How We Got to LiveView Author Name Chris McCord @chris_mccord @chris_mccord Image by Annie Ruygt I’m Chris McCord. I work at Fly.io and created Phoenix, an Elixir web framework. Phoenix provides features out-of-the-box that are difficult in other languages and frameworks. This is a post about how we created LiveView, our flagship feature. LiveView strips away layers of abstraction, because it solv
紙書籍をお届けします(PDFがついてきます) PDFのみ必要な場合は、こちらからPDF単体を購入できます 通常はご注文から2~3営業日で発送します 年末年始や大型連休など、1週間から10日程度、配送のお休みをいただく場合があります。詳しくはお知らせをご覧ください テストケースはコンピューターで書くべき! でもどうやって? その答えが「プロパティベーステスト」です Fred Hebert 著、山口能迪 訳 原書 Property-Based Testing with PropEr, Erlang, and Elixir 376ページ A5判/1色刷 ISBN:978-4-908686-18-4 2023年11月1日 発行 従来のユニットテストでは、人間が「入力に対してコードが返すべき値」を考えて、その通りの結果が得られるかどうかをテストします。 これに対してプロパティベーステストでは、数万に
As Elixir's Machine Learning (ML) ecosystem grows, many Elixir enthusiasts who wish to adopt the new machine learning libraries in their projects are stuck at a crossroads of wanting to move away from their existing ML stack (typically Python) while not having a clear path of how to do so. I would like to take some time to talk to WHY I believe now is a good time to start porting over Machine Lear
Today, Elixir powers companies like Discord with millions of concurrent users.1 In this article, we look at the origin story of Elixir and its creator, José Valim. What led José to create Elixir? What were the early days like? How did it grow? Who is José Valim?José Valim is a Brazilian software engineer, who developed an interest in multi-core systems at a young age.2 Going back to my first compu
Web dev got simple again. Build rich, interactive UIs entirely in Elixir using Hologram's declarative component system. Your client-side code is intelligently transpiled to JavaScript, providing modern frontend capabilities without relying on any JavaScript frameworks.
Elixir is a functional programming language whose popularity is rising in the industry link. However, there are few works in the scientific literature focused on studying the internal quality of systems implemented in this language. In order to better understand the types of sub-optimal code structures that can harm the internal quality of Elixir systems, we scoured websites, blogs, forums, and vi
原文: https://elixir-lang.org/blog/2023/06/22/type-system-updates-research-dev/ 1年前のElixirConf EU 2022で,私たちはElixirの型システムを研究開発する取り組みを発表しました.動画 報告書 訳註: 報告書日本語訳 この研究は,CNRS 上級研究員の Giuseppe Castagna の指導の下で行われており,Guillaume Duboc が博士課程の研究の一環として担当し,さらに私 (José Valim) が指導しています. この記事は,私たちの取り組みの現状と今後の方向性をまとめたものです. 研究完了 研究中の私たちの主な目標は,Elixir の機能のセマンティクス(意味論)のほとんどをモデル化できる型システムを見つけること,さらに互換性がない,または欠けているとわかった領域についてま
Cyanview: Coordinating Super Bowl's visual fidelity with Elixir How do you coordinate visual fidelity across two hundred cameras for a live event like the Super Bowl? The answer is: by using the craft of camera shading, which involves adjusting each camera to ensure they match up in color, exposure and various other visual aspects. The goal is to turn the live event broadcast into a cohesive and c
Elixir Digitalization Implementors/fukuoka.ex/kokura.exのpiacereです ご覧いただいて、ありがとうございます 引き続き、Elixirの2021年を占うポジションであるニューラルネットワーク/ディープラーニング用ライブラリ「Nx」についてです 前回は、defn+XLAでGPUを動かそうと奮闘して、動かせなかったので、今回、その続きをしようと思ったのですが、Elixir創始者José Valimから下記ツイートをもらったので、それを試します Once this PR is merged, you should be able to compile it outside of WSL: https://t.co/RPRT98YUaW :) — José Valim (@josevalim) February 20, 2021 内容が、面
Thoughts on Elixir, Phoenix and LiveView after 18 months of commercial use I’ve been leading a team developing an application using Elixir, Phoenix and LiveView for the last 18 months and accumulated some thoughts on the stack. For the most part, it has been a very pleasant experience. Compared to my initial evaluation of Elixir that I’d done prior to diving in in earnest, it exceeded my expectati
Phoenix 1.7-rc’s announcement mentions that Phoenix is dropping Phoenix.View. But don’t worry. It’s for a good reason. Phoenix team unified the HTML rendering approaches whether from a controller request, or a LiveView. So, controllers and LiveViews will both render function components! Here’s how it works. 👇 Function components instead of views Controllers now render templates via format-based E
Sean Moriarity and I are glad to announce that the project we have been working on for the last 3 months, Nx, is finally publicly available on GitHub. Our goal with Nx is to provide the foundation for Numerical Elixir. In this blog post, I am going to outline the work we have done so far, some of the design decisions, and what we are planning to explore next. If you are looking for other resources
This is article contains excerpts from my keynotes at ElixirConf Europe 2022 and ElixirConf US 2022. In May 2022, we have celebrated 10 years since Elixir v0.5, the first public release of Elixir, was announced. At such occasions, it may be tempting to try to predict how Elixir will look in 10 years from now. However, I believe that would be a futile effort, because, 10 years ago, I would never ha
We all have varying degrees of exposure to Big Tech. Some of it seems fine, stable and can be relied on. Some of it feels like shifting sand under your feet. React seems to move a lot on whims, I don’t envy tracking that. Go seems like it might be fairly stable? With the current geo-political climate I don’t find massive corporations to be a guarantee for stability. People may be getting fired eve
概要 本書は、Elixirの言語仕様と実践的な利用方法を解説した入門書です。 Elixirは、低遅延で高い可用性を要求される分散システムの構築と運用を目的とするErlang VM上で動作する言語で、その文法はRubyから大きく影響を受けています。ゲームやチャットプラットフォームなど大量のコネクションとトラフィックを扱う必要のあるシステムを構築するのに利用されています。有用なツールやライブラリが多数開発されているのも後押しとなり、近年ではさまざまな分野に活躍の場を広げつつあります。 本書では、Webアプリケーション、機械学習、IoTなどでのElixirの活用方法を解説します。サンプルアプリケーションを開発しながらコードを紹介しつつ解説しています。Phoenix、Nx、Livebook、Nervesといったツールやライブラリの実践的な活用方法も紹介しているので、今の開発に即した実践的な知識が身
はじめに 最近 Elixir と Phoenix に入門したので学習用に WEB アプリケーションを作成しました。 これはその記録です。 今回作成したプロジェクトのソースコードは僕の Github リポジトリにあります。 これが誰かの参考になれば幸いです。 Elixir とは Elixir は BEAM という Erlang VM 上で動作する関数型言語です。 軽量プロセスによる分散処理や高い対象外性、パターンマッチングやデータの不変性などによる高いスケーラビリティが特徴です。 他にも Elixir ではドキュメントやテストも重視されており豊富な補助機能が用意されています。 関数型プログラミングはとてもシンプルで、複雑なロジックも副作用のない小さな関数に分けることで読みやすくテストも容易になります。 Phoenix とは Phoenix は Elixir で開発された WEB フレームワー
A year ago, at ElixirConf EU 2022, we announced an effort to research and develop a type system for Elixir (video presentation) (written report). This work is happening under the lead of Giuseppe Castagna, CNRS Senior Researcher, and taken by Guillaume Duboc as part of his PhD studies, with further guidance from myself (José Valim). This article is a summary of where we are in our efforts and wher
Elixir v1.19 released: enhanced type checking and up to 4x faster compilation for large projects Elixir v1.19 brings further improvements to the type system and compilation times, allowing us to find more bugs, faster. Type system improvements This release improves the type system by adding type inference of anonymous functions and type checking of protocols. These enhancements seem simple on the
I wrote my first Node program in 2013. (It was in CoffeeScript.) In those days, there were three factors contributing to Node's ascendancy: The first was "JavaScript everywhere." This originally meant "JavaScript on the front-end, JavaScript on the back-end," which always struck me as a weak rationale. (This has since evolved into "might is right" and JavaScript as a lingua franca, which is a bit
Introducing Elixir Observer: A Better Way to Explore Elixir PackagesIntroducing Elixir Observer, an open-source tool by Mimiquate designed to simplify package discovery in the Elixir ecosystem. With a clean UI, insightful package health indicators, and essential resources at your fingertips, it's built to help developers quickly find and evaluate packages. We’ve been working on something at Mimiqu
In order to make web apps with Elixir, here’s a short primer on learning the language and major frameworks: First, don’t just learn Elixir. You can and should learn Elixir and Phoenix at the same time. After getting a hang of Phoenix, jump into LiveView. There is a learning curve to the ecosytem. It’s not particularly steep, but it is longer than a language like go but not as long as required by t
多言語を習得する際の困り事 「Rubyだと配列からnullを排除する時 compactで出来たけど、Elixirだとどう書くんだろう。。 あれ、Enum.select って無いのか Enum.filterを使えばいいのね!」 Elixirを学習中に、上記のような ちょっと調べればわかるけれども、ちょっと調べないといけないような事が、ちょくちょく発生しました。 RubyやRailsのEnumerable系メソッドをElixirでも使えるようにしました! RubyやRailsはその歴史の長さや、コミュニティの厚さにより、便利なmethodや直感的なaliasが多数定義されてます。 それらの資産を有効活用できないかと思い、REnumという、ElixirのmoduleをRuby/Rails風に拡張したライブラリをリリースしました。 なぜ、Enum(Enumerable)等に焦点を当てたかというと、
Update: the new language server is called Expert and is currently available in alpha as open source. Companies wanting to directly sponsor work on Expert, please reach out to Dan Janowski from the Erlang Ecosystem Foundation, which has kindly stepped in to manage and bring visibility into the project sponsorships. I am glad to welcome Elixir’s official Language Server team, formed by (in alphabeti
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く