enpowered by wang yu
JSPatch , 远程控制
Some programs may not know at the time of compilation what arguments are to be passed to a function. For instance, an interpreter may be told at run-time about the number and types of arguments used to call a given function. Libffi can be used in such programs to provide a bridge from the interpreter program to compiled code.
Libffi
FFI stands for Foreign Function Interface. A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. The libffi library really only provides the lowest, machine dependent layer of a fully featured foreign function interface. A layer must exist above libffi that handles type conversions for values passed between the two languages.
目测搞热修复最 niubinish 的,自然是 bang.
老王在 elema 的分享 : 如何编写 iOS Patch, IT 大咖说,还是有用的
感觉 加一个 虚拟机 , 会好一些。 JSVirtualMachine
JSExport
官方 repo :
效果是这样滴, 下发前后, 按钮点击的颜色有变化
npm run build
20180503 以前的感想
Webpack 的服务器配置,要我自己写。 起不了 node.
参考链接: Xcode 7.3 cannot create __weak reference in file using manual reference counting