This article briefly analyzes the operating mechanism of WeChat mini programs, which may give you a deeper and more thorough understanding of WeChat mini programs. The official documentation has the following introduction:
On iOS, the javascript code of the mini program runs in JavaScriptCore
On Android, the mini program The javascript code of the program is parsed through the JavaScriptCores is open source, and the download address is https://github.com/phoboslab/JavaScriptCore-iOS
OS X Mavericks and iOS 7 introduced the JavaScriptCore library, which encapsulates WebKit's JavaScript engine in Objective-C. Provides easy, fast and secure access to the world's most popular languages. Love it or hate it, JavaScript's ubiquity has led to a massive increase in programmers, tools, and resources integrated into ultra-fast virtual machines like those in OS X and iOS.
2. X5 kernel
is a kernel developed by Chinese people, and Tencent’s own browser parsing kernel.
3. nwjs
Original name: node-webkit, of course it is also open source https://github.com/nwjs/nw.js/.
NW.js is based on Chromium and
Node.js. It was also called nodeWebkit in the past. This gives you the possibility to create desktop applications using HTML and JavaScript. In the application, you can directly call various
apiof Node.js and existing third-party packages. Because Chromium and Node.js are cross-platform, your application can also be cross-platform. There are already many well-known applications based on NW.js.
The above is the detailed content of Three core technologies you need to know about WeChat applet development. For more information, please follow other related articles on the PHP Chinese website!