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

基于wasm3增加基础的wasm能力 #1308

Merged
merged 2 commits into from
Apr 28, 2023
Merged

Conversation

Tangxinwei
Copy link
Contributor

No description provided.

@chexiongsheng chexiongsheng merged commit 4b80213 into Tencent:master Apr 28, 2023
@chexiongsheng
Copy link
Collaborator

两点建议

1、建议wasm到js导出的api最好按WebAssembly JavaScript API标准来;
2、我看你搞了一套静态绑定,建议重用puerts的,puerts的静态绑定设计时就考虑过多种环境适配,比如现在就实现了两种环境的适配:
https://github.com/Tencent/puerts/blob/master/unreal/Puerts/Source/JsEnv/Public/V8Converter.hpp
https://github.com/Tencent/puerts/blob/master/unreal/Puerts/Source/JsEnv/Public/PesapiConverter.hpp
适配只要定义原生数据和虚拟机数据的交换即可。

@Tangxinwei Tangxinwei deleted the 20230427 branch May 20, 2023 09:55
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

Successfully merging this pull request may close these issues.

2 participants