-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementAn idea currently not present in BWAPI4J that enhances the usability.An idea currently not present in BWAPI4J that enhances the usability.
Description
Credit to @EvanED for mentioning the Java Invocation API with which a JVM can be instantiated in C++. This would allow us to use the module interface of BWAPI instead of the client interface with vanilla BW as we do in OpenBW. The client interface in BWAPI 4.2.0 and earlier is mostly inferior to the module interface since the client interface is slower and contains bugs the module interface does not.
I experimented a bit with the API briefly and it is pretty straightfoward. However, I was not able to call a JNI method from the created JVM back to C++. More experimentation and information about the API is needed before fully switching to the module interface.
Jabbo16 and JasperGeurtz
Metadata
Metadata
Assignees
Labels
enhancementAn idea currently not present in BWAPI4J that enhances the usability.An idea currently not present in BWAPI4J that enhances the usability.