Closed yorkie closed 6 years ago
@yorkie We usually don't include uv functions when there is no clear use case for IoT.js since it will increase binary size for low end devices that use NuttX, TizenRT, and so on.
Just for my curiosity, what OS do you use for your embedded device?
Yea, I ran IOT.js inside the Rokid AI DevBoard which is an embeddable device, and as I described then, the IPC and child_process are such important feature for any embeddable :)
@yorkie Thank you for your information. Our target device has more strict requirement. Our policy is not including more functions when there is explicit use cases for our main targets.
Closing. Also @glistening explained, I cannot find any special use cases deserve to pay for additional memory and binary size.
In IOT.js, the ability to spawn a child process, which includes the IPC with
fork()
is useful in embeddable device as well.So this patch tries to make
uv_spawn()
work in libtuv.