omf-python icon indicating copy to clipboard operation
omf-python copied to clipboard

Discussion: Multiple language support with TransCoder

Open fwkoch opened this issue 5 years ago • 0 comments

It was raised that we could potentially use something like this to implement OMF in multiple languages: https://github.com/facebookresearch/TransCoder - Ideally this would mean a single reference implementation with libraries in other languages spun out from that.

My immediate thoughts:

  • I'm skeptical the transcoder would work with the current Python implementation since it uses some non-Pythonic properties magic for type-checking/validation/documentation. Definitely worth taking a pass at it though, and seeing what happens!
  • Likely we could build a simpler python library that would work more nicely with the transcoder.
  • I worry the generated output library would not be very developer friendly. But again, I'm not sure, and something is of course better than nothing...
  • Also worth considering if we would want the reference library to be C++ and python, etc to be generated. Again, this goes back to usability of output libraries.

Any comments or thoughts?

If I get a chance to play with this at all, I'll follow up here.

fwkoch avatar Aug 05 '20 23:08 fwkoch