[erlang-questions] How to implement the A Star find path algorithm using NIF?

skyman cloudzen@REDACTED
Mon Jul 10 18:11:08 CEST 2017


Hi everybody,


Our game is using A Star algorithm to find path. For performance I want to write it in C language, and Erlang calls it by NIF. I don't know whether the map data is maintained in C or in Erlang. Can anyone tell me?
In addition, is there any better solution than NIF?


Thanks very much!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170711/138a5627/attachment.htm>


More information about the erlang-questions mailing list