You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "oowl (via GitHub)" <gi...@apache.org> on 2023/06/17 03:02:54 UTC

[GitHub] [incubator-opendal] oowl opened a new issue, #2474: Tracking issues of lua binding

oowl opened a new issue, #2474:
URL: https://github.com/apache/incubator-opendal/issues/2474

   ## Tasks
   - [ ] Setup CI jobs on building and testing
   - [ ] Add contributing docs and complete the readme doc
   - [ ] Support more operations


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] Xuanwo commented on issue #2474: Tracking issues of lua binding

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #2474:
URL: https://github.com/apache/incubator-opendal/issues/2474#issuecomment-1604041152

   https://luarocks.org/ supports binary release like pypi does?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] Xuanwo commented on issue #2474: Tracking issues of lua binding

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #2474:
URL: https://github.com/apache/incubator-opendal/issues/2474#issuecomment-1603730431

   Seems users who depend on opendal-ruby will need to build opendal by themselves?
   
   https://github.com/openresty/lua-cjson/blob/master/lua-cjson-2.1.0.12-1.rockspec


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Tracking issues of Lua binding [opendal]

Posted by "Xuanwo (via GitHub) via commits" <co...@opendal.apache.org>.
Xuanwo closed issue #2474: Tracking issues of Lua binding
URL: https://github.com/apache/opendal/issues/2474


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] oowl commented on issue #2474: Tracking issues of lua binding

Posted by "oowl (via GitHub)" <gi...@apache.org>.
oowl commented on issue #2474:
URL: https://github.com/apache/incubator-opendal/issues/2474#issuecomment-1611850029

   @Xuanwo Yeah, it can support binary release. Wait for my https://github.com/apache/incubator-opendal/pull/2558 PR to merge. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] oowl commented on issue #2474: Tracking issues of lua binding

Posted by "oowl (via GitHub)" <gi...@apache.org>.
oowl commented on issue #2474:
URL: https://github.com/apache/incubator-opendal/issues/2474#issuecomment-1619654634

   > 
   
   in openresty world, it has a bridge implement named as https://github.com/kingluo/lua-resty-ffi, it support offload all other runtime to other thread, and using eventfd notify nginx worker epoll to resume lua coroutine, I think it was a good solution to mlua async functionality


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] Xuanwo commented on issue #2474: Tracking issues of lua binding

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #2474:
URL: https://github.com/apache/incubator-opendal/issues/2474#issuecomment-1603729534

   Hi, do you how to release a lua package that contains a C dylib?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] khvzak commented on issue #2474: Tracking issues of lua binding

Posted by "khvzak (via GitHub)" <gi...@apache.org>.
khvzak commented on issue #2474:
URL: https://github.com/apache/incubator-opendal/issues/2474#issuecomment-1616926511

   > There doesn't seem to be a good way to make Rust's asynchronous IO work in OpenResty.
   
   There are few solutions how to integrate tokio (for example) with openresty.
   See https://github.com/khvzak/mlua/issues/76 and https://github.com/khvzak/mlua/issues/143 for some ideas.
   
   I also have plans to build a bridge between openresty (and libuv) and mlua async functionality.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Tracking issues of Lua binding [opendal]

Posted by "Xuanwo (via GitHub) via commits" <co...@opendal.apache.org>.
Xuanwo commented on issue #2474:
URL: https://github.com/apache/opendal/issues/2474#issuecomment-7082508179

   The repository supports Lua 5.2 through a local `luarocks make` build. The LuaRocks setup landed in #2558, and the remaining checklist item, multi-version Lua builds, was closed as not planned in #2575.
   
   *(This comment was generated by AI.)*


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] oowl commented on issue #2474: Tracking issues of lua binding

Posted by "oowl (via GitHub)" <gi...@apache.org>.
oowl commented on issue #2474:
URL: https://github.com/apache/incubator-opendal/issues/2474#issuecomment-1619655213

   > > There doesn't seem to be a good way to make Rust's asynchronous IO work in OpenResty.
   > 
   > There are few solutions how to integrate tokio (for example) with openresty. See [khvzak/mlua#76](https://github.com/khvzak/mlua/issues/76) and [khvzak/mlua#143](https://github.com/khvzak/mlua/issues/143) for some ideas.
   > 
   > I also have plans to build a bridge between openresty (and libuv) and mlua async functionality.
   
   In openresty world, it has a bridge implement named as https://github.com/kingluo/lua-resty-ffi, it support offload all other runtime to other thread, and using eventfd notify nginx worker epoll to resume lua coroutine, I think it was a good solution to mlua async functionality


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] oowl commented on issue #2474: Tracking issues of lua binding

Posted by "oowl (via GitHub)" <gi...@apache.org>.
oowl commented on issue #2474:
URL: https://github.com/apache/incubator-opendal/issues/2474#issuecomment-1603774935

   Yeah, luarocks neet to mannel execute `luarocks` build, But also we can release opendal to https://luarocks.org/ @Xuanwo, I will add rockspec to lua binding src.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] oowl commented on issue #2474: Tracking issues of lua binding

Posted by "oowl (via GitHub)" <gi...@apache.org>.
oowl commented on issue #2474:
URL: https://github.com/apache/incubator-opendal/issues/2474#issuecomment-1611852675

   Another question is about the support for Lua's async operations. In Lua scenarios such as OpenResty, pure asynchronous operations are required. There doesn't seem to be a good way to make Rust's asynchronous IO work in OpenResty.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org