Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Dates

Tasks/Plan

Status

June 1 - June 24

revisit knowledge of Rust
run iroha nodes and connect to it via both `iroha_client_cli` and client app
run cbindgen on a small example: - export a function from Rust - generate C bindings with cbindgen - link this C lib from C and Java


June 25 - Aug 23

fork the cbindgen repository
add the functionality to parse function signatures from MIR


Aug 24 - Sept 6

make use of ffi_export macro to generate FFI bindings of methods and functions in iroha_client
MIR approach failed - explore other approaches


Sept 7 - Sept 20Oct 18
implement use cbindgen to generate C header file for exported FFI bindings. This will require cbindgen's features:
1.  macro expansion
2. resolution of associated types via MIR (implemented during the previous stages of the internship)
Sept 21 - Oct 4Oct 5 - Oct 18by parsing source code of all dependent crates
Oct 19 - Nov24
create a solution to resolve mutually dependent associated types (topologically sort)
Nov 25 - Dec 1
write tests and open PR to cbindgen and prepare an article reportOct 19 - Nov 1Nov 2 - Nov 12

Mentors

Name

Time zone

Discord ID

Telegram ID

Email ID

Marin VeršićUTC+2mversic@mingler101marin.versic101@gmail.com

...

Name

Time zone

Discord ID

Telegram ID

Email ID

OrangeUTC+8orangeng@orangengngquanhao@gmail.com

Merged PRs

* [PR](https://github.com/mozilla/cbindgen/pull/905) to cbindgen