2019-02-21 12:13:55 UTC - Carlos Santana: @Michele Sciabarra do you have the doc ready? “How to do a new runtime with actionloop” There is a person that might be able to benefit to bring rust to OpenWhisk <https://twitter.com/rdiaz82/status/1098372346799370242?s=21> cc @Roberto Diaz https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550751235002800 ---- 2019-02-21 12:14:43 UTC - Michele Sciabarra: is someone trying to do a rustlang? https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550751283003300 ---- 2019-02-21 12:21:19 UTC - Michele Sciabarra: I can write it over the weekend https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550751679004400 ---- 2019-02-21 12:22:37 UTC - Markus Thömmes: seems like that specific contributor (Roberto) would love to attack it https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550751757005000 ---- 2019-02-21 12:23:19 UTC - Carlos Santana: Yep @Roberto Diaz is trying to do so the rust runtime https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550751799005700 ---- 2019-02-21 12:23:53 UTC - Carlos Santana: Or in other words I’m trying to convince him :speak_no_evil: joy : Roberto Diaz https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550751833006400 ---- 2019-02-21 12:26:12 UTC - Markus Thömmes: with actionloop and rustlang being a compiled language: Is the idea to have a more performant "loop server" vs. golang? https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550751972007000 ---- 2019-02-21 12:35:23 UTC - Carlos Santana: I think just starting with baby steps for now is a win in my book and use current actionloop in golang calling rust exec similar as go, swift, python https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550752523008600 ---- 2019-02-21 12:35:44 UTC - Markus Thömmes: not following? https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550752544009000 ---- 2019-02-21 12:36:14 UTC - Markus Thömmes: let me ask differently: with "golang exec rust", what is left to do for a rustlang runtime? https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550752574010300 ---- 2019-02-21 12:36:17 UTC - Carlos Santana: The same we have actionloop proxy in golang calling out to swift 4.2. Do the same for rust https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550752577010500 ---- 2019-02-21 12:37:35 UTC - Carlos Santana: Same story as swift, golang exec swift, what’s is left to do for a swift runtime? https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550752655011900 ---- 2019-02-21 12:39:03 UTC - Carlos Santana: Just the actionloop compiler to accept a single rust source file and compile on the fly, and use compiler offline as helper to compile and produce action.zip for kind rust https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550752743014100 ---- 2019-02-21 12:39:30 UTC - Markus Thömmes: ah okay, I wasn't aware we're still doing compile time things in the conatiners https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550752770014700 ---- 2019-02-21 12:40:16 UTC - Carlos Santana: Yeah nice to have for a quick demo/dev/UI things https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550752816015300 ---- 2019-02-21 12:40:56 UTC - Carlos Santana: For production use the same runtime image as a helper to take a directory with source as input and produce action.zip for prod https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550752856016600 ---- 2019-02-21 13:28:49 UTC - Michele Sciabarra: yup https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550755729017200 ---- 2019-02-21 13:29:09 UTC - Michele Sciabarra: basically you need to produce a docker image with the toolchaing for rust https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550755749017900 ---- 2019-02-21 13:29:22 UTC - Michele Sciabarra: and a small "compiler script" in python that assemble the action https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550755762018300 ---- 2019-02-21 13:29:43 UTC - Michele Sciabarra: basically wrapping the main in a read stdin write fd3 loop https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550755783018900 ---- 2019-02-21 13:30:07 UTC - Michele Sciabarra: I did the swift thing in 2 days https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550755807019300 ---- 2019-02-21 13:31:08 UTC - Michele Sciabarra: from what I have seen you need to bundle the cargo stuff for rust and create in rust the loop read stdin write fd3 if you know rust it is a simple thing https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550755868020400 ---- 2019-02-21 13:31:23 UTC - Michele Sciabarra: my problem is I do not know rust good enough even to do those basic things https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550755883020800 ---- 2019-02-21 13:34:02 UTC - Michele Sciabarra: the biggest effort is basically to translate in rust this code: <https://github.com/apache/incubator-openwhisk-runtime-go/blob/master/common/gobuild.py.launcher.go> https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550756042021800 ---- 2019-02-21 13:34:38 UTC - Carlos Santana: :+1::skin-tone-3: https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550756078022100 ---- 2019-02-21 13:35:08 UTC - Michele Sciabarra: if some does this I can fix the compiler script that is a small python script assembling the action and compiling with cargo https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550756108022800 ---- 2019-02-21 13:35:44 UTC - Michele Sciabarra: of course if someone wants to implement the whole thing in rust... he will have to deal with the same problems I had for one year :smile: https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550756144023500 ---- 2019-02-21 13:36:21 UTC - Michele Sciabarra: it is NOT that easy to write a runtime... especially if you want it performant https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550756181024000 ---- 2019-02-21 13:37:50 UTC - Roberto Diaz: Hi!!! I have taken a look runtime development :joy: https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550756270025100 ---- 2019-02-21 13:38:23 UTC - Roberto Diaz: AFAIK it should be a docker container with a webserver and two endpoints https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550756303026200 ---- 2019-02-21 13:38:53 UTC - Michele Sciabarra: if you use actionloop you only need to read stdin and write fd3 https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550756333027500 ---- 2019-02-21 13:39:28 UTC - Michele Sciabarra: currently it is used by go php swift and python https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550756368028100 ---- 2019-02-21 13:39:53 UTC - Michele Sciabarra: and I am working (as time permit) for java https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550756393028400 ---- 2019-02-21 13:48:41 UTC - Michele Sciabarra: can you translate in rust this code: <https://github.com/apache/incubator-openwhisk-runtime-go/blob/master/common/gobuild.py.launcher.go>? https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550756921028900 ---- 2019-02-21 14:39:15 UTC - Roberto Diaz: one question https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550759955029300 ---- 2019-02-21 14:39:38 UTC - Roberto Diaz: what's the different between create a runtime and using the actionloop? https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550759978030500 ---- 2019-02-21 14:40:03 UTC - Carlos Santana: @Roberto Diaz no need to do a web server just a compiled rust binary that reads in a loop from stdin and returns result in device fd3 output https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550760003031300 ---- 2019-02-21 14:41:05 UTC - Carlos Santana: I think there are some Scala fans here, just saw this An entire business logic can be designed from scratch using Data Flow UX and appropriate code in Scala will be prepared. Behind the scenes, the ADF JSON code is converted to the appropriate code in the Scala programming language. <https://www.analyticsindiamag.com/microsofts-adf-automates-data-movement-transformation-without-coding/> https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550760065032100 ---- 2019-02-21 14:41:26 UTC - Carlos Santana: @Rodric Rabbah @Olivier Tardieu ^^ https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550760086032600 ---- 2019-02-21 15:01:53 UTC - Rodric Rabbah: Awesome @Roberto Diaz https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550761313032900 ---- 2019-02-21 18:49:25 UTC - Rodric Rabbah: <https://gravitational.com/blog/serverless-on-kubernetes/> https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550774965033300 ---- 2019-02-21 18:53:58 UTC - Rodric Rabbah: OpenWhisk “re-platforming to knative” is a little strong isn’t it? (Edit: hes now removed this) https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550775238035300 ---- 2019-02-21 19:48:59 UTC - Rodric Rabbah: Thanks to Alex Ellis who pointed out the article to me. https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550778539036600 ---- 2019-02-21 23:34:55 UTC - Carlos Santana: <https://twitter.com/carmatrocity/status/1098575963032408065?s=21> cry : Carlos Santana, Rodric Rabbah https://openwhisk-team.slack.com/archives/C3UDXSFA6/p1550792095036900 ----