Open quinton-hoole opened 5 years ago
Java , Ruby, JS (needs to be tested, based on my discussions) , other than these three anything more for Barcelona? These -- we need to have good example app (not really trivial)
So, it is better to test and ensure these work first?
We have simple examples in this repo (in the examples/ directory). That's what I was referring to.
We have a separate repo of non-trivial demos (the repo is DCAP-Sapphire-Examples). I would suggest that we rename it '...-Demos' to avoid confusion.
Current status on Ruby Example with Graal RC14:
/home/roo1/development/DCAP-Sapphire/examples/hanksTodoRuby/src/main/ruby/amino/run/appexamples/hankstodo/hanks_todo_main.rb:22:in `main': The value 'DynamicObject@115c946b<Array>' cannot be passed from one context to another. The current context is 0x79ca7bea and the argument value originates from context 0x54f6b629. (ArgumentError)
from /home/roo1/development/DCAP-Sapphire/examples/hanksTodoRuby/src/main/ruby/amino/run/appexamples/hankstodo/hanks_todo_main.rb:40:in `<main>'
Issue created #725
Hi, PR (#736) is raised for the Javascript stub generation issue. The added code can be removed once the original issue oracle/graal#678 is fixed.
Note: the below combinations tested with the primitive data types and those are working fine. Attached test reports with PR (#736) 1)Java Client with JS Server 2)JS Client with JS Server
Multi-Lang status :
Tasks | RC5 | RC6 | RC7 | RC8 | RC9 |
---|---|---|---|---|---|
Stub Generation | Working | Need #736 as fix | Need #736 as fix | Need #736 as fix | Need #736 as fix |
Java client with Ruby Server | Working | Working | Working | Working | Working |
Ruby client with Ruby Server | Working | Working | Working | Working | Not Working ( issue #725) |
Java client with JS Server | Working | Working | Working | Working | Working |
JS client with JS Server | Working | Working | Working | Working | Not Working ( same as issue #725) |
Post RC9 till RC16 status is same
@quinton-hoole @skdwriting @VenuReddyHuawei @sungwook-moon As discussed in meeting, Please give approval on falling back from Graal RC14 to RC8 once #736 get merged.
Hi Amit, As we discussed, let us move to RC8 and support Java, Ruby and JS fully. Please create demos based on this using simple applications, as we discussed. We will add the plan for Graal upgrade for the post Barcelona plan.
@skdwriting Added issue #738 for support RC8. PR can be raised once #736 get merged
Multi-language support - integration tests and example tutorials should cover at least 3 sufficiently different languages well (e.g. Java, Ruby, Python, and ideally an LLVM language like Rust or C++), as well as any other related languages.(JavaScript, Kotlin etc). At least some of the examples should cover client and server written in different languages, and passing user defined types between them.
See #654.
Detail to be filled in here. Individual issues and PR's to be linked to this issue.
Check list: (please add/remove as required, and check off once complete):
Same language for client and server:
Examples of different languages for client and server (please add/remove as required, and check once verified):