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

Data I/O #45

Closed
zwass opened this issue Dec 14, 2020 · 4 comments
Closed

Data I/O #45

zwass opened this issue Dec 14, 2020 · 4 comments

Comments

@zwass
Copy link

zwass commented Dec 14, 2020

Can you help me understand if the following interpretations are correct?

  1. The only way to get input data to the script is by printing the data into the script itself.

  2. The only way to get output data is from the stringified value of the result of the script.

Are there plans to add additional ways to share values back and forth between Go and V8?

@rogchap
Copy link
Owner

rogchap commented Dec 18, 2020

Hey @zwass; thank for reaching out. To answer your first question: yes, that is currently the case.

In terms of further interop: it's something that is currently being explored. It's very early in terms of thinking, and an API design is not fully understood at this stage.

If you are keen to discuss more, or you have ideas you can reach out in Gophers Slack.

@rogchap
Copy link
Owner

rogchap commented Dec 19, 2020

FYI: #50

@rogchap
Copy link
Owner

rogchap commented Dec 22, 2020

FYI: #59

@rogchap
Copy link
Owner

rogchap commented Jan 19, 2021

Now also #64

I'm going to close this issue in favor of tracking this as part of #28

Please feel free to Reopen, if you don't feel this has address your question.

@rogchap rogchap closed this as completed Jan 19, 2021
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

2 participants