From b93183f27bd5d2cd6ce4c2c282801d4176e9462f Mon Sep 17 00:00:00 2001 From: Joshua Nussbaum Date: Mon, 17 Sep 2018 00:20:47 -0400 Subject: [PATCH] Add warning to not use --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8837da9..8233782 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ FFI === +*** Warning: Turns out this is a really bad idea, do not use! When the BEAM calls native functions it needs to know how many reductions should be used. Otherwise calling a long running function can break the scheduling completly, because with this approach a long running function is considered 1 reduction *** + An easy way to call external functions (e.g. C functions) from [Elixir](https://github.com/elixir-lang/elixir). Inspired by [Ruby's FFI](https://github.com/ffi/ffi)