OpenComputers integration
moonheart08 opened this issue ยท 11 comments
Integration with OpenComputers would be a powerful tool. OpenComputers is good at fast data processing/networking, but lacks world interaction; Integrated dynamics is built on world interaction, but lacks fast data processing/networking.
Joining the two together via API integration would allow for intresting designs and concepts.
Lua, the language used by OC CPUs, already supports most types used in Integrated Dynamics, and missing ones can be supported.
If i knew Java/Forge, i'd lend a hand. (I use Rust/C++, Java is annoying and I can't ever find good tutorials for the latest Forge with all the API turnover)
But i will lend some tips:
Dont force Integrated Dynamics to take on Lua similarities, instead, map the functional aspects of Integrated Dynamics to Lua (via metatables).
OC can process data much faster than Integrated Dynamics, so use a buffer for output, and add some sort of limit at which data will be dropped to prevent annihilating the server's RAM.
Make your integration JIT friendly. Making LuaJIT unable to JIT inter operating code efficiently is a bad thing, and slows it down by a few times.
I plan to do this via #350.
@josephcsible Any updates on this? A lot of people would love to see this happen.
@josephcsible #524 might be the cleanest way, depending on whether or not it would be possible. I won't have time for it in the foreseeable future though, so feel free to look into it yourself.
what's the status of this? The above-mentioned issues seem to be resolved, so I'm thinking this could be worked on? I'm currently trying to do a no player interaction run with OpenComputers robots, and the world interaction aspect of ID seems to fit superbly with what I had in mind (given that ID stuff can be interacted with by robots/computers correctly, anything that has some interface to it that doesn't rely on minecraft mechanics (i.e. inventory slots) won't work.) Regardless of my use case though, I agree with the OP that the two mods complement each other very well, so it would be cool to see this happen =D.
@weakman54 I wouldn't count on it too much. Lots of other features are planned: https://github.com/orgs/CyclopsMC/projects/2
So unless anyone else besides me comes along helping development, I don't think this will be implemented anytime soon.
GitHub is where people build software. More than 40 million people use GitHub to discover, fork, and contribute to over 100 million projects.
@weakman54 No major blockers atm, feel free to send in a PR!