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

有无计划或方案? #1

Open
Guo-Shiyu opened this issue Nov 30, 2022 · 2 comments
Open

有无计划或方案? #1

Guo-Shiyu opened this issue Nov 30, 2022 · 2 comments

Comments

@Guo-Shiyu
Copy link

我日常开发大量使用 libhv 和 lua , 有过绑定 lua 到 hv 的尝试, 希望能给此项目提供帮助 。

我的做法是使用 sol2 将 c++ 中的函数注册给 lua_state, 将其编译为可以被 lua require 加载的包.

不知作者有何计划或方案? 希望能与你交流.

@ithewei
Copy link
Contributor

ithewei commented Dec 1, 2022

第一阶段打算先将c接口(主要是hloop.h)手动绑定到lua,后面再逐步完善,期待你的加入

@xs-411
Copy link

xs-411 commented Jul 26, 2023

我日常开发大量使用 libhv 和 lua , 有过绑定 lua 到 hv 的尝试, 希望能给此项目提供帮助 。

我的做法是使用 sol2 将 c++ 中的函数注册给 lua_state, 将其编译为可以被 lua require 加载的包.

不知作者有何计划或方案? 希望能与你交流.

sol2竟然可以简化c/lua之间的调用,我理解的没错吧。

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

3 participants