liquidcarrot / carrot

🥕 Evolutionary Neural Networks in JavaScript
https://liquidcarrot.io/carrot/
MIT License
293 stars 34 forks source link

Shared Memory Inter-Process Communications (IPC) #189

Open luiscarbonell opened 4 years ago

luiscarbonell commented 4 years ago

Use Case When connecting two layers in a network (i.e. 1000x1000) the creation of these objects can be threaded - whereby in a 4-core 8-thread system, 1 master fork can have access to a shared memory space where 7 worker forks are "dumping" or storing created objects/classes.

Additional Information We might be able to solve this problem with ArrayBuffers, a C/C++-Binding, or a WASM object to manage large scale object creation.

@GavinRay97 @christianechevarria