Will Espruino support FFI(libffi) #707
Unanswered
espruino-discuss
asked this question in
JavaScript
Replies: 1 comment
-
Posted at 2017-03-27 by @gfwilliams No, I'm afraid it's not going to. When I looked at it, it seemed way too heavyweight - and I'm also not convinced that ARM Thumb is supported? Also, I'm not sure what you mean by rewrite, because you can use totally standard C functions (as long as they don't have overly complicated arguments). If someone wrote a script for it then a totally standard C file could be parsed and added without modification - the only issue comes when you try and access arrays/pointers, but you'll have problems with that anyway because of the way Espruino works to make the most of available memory. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-03-25 by Aifer
Some times we need c functions, and jswrap method needs rewrite the c module less or more. FFI?
Beta Was this translation helpful? Give feedback.
All reactions