|
I want to learn and play around with Erlang by making a library to call from the Unreal Engine. Is there a way built into Erlang to use C or C++ as a shallow wrapper and do most of my code in Erlang? I've found C nodes and native implemented functions, but those both go the wrong direction. I think I could do it with pipes in C nodes but I'd rather a different path.
|
# ¿ May 16, 2015 03:05 |
|
|
# ¿ May 12, 2024 06:00 |
|
bobthenameless posted:As far as I know, if you're wanting to do that probably the best way would be through a socket; but you have to consider that any erlang library you write would need to be running within the Erlang VM - it wouldn't be a compiled dll you can just use from within UE4 without also having the VM going. If that has to be done I think that'll still be manageable. I could just start the VM in an init C function and close it on exit or UE crash.
|
# ¿ May 16, 2015 04:54 |
|
I looked into it further, for Unreal 3 at least, the only way I saw it attempted was be running Unreal from the vm but that leads to very poor framerate for a game. Oh well, I'll have to find some other project that allows me to both learn erlang and prove it if I want a relevant job.
|
# ¿ May 27, 2015 19:09 |