Hacker GitHub

← All repos

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

Mentions per year 93 mentions · busiest year 2020 (16)
20082026
  1. 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?
  2. …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…
  3. …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?
  4. …{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…
  5. …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)
  6. …barely works, slow, ugly as hell and complicated. [0] https://github.com/thejoshwolfe/consoline [1] https://github.com/erlang/otp/blob/90a48ae2bff26d5df67ceaa7e...
  7. …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
  8. 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
  9. 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
  10. …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
  11. https://github.com/erlang/otp/blob/adf0d2204215c12a03188f5d5...
  12. …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
  13. The BEAM VM (Erlang/Elixir) recently optimized a related procedure as well https://github.com/erlang/otp/pull/7426
  14. …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…
  15. …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…
  16. It's Apache 2.0 Reference: https://github.com/erlang/otp/blob/master/erts/AUTHORS
  17. 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
  18. …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?
  19. 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?
  20. …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]
  21. …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
  22. …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
  23. 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
  24. …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
  25. https://github.com/erlang/otp/pull/2745 may be what you're after.
    comment by thepratt · 2020-10-06 · in Elixir 1.11
  26. …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
  27. "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
  28. …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…
  29. …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
  30. …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...
  31. 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]
  32. …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]
  33. …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]
  34. …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)
  35. …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…
  36. …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...
  37. …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...
  38. …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
  39. …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
  40. …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...
  41. …is used to handle some of the TLS and SSH stuff from what I've heard. Here is TLS connection code: https://github.com/erlang/otp/blob/11cd0f1d000be5849bba2466b... I've done them in C and Python before as well. In C I the like the table +…
  42. …solution to back pressure in Erlang and has recently been remove for the next major release: https://github.com/erlang/otp/commit/2e601a2efc19d64ed0628a5... I’ve heard speculation that it really only helped scheduler efficiency and this…
    comment by strmpnk · 2018-01-18 · in Stream Processing for Go
  43. …now have even cheaper constant literals [3]! Let's get on this. [1] https://github.com/weinholt [2] https://github.com/erlang/otp/pull/1080#issuecomment-3145985... [3] https://medium.com/@jlouis666/an-erlang-otp-20-0-optimizatio...
    comment by fenollp · 2017-08-21 · in A supercompiler pass for Erlang
  44. Stacktrace entries for emulator calls are coming on Erlang 21: https://github.com/erlang/otp/pull/1478 This means that something such as 1/0 should include the line where the error happened in IEx and in general. Regarding the error…
    comment by josevalim · 2017-08-19 · in Why Elixir (2014)
  45. …and a lot of tech like rabbitmq and couchdb uses erlang to reach "webscale" deployments. [0]: https://github.com/erlang/otp/compare/OTP-20.0...master
  46. …two reference implementations of a distribution-protocol connection handler: • inet_tcp_dist ( https://github.com/erlang/otp/blob/master/lib/kernel/src/ine... ) • inet_tls_dist ( https://github.com/erlang/otp/blob/master/lib/ssl/src/inet_t.…
    comment by derefr · 2017-05-08 · in My Heroku values (2015)
  47. …I once found a particularly confusing use of this style here: https://github.com/erlang/otp/blob/master/erts/epmd/src/epmd...
    comment by technion · 2017-03-28 · in Linux kernel coding style
  48. Erlang OTP https://github.com/erlang/otp
  49. …from reading Erlang source code though. There's a lot to see in the Core Erlang compilation code: https://github.com/erlang/otp/tree/maint/lib/compiler/src As to answer some questions elsewhere in this discussion on why BEAM code isn't…
    comment by strmpnk · 2017-02-02 · in Introducing PureScript Erlang back end
  50. Erlang ( https://github.com/erlang/otp ) accepts PRs on GitHub, although they maintain their own JIRA instance for issue tracking.