[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 580: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 636: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
Rust bindings for the BWAPI - OpenBW
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
 
0x7cfe
Topic Author
Posts: 1
Joined: Mon Apr 10, 2017 3:21 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Rust bindings for the BWAPI

Mon Apr 10, 2017 4:56 pm

Hello everyone,

I with my friend had just started an attempt to create idiomatic bindings to BWAPI for the upcoming language Rust.

We would like to ask the community, what would be the best way to link to BWAPI. AFAIK there are Java, Type Safe Java, C# and Python bindings. 
Do we need to create a wrapping layer from scratch or there exist some kind of an intermediate API that may be reused?

Rust does fine with C and under some circumstances with C++, but that's a tough question. There are binding generators that translate C++ into Rust but our goal is to create idiomatic and type safe API, so that's probably not an option. Still, we would like to hear any ideas or suggestions.

P.S.: If you're interested, feel free contacting us at https://github.com/RnDome/bwapi-rs
 
IMP
Site Admin
Posts: 63
Joined: Sun Jan 01, 2017 4:59 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Rust bindings for the BWAPI

Wed Apr 19, 2017 12:00 pm

we have discussed this "live" already by now. Therefore just for reference / archive purpose:

We are working on a type-safe API for Java called BWAPI4J at https://github.com/OpenBW/BWAPI4J, which you can use as reference.
The binding is done manually, as opposed to e.g. bwmirror, which uses a generator.

Most binding code is here: https://github.com/OpenBW/BWAPI4J/blob/ ... Bridge.cpp

Also be aware that BWAPI 4.2 is about to be released. The change notes are here: https://github.com/bwapi/bwapi/wiki/Changes

Great initiative to add Rust to the family of supported languages! ^^ :)
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 3 guests