AtomVM
AtomVM copied to clipboard
Tiny Erlang VM
**atom.c** ``` static unsigned get_arity_magnitude(int n) { unsigned magnitude = 0; for (int i = n; i >= 1; i /= 10) { magnitude++; } if (n == 0) return...
Hi, Currently, `zlib`, if available, is used in development platforms (macOS, Linux). Would it make sense to use the `miniz` implementation in embedded platforms like ESP32? - https://github.com/richgel999/miniz - https://github.com/espressif/esp-idf/blob/v5.1.2/components/esp_rom/include/miniz.h
Let's discuss how to support [Zephyr](https://zephyrproject.org/) and what should be supported.
We have done some work in the `atomvm_lib` to support the OTP application behavior, and it would be good to port this code and framework into the core AtomVM libraries....
Currently, our code organization isn't tracking the OTP design principles very well, and not having code organized properly can affect separation of concerns, especially if we end up defining dependencies...
We have a lot of redundancy between the examples in the AtomVM repo and the `atomvm_examples` repo, and in general we point our users towards the `atomvm_examples` repos when getting...
Probably caused by 9aab333fe267ee15bbcf8c62947ed59c57908ae1 I had the following stacktrace: ```erlang [{test_ssl, {exception, {function_clause, [{ssl,handshake_loop,3, [{file, "/Users/paul/Projets/AtomVM/AtomVM/libs/estdlib/src/ssl.erl"}, {line,127}]}, {test_ssl,test_connect_close,0, [{file, "/Users/paul/Projets/AtomVM/AtomVM/tests/libs/estdlib/test_ssl.erl"}, {line,34}]}, {test_ssl,test,0, [{file, "/Users/paul/Projets/AtomVM/AtomVM/tests/libs/estdlib/test_ssl.erl"}, {line,29}]}, {etest,do_run_test,1, [{file, "/Users/paul/Projets/AtomVM/AtomVM/libs/etest/src/etest.erl"}, {line,164}]}, {etest,do_run_test,1,...
1. Following directories will be created: - `src/common` - `src/components` 2. `src/common` will contain common code, that can be shared across different platforms. A platform might require a "common module",...
When the GlobalContext is destroyed, we don't terminate processes. This means resources may not be properly destroyed/released.
When a socket is in a elect state and is closed (e.g., from another process), there are conditions in which the socket may fail to unblock from calls (such as...