erlang/otp
View on GitHub ↗ ★ 12,353 Erlang
Erlang/OTP
93 mentions on Hacker News by 73 people: 19 stories, 74 comments · first 2009-11-25 · latest 2026-05-11
20082026
-
Already existed when it was first merged: https://github.com/erlang/otp/commit/fefb5d039e87ff7137e78b3... Atomics were introduced a while before `counters`, maybe you remember a custom implementation on top of that?
comment by filmor · 2026-05-11 · in Counting Fast in Erlang with:counters and:atomics -
…why Erlang BEAM itself is written in C Language with loops that mutate variables everywhere. E.g.: https://github.com/erlang/otp/blob/master/erts/emulator/beam... There's no need to re-write BEAM in an immutable language. Mutable data…
comment by jasode · 2025-08-21 · in Data, objects, and how we're railroaded into poor design (2018) -
…critical systems where human lives depend on? "BEAM crashes with segmentation fault #7683" - https://github.com/erlang/otp/issues/7683 You dont use NIFs ? "A native function that crashes will crash the whole VM." -…
comment by belter · 2025-06-05 · in LLMs and Elixir: Windfall or deathblow? -
…{send, SshMsgChannelOpen}, {send, SshMsgChannelRequest}, {match, disconnect(), receive_msg} https://github.com/erlang/otp/commit/6eef04130afc8b0ccb63c9a... edit: Ah, found by the people at RUB, they do a lot of research in verifying…
comment by formerly_proven · 2025-04-17 · in Unauthenticated Remote Code Execution in Erlang/OTP SSH -
▲ 8
Unauthenticated Remote Code Execution in Erlang/OTP SSHstory by asa400 · 2025-04-17 · 0 comments
-
…the slot in the closure environment at this time as well. See the implementation of the BIF [here]( https://github.com/erlang/otp/blob/6cefa05a2a977864150908feb... ) if you are curious. At runtime, when the closure is executed, the…
comment by bitwalker · 2024-12-13 · in Elixir/Erlang Hot Swapping Code (2016) -
…barely works, slow, ugly as hell and complicated. [0] https://github.com/thejoshwolfe/consoline [1] https://github.com/erlang/otp/blob/90a48ae2bff26d5df67ceaa7e...
comment by Joker_vD · 2024-08-12 · in Things I've learned building a modern TUI Framework (2022) -
…safe to do so, thus improving performance by doing less copying but also by producing less garbage. https://github.com/erlang/otp/releases?q=27&expanded=true It should be possible to add Elixir syntactic sugar to make this more concise and…
comment by mikhailfranco · 2024-06-26 · in Elixir Gotchas -
▲ 1
Ask HN: Elixir LSP doesn't work on VSCode and Neovim. Any solutions?story by behnamoh · 2024-05-27 · 3 comments
-
Cool, they've added support for long message queue monitoring: https://github.com/erlang/otp/pull/7651
comment by rhodin · 2024-05-20 · in Erlang/OTP 27.0 Release -
There are more benchmarks and quite a bit more detail here: https://github.com/erlang/otp/pull/8111
comment by asa400 · 2024-04-26 · in The Optimizations in Erlang/OTP 27 -
…still effectively block the VM. [1] https://www.erlang.org/doc/man/erl_nif#enif_schedule_nif [2] https://github.com/erlang/otp/blob/ab7b354c37dac92704faac455... [3] https://www.erlang.org/doc/man/erl_nif#enif_consume_timeslic...
comment by rdtsc · 2024-03-01 · in Scheduling Internals -
https://github.com/erlang/otp/blob/adf0d2204215c12a03188f5d5...
comment by superdisk · 2024-01-11 · in epoll: The API that powers the modern internet (2022) -
…That’s my take. What are your demonstrations that we are pretty useless for the BEAM ecosystem? 1: https://github.com/erlang/otp/pulls?q=is%3Apr+author%3Ajosev... 2: https://hex.pm/ 3: https://hexdocs.pm/recon
comment by josevalim · 2023-08-03 · in Elixir for cynical curmudgeons -
The BEAM VM (Erlang/Elixir) recently optimized a related procedure as well https://github.com/erlang/otp/pull/7426
comment by dcsommer · 2023-07-09 · in Packing a string of digits into an integer quickly -
…projects open sourced by my team: - a massive speedup of a common static analyzer for Erlang ( https://github.com/erlang/otp/pull/5997 ) - a type checker for Erlang ( https://github.com/WhatsApp/eqwalizer/ ) - an automated code formatter…
comment by rmorisset · 2023-04-26 · in Erlfuzz – Fuzzer for the Erlang compiler and VM -
…like the JIT improvements made it profitable to manually unroll some loops in the base64 module: https://github.com/erlang/otp/commit/a03cf1601605dee767cd9d5... IOW, the 4x improvement seems to largely come from a refactor of the base64…
comment by wahern · 2023-04-20 · in More optimizations in the compiler and JIT -
It's Apache 2.0 Reference: https://github.com/erlang/otp/blob/master/erts/AUTHORS
comment by frellus · 2023-02-02 · in Erlang: The coding language that finance forgot (2022) -
▲ 1
Writing Good Commit Messagesstory by susam · 2022-11-20 · 0 comments
-
is Erlang and JDK general enough for you? Oh, both use linked lists, https://github.com/erlang/otp/blob/master/lib/stdlib/src/que... https://github.com/openjdk-mirror/jdk7u-jdk/blob/master/src/...
comment by waynesonfire · 2022-11-04 · in In defense of linked lists -
…a meta-interpreter included in the standard library: https://erlang.org/doc/man/erl_eval.html https://github.com/erlang/otp/blob/master/lib/stdlib/src/erl... It's not lisp levels of concise, but the language was not designed for that.
comment by tomn · 2021-08-31 · in Why Erlang? -
The source for Erlang/OTP is 71.6% Erlang: https://github.com/erlang/otp - but yes, some of the lowest-level parts are written in C. As for universality, not sure where you’re getting that. No one’s saying you should use Erlang for writing…
comment by mikl · 2021-08-31 · in Why Erlang? -
▲ 4
Erlang/OTP 24 RC-1 with JIT compilerstory by davydog187 · 2021-02-24 · 0 comments
-
…isolation between processes within a single VM. It's even called out in their bug report policy: https://github.com/erlang/otp/wiki/FAQ:-What-kind-of-patches... "An Erlang process does not have a region of mutual exclusion, which can lead…
comment by al2o3cr · 2020-12-25 · in The Erlang Rationale (2008) [pdf] -
…Bogdan's Erlang Abstract Machine. See https://blog.erlang.org/a-brief-BEAM-primer/ which points to https://github.com/erlang/otp/blob/master/lib/compiler/src/g... . If you look into how some of those are implemented, just as one example,…
comment by dasyatidprime · 2020-12-02 · in The Road to the JIT -
…year's release. This PR from a few days ago looks like a very nice improvement in that direction: https://github.com/erlang/otp/pull/2849
comment by ramchip · 2020-11-06 · in Why Typing Erlang is Hard: Standard Erlang -
This link has more detail https://github.com/erlang/otp/pull/2745#issuecomment-6914821... “ LLVM is much slower at generating code when compared to asmjit. LLVM can do a lot more, but it's main purpose is not to be a JIT compiler. With…
comment by alberth · 2020-11-04 · in A First Look at the JIT -
…blocking heartbeats (and other messages) for a long time, but that's been resolved last year in https://github.com/erlang/otp/pull/2133 .
comment by ramchip · 2020-10-21 · in .NET Orleans -
https://github.com/erlang/otp/pull/2745 may be what you're after.
comment by thepratt · 2020-10-06 · in Elixir 1.11 -
…in erlc (the Erlang compiler). As an example of recent amazing changes to the BEAM: JIT to x86_64 https://github.com/erlang/otp/pull/2745
comment by sigwinch28 · 2020-09-27 · in Caramel: an Erlang back end for OCaml -
▲ 4
BeamAsm (JIT for Erlang/OTP) Mergedstory by adelarsq · 2020-09-22 · 0 comments
-
"We also considered using dynasm, but found the tooling that comes with asmjit to be better." https://github.com/erlang/otp/pull/2745#issuecomment-6914821...
comment by h0l0cube · 2020-09-13 · in Implement BeamAsm – A JIT for Erlang/OTP -
…https://blog.stenmans.org/theBeamBook/#CH-Scheduling and the core scheduling loop in the BEAM: https://github.com/erlang/otp/blob/master/erts/emulator/beam... On the Go side, check out https://github.com/golang/go/tree/master/src/runtime/pr…
comment by tokenrove · 2020-09-11 · in Scaling Erlang Developer Experience at WhatsApp [pdf] -
▲ 233
Implement BeamAsm – A JIT for Erlang/OTPstory by di4na · 2020-09-11 · 32 comments
-
…work for WhatsApp or Facebook. My opinions are my own, and don't represent either company. Etc. [2] https://github.com/erlang/otp/blob/5f1ef352f971b2efad3ceb403...
comment by toast0 · 2020-09-07 · in Elixir Is Erlang, not Ruby -
▲ 3
Erlang/OTP Wiki: Writing Good Commit Messagesstory by susam · 2020-09-05 · 0 comments
-
…details on internals at Spawned Shelter [3]. [1]: https://blog.stenmans.org/theBeamBook/ [2]: https://github.com/erlang/otp/tree/master/erts/emulator/inte... [3]: http://spawnedshelter.com/#erlang-design-choices-and-beam-in...
comment by micmus · 2020-05-13 · in Optimising for Concurrency: Comparing the BEAM and JVM virtual machines -
▲ 1
Erlang/OTP 23story by lelf · 2020-05-13 · 0 comments
-
▲ 2
Writing Good Commit Messagesstory by chenhan · 2020-02-19 · 0 comments
-
1. See: https://blog.stenmans.org/theBeamBook/#_the_tagging_scheme (search for "64 bytes") and code: https://github.com/erlang/otp/blob/OTP-22.0.7/erts/emulator/... 2. See: https://www.erlang-solutions.com/blog/erlang-garbage-collect...…
comment by ramchip · 2019-09-15 · in The Soul of Erlang and Elixir [video] -
…is the code[1], but it's been a while since I dug in there. Maybe it's time to go again. [1] https://github.com/erlang/otp
comment by kerkeslager · 2019-09-12 · in The Soul of Erlang and Elixir [video] -
…sets: http://erlang.org/doc/man/gb_sets.html source for trees: https://github.com/erlang/otp/blob/master/lib/stdlib/src/gb_...
comment by dpwm · 2019-08-18 · in General Balanced Trees (1999) [pdf] -
…be easy. Is it less tangled? I think it is. My point: some languages are messiers than others. [1] https://github.com/erlang/otp/blob/master/lib/asn1/src/asn1c...
comment by pmontra · 2019-07-22 · in In the Defense of Spaghetti Code (2013) -
…be specific, we were talking about Erlang's ordsets module. You can see it constructed as a list: https://github.com/erlang/otp/blob/d6285b0a347b9489ce939511e... new() -> []. Then notice the function to add an element…
comment by rdtsc · 2019-05-18 · in Using Rust to Scale Elixir for 11M Concurrent Users -
…And there is also no need to argue about this, the code is available and very straight forward: https://github.com/erlang/otp/blob/fe2b1323a3866ed0a9712e9d1...
comment by filmor · 2019-05-18 · in Using Rust to Scale Elixir for 11M Concurrent Users -
…is very difficult and risky, so the more pragmatic choice is to just not support that use case. https://github.com/erlang/otp/wiki/FAQ:-What-kind-of-patches...
comment by ramchip · 2019-04-29 · in How And Why We Switched from Erlang to Python (2011) -
…https://github.com/angular/angular/blob/master/CONTRIBUTING.... Here are some other resources Erlang https://github.com/erlang/otp/wiki/Writing-good-commit-messa... Gerrit https://www.mediawiki.org/wiki/Gerrit/Commit_message_guideli...
comment by aizatto · 2019-04-20 · in Commit messages guide -
…José Valim was the one who added "Add {continue, Term} and handle_continue/2 to gen_server" - https://github.com/erlang/otp/commit/69e009e3e1ad899a4609ff3... José's contributions are at https://github.com/erlang/otp/commits?author=josevalim…
comment by nathan_long · 2019-01-15 · in Elixir v1.8 released -
…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 -
▲ 1
Erlang PR: 'can not' should mostly be 'cannot'story by e_proxus · 2018-08-01 · 0 comments