elixir-lang/elixir
View on GitHub ↗ ★ 26,700 Elixir
Simple from zero to scale
109 mentions on Hacker News by 87 people: 42 stories, 67 comments · first 2012-05-25 · latest 2026-02-21
20082026
-
…existing Elixir codebase). Its not yet perfect, but I've been eagerly following along with this PR: https://github.com/elixir-lang/elixir/pull/14262#issuecommen... Seems like (one of) the next Elixir releases will include the support…
comment by sethhochberg · 2025-09-13 · in My first impressions of Gleam -
…Elixir isn't aware that it was interrupted" - our tooling has code to deal precisely with this: [ https://github.com/elixir-lang/elixir/blob/c5c87a661efac6809... ]( https://github.com/elixir-lang/elixir/blob/c5c87a661efac6809... ). If it…
comment by xlii · 2025-03-26 · in Coordinating the Superbowl's visual fidelity with Elixir -
…if it only used 10% CPU before. In any case, a PR adding this feature was merged this week: https://github.com/elixir-lang/elixir/pull/14340 . In my machine, compiling a project like Livebook uses 350% CPU without the flag above (showing…
comment by josevalim · 2025-03-26 · in Coordinating the Superbowl's visual fidelity with Elixir -
…constructs, such as defmodule, def, if, unless, and even defmacro[1] are actually macros...." [1] https://github.com/elixir-lang/elixir/blob/v1.18.2/lib/elixi...
comment by notpublic · 2025-02-25 · in Embedding Python in Elixir, it's fine -
I was wrong about this. Case is a macro (a special-cased macro even, defined at https://github.com/elixir-lang/elixir/blob/4def31f8abea5fba4... ), not a function. It works with pipes because in the AST it's a call, unlike in Haskell where…
comment by leifmetcalf · 2025-01-20 · in Haskell: A Great Procedural Language -
…letters, numbers and underscore So I changed to test_elixir_app, and got this output: downloading https://github.com/elixir-lang/elixir/releases/download/v1.17.3/elixir-otp-27.zip fedora is not supported This was a spur of the moment…
comment by hiisukun · 2024-12-04 · in Phoenix LiveView 1.0.0 is here -
…has significant parts written in Erlang. I don’t know if it’s a majority but it’s a lot. e.g.: https://github.com/elixir-lang/elixir/blob/aef7e4eab521dfba9...
comment by jolux · 2024-09-12 · in Why Haskell? -
…can be a macro, and that's how libraries inject things into your current namespace. Consider also: https://github.com/elixir-lang/elixir/blob/main/lib/elixir/l... Julia looks beautiful but I keep forgetting to play with it. I'd use the…
comment by mst · 2024-07-25 · in Defense of Lisp macros: The automotive field as a case in point -
It will soon. https://github.com/elixir-lang/elixir/releases/tag/v1.17.0-r...
comment by Sparkle-san · 2024-06-12 · in My Favourite Gleam Feature -
…is some subtle interplay with regard to waiting for messages/timeouts and process links. [0] - https://github.com/elixir-lang/elixir/blob/v1.16.3/lib/elixi... [1] - https://github.com/elixir-lang/elixir/blob/v1.16.3/lib/elixi... [2] -…
comment by asa400 · 2024-06-03 · in Ruby's Timeout is dangerous and Thread.raise is terrifying (2015) -
The RC for 1.17 is out, and the notes will tell you what type checks are included: https://github.com/elixir-lang/elixir/releases/tag/v1.17.0-r...
comment by andypants · 2024-05-28 · in Gleam 1.2.0 release – Fault tolerant Gleam -
…https://www.erlang.org/doc/apps/kernel/eep48_chapter https://www.erlang.org/eeps/eep-0048.html https://github.com/elixir-lang/elixir/issues/7198
comment by wut42 · 2024-02-16 · in Erlang/OTP 27.0 Release Candidate 1 -
…size: `<<^var::binary-size(byte_size(^var)), rest::binary>>`. You can find more examples in the PR https://github.com/elixir-lang/elixir/pull/13106 .
comment by sabiwara · 2023-12-24 · in Elixir v1.16 Released -
…Here, "use GenServer" imports default implementation of various handlers which can be overridden. https://github.com/elixir-lang/elixir/blob/main/lib/elixir/l...
comment by notpublic · 2023-09-08 · in Unpacking Elixir: Syntax -
…the definition for `defmacro`, the macro for defining macros, which is defined using... defmacro https://github.com/elixir-lang/elixir/blob/v1.15/lib/elixir/...
comment by bhaney · 2023-08-03 · in Elixir for cynical curmudgeons -
…what Task.await/2 and Task.yield/2 use under the hood, yields execution. NIFs are another one. [1] https://github.com/elixir-lang/elixir/blob/fb729784e5504f499...
comment by SirGiggles · 2023-03-20 · in How Async/Await Works in C# -
…expect TCO to simplify of my "simple" implementation of def then(value, fun) do fun.(value) end https://github.com/elixir-lang/elixir/blob/a64d42f5d3cb6c327...
comment by ollien · 2023-01-20 · in Pipe Operator (|>) For JavaScript -
In the Elixir kernel, defmacro is defined by calling the defmacro macro about itself https://github.com/elixir-lang/elixir/blob/main/lib/elixir/l...
comment by JediLuke · 2022-10-31 · in Ask HN: What piece of code/codebase blew your mind when you saw it? -
The problem that’s hard to get around is this: https://github.com/elixir-lang/elixir/issues/6357 Tail calls don’t have to be recursive. See also this old thread: https://news.ycombinator.com/item?id=5376924
comment by foldr · 2022-06-15 · in What happened to proper tail calls in JavaScript? (2021) -
1.13.4 is verified on OTP 25 RC2, so I'd assume it supports the release OTP 25. See: https://github.com/elixir-lang/elixir/releases/tag/v1.13.4
comment by ricketycricket · 2022-05-18 · in Erlang/OTP 25.0 Release -
…of GenServer[1]. With the same luck we could spin up an agent per user. [1] [Agent.start_link/2]( https://github.com/elixir-lang/elixir/blob/9137fd1cb2368bb1b... )
comment by manusachi · 2021-07-24 · in Elixir: Practical Concurrency Cookbook -
…pushed a commit to master that made loading of Elixir's test suite 33% faster (from 15s to 10s): https://github.com/elixir-lang/elixir/commit/2eb03e4a314c0e6... Unfortunately, it is a bit too large (and too late) for v1.12, but if loading…
comment by josevalim · 2021-05-12 · in Erlang/OTP 24 highlights -
…errors have been super annoying. Looks like Elixir 1.12 will take full advantage of EEP 54: https://github.com/elixir-lang/elixir/releases/tag/v1.12.0-r...
comment by sgrytoyr · 2021-05-12 · in Erlang/OTP 24 highlights -
…1.11 [0]. Compared to TypeScript + React and Java, Elixir build times are significantly better. [0] https://github.com/elixir-lang/elixir/blob/v1.11/CHANGELOG.m...
comment by emerongi · 2021-04-05 · in Elixir and Phoenix after two years -
…in the parser, to add new operators the Elixir parser needs to be changed. You can see them here https://github.com/elixir-lang/elixir/blob/master/lib/elixir... Not all of them are defined in the language, the list of the unused infix…
comment by africanboy · 2021-02-18 · in Nx: Multi-dimensional tensors Elixir lib with multi-staged compilation (CPU/GPU) -
Ok, we changed to that from https://github.com/elixir-lang/elixir/releases/tag/v1.11.0 . Thanks!
comment by dang · 2020-10-06 · in Elixir 1.11 -
…non-OO languages that explicitly use the first-parameter-is-struct pattern, e.g: struct definition: https://github.com/elixir-lang/elixir/blob/v1.10.4/lib/elixi... and functions: https://hexdocs.pm/elixir/Date.html#functions
comment by dnautics · 2020-09-02 · in Why is OOP still so widely spread? -
…But yeah, some more detail on a) what it's doing and b) why it's awesome would've been nice. [1]: https://github.com/elixir-lang/elixir/blob/0d32ea6bc4bcbd626... [2]: https://elixir-lang.org/getting-started/meta/quote-and-unquo...
comment by EdwardDiego · 2020-04-02 · in History of Erlang and Elixir -
…async by default. It's concurrent. In order to get async, you have to do a ton of wrapping, e.g. https://github.com/elixir-lang/elixir/blob/v1.9.4/lib/elixir...
comment by dnautics · 2020-01-10 · in BeOS: The Alternate Universe's Mac OS X -
…The language I’m most familiar with, Elixir, employs this strategy to support Unicode; see e.g. https://github.com/elixir-lang/elixir/blob/master/lib/elixir...
comment by derefr · 2019-06-11 · in Unicode programming, with examples in C -
…for your project by simply calling `mix escript.build`. This has been available since v1.0 ( https://github.com/elixir-lang/elixir/blob/v1.0.0/lib/mix/li... ). You can even install escripts directly from Hex (our package manager) since…
comment by josevalim · 2019-04-03 · in Moving on from Rails and What’s Next -
Thanks, we changed to that from https://github.com/elixir-lang/elixir/releases/tag/v1.8.0 .
comment by dang · 2019-01-15 · in Elixir v1.8 released -
…Let's consider Elixir, for example. Issue: EEx multiple callbacks with `-> %>…<% end` format, https://github.com/elixir-lang/elixir/issues/8590 Fix: https://github.com/LostKobrakai/elixir/commit/d33fdb57d457dd... It describes what the code…
comment by dmitriid · 2019-01-08 · in Red Programming Language: Plans for 2019 -
…do :first -> raise Enum.EmptyError {:acc, acc} -> acc end end Seems pretty straightforward to me. https://github.com/elixir-lang/elixir/blob/v1.7.4/lib/elixir...
comment by lbarrow · 2019-01-04 · in Coconut: Pythonic functional programming -
…script, in a pre-compilation step in the Makefile, that literally prints blocks of code [2]. [1] https://github.com/elixir-lang/elixir/blob/v1.7.4/lib/elixir... [2] https://github.com/erlang/otp/blob/OTP-21.2/lib/stdlib/uc_sp...
comment by ramchip · 2018-12-12 · in Twenty Years of Open Source Erlang: A Retrospective from the trenches -
…Instead, the feeling is: "It's feature complete and only needs maintenance from here on out." https://github.com/elixir-lang/elixir
comment by brentjanderson · 2018-09-21 · in Ask HN: What open source project, in your opinion, has the highest code quality? -
…and link back here. Sounds like it could be an interesting issue and I might be able to contribute. https://github.com/elixir-lang/elixir/issues https://github.com/phoenixframework/phoenix/issues
comment by burky · 2018-07-26 · in Elixir v1.7 released -
…as the introduction of maps (unless I'm missing something), but a pretty solid release anyway. [1] https://github.com/elixir-lang/elixir/pull/7649
comment by klibertp · 2018-06-20 · in Erlang OTP 21.0 is Released -
…engagement but still it leaves a bad first impression. Contrast this to elixir project page ( https://github.com/elixir-lang/elixir ). Maybe someone who is actively involved in the development of Crystal could shine a light?
comment by mannycalavera · 2018-06-15 · in Why Crystal is the most promising programming language of 2018 -
…ogs.msdn.microsoft.com/dsyme/2011/05/17/archeologi... ) 2005 and earlier: F# 2012: Elm 2013: Elixir ( https://github.com/elixir-lang/elixir/pull/751 ) 2013: OCaml ( https://ocaml.org/releases/4.01.0.html )
comment by grndn · 2018-01-20 · in JS things I didn’t know existed -
…tried my hand at a pure-Elixir guard expansion in an earlier PR, documenting my thoughts as I went: https://github.com/elixir-lang/elixir/pull/5854 After José gave me some direction in response to that, I produced the ultimate PR:…
comment by christhekeele · 2018-01-18 · in Elixir v1.6 released: code formatter, dynamic supervisors, and more -
…> A `.formatter.exs` file can also be defined for customizing input files and the formatter itself https://github.com/elixir-lang/elixir/blob/master/lib/mix/li...
comment by davidkuhta · 2018-01-17 · in Elixir v1.6 released: code formatter, dynamic supervisors, and more -
…while they also encapsulate the start-up and shutdown logic. I have opened an issue for this here: https://github.com/elixir-lang/elixir/issues/6479 > What command do I run? when do I run an app vs compiling it? What If I want command line…
comment by josevalim · 2017-08-18 · in Why Elixir (2014) -
…Elixir 1.5 has introduced improved messages for pattern matching errors in function clauses: https://github.com/elixir-lang/elixir/blob/v1.5/CHANGELOG.md...
comment by agd · 2017-08-18 · in Why Elixir (2014) -
…://hexdocs.pm/mix/Mix.Tasks.Deps.Get.html#content And honestly, I often just look at the source code: https://github.com/elixir-lang/elixir/tree/master/lib/mix The Elixir Slack channel is pretty amazing, too:…
comment by amorphid · 2017-07-12 · in How Discord Scaled Elixir to 5M Concurrent Users -
…[0]. That's impressively early for adoption of a language for prototyping and for production. [0] https://github.com/elixir-lang/elixir/releases/tag/v1.0.0
comment by danso · 2017-07-11 · in How Discord Scaled Elixir to 5M Concurrent Users -
…or java.util.Concurrent. or in C++ that might be Boost. In Elixir, I start with Kernel.ex[0] https://github.com/elixir-lang/elixir/blob/master/lib/elixir...
comment by _asummers · 2017-06-29 · in Learn to Read Code -
This is part of the Elixir standard library https://hexdocs.pm/elixir/List.html#myers_difference/2 https://github.com/elixir-lang/elixir/blob/master/lib/elixir...
comment by flippant · 2017-02-23 · in The Myers diff algorithm: part 1 -
…of improvement process (i.e. PEP)? All planned improvements are currently in the issues tracker: https://github.com/elixir-lang/elixir/issues . It is a short list because it is a stable language and the focus is on the ecosystem rather…
comment by josevalim · 2017-02-09 · in How Elixir helped Bleacher Report handle 8x more traffic -
…use Gerrit. Meanwhile Elixir you open a PR and Jose and the gang address it quickly. 4 open PR's! https://github.com/elixir-lang/elixir/pulls
comment by sergiotapia · 2017-01-05 · in Go Proposal: Accept GitHub PRs