Re:José Valim Reveals “Project Nx” (Numerical Elixir) [audio]
by dnautics on Tuesday February 09, 2021 @04:00PM
(#26082333)
Probably the best you're going to get for a generalized c call library is rustler or zigler (I maintain zigler)
[ Parent
| on HN ]
Re:José Valim Reveals “Project Nx” (Numerical Elixir) [audio]
by toast0 on Tuesday February 09, 2021 @04:46PM
(#26082771)
Yeah, so those look like nicer ways to call C than writing a NIF, but they don't look like point to a C include and get the constants and a way to call the functions in the include (and use the types in the include. If I'm reading correctly.
I'm looking for the equivalent of Perl's h2xs, or something like that. (which incidentally, maybe I should be writing these things in perl ;)
Re:José Valim Reveals “Project Nx” (Numerical Elixir) [audio]
by dnautics on Tuesday February 09, 2021 @05:35PM
(#26083363)
challenge accepted: https://github.com/ityonemo/zigler/issues/240