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

【Cocos Creator】Cocos Creater 中如何实现JSB的自动绑定 #16

Open
wzpan opened this issue Jul 4, 2019 · 1 comment
Open

Comments

@wzpan
Copy link

wzpan commented Jul 4, 2019

https://oedx.github.io/2019/07/03/cocos-creator-js-binding-auto/

尽管Cocos官方提供了jsb.reflection.callStaticMethod方式支持从JS端直接调用Native端(Android,iOS/Mac)的接口,但是经过大量实践发现此接口在大量频繁调用情况下性能很低下,尤其是在Android端,比如调用Native端实现的打印log的接口,而且会容易引起一些native crash,例如local reference table overf

@jareguo
Copy link

jareguo commented Nov 29, 2019

很棒的一篇文章~ Creator 采用的绑定工具的真实仓库地址是 https://github.com/cocos-creator/bindings-generator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants