Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法从 64 位 Erlang(在 Windows 下)使用 32 位 NIF?
似乎不可能,但也许有办法做到这一点?
我唯一的建议(太傻了) - 您可以编写 32 位进程外端口驱动程序作为 NIF 的包装器并在单独的进程中运行它。当然,在这种情况下,erlang 节点不应与 NIF 交互,而是与外部端口程序交互。但你可以把这当成玩笑;-)