Integrated Dynamics

Integrated Dynamics

63M Downloads

OpenComputers integration

moonheart08 opened this issue ยท 11 comments

commented

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.

commented

I agree. This was already on my to-do list.

commented

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.

commented

I plan to do this via #350.

commented

This seems like it will have to be done totally differently depending on whether we do #521 or #524. Once one of those are done, I'll get this written to use it.

commented

@josephcsible Any updates on this? A lot of people would love to see this happen.

commented

@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.

commented

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.

commented

@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
GitHub is where people build software. More than 40 million people use GitHub to discover, fork, and contribute to over 100 million projects.
commented

Well, if I ever get into MC modding I'll look into it =)

commented

@weakman54 No major blockers atm, feel free to send in a PR!

commented

Sadly I don't know anything about MC mod dev =/. Good to know that there are no blockers though, makes me optimistic that this might happen soon =D