Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add framing serializer for other language(s) #130

Open
ERnsTL opened this issue Sep 26, 2018 · 0 comments
Open

Add framing serializer for other language(s) #130

ERnsTL opened this issue Sep 26, 2018 · 0 comments

Comments

@ERnsTL
Copy link
Owner

ERnsTL commented Sep 26, 2018

  • As reference for implementers of libflowd in other languages.
  • Upload existing libflowd-rs in Rust language
  • Maybe in Java? Should be no more than two static methods.

Case study Java:

  • Write a wrapper component
  • Calling Java objects from C/C++ using JNA
  • Input: named pipes, forward into Java VM object by function call or something like a Go channel
  • Output: receive from Java VM object, forward to named pipes
  • Requires the Java component to conform to a (Java) interface, i.e. support a set of methods
  • Not sure how useful this path is - takes away the generality of flowd which uses named pipes. OTOH, can quickly re-use Java libraries.
  • Nothing is gained though because the component has to be specially-written anyway - whether to use named pipes or to conform to a component interface in order to be wrapped.
  • Result: Implement framing format serialization for flowd components written in Java to use - just like for all other programming languages.
@ERnsTL ERnsTL added this to the Beta Version milestone Sep 26, 2018
@ERnsTL ERnsTL changed the title Add framing serializer for one other language Add framing serializer for other language(s) Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant