Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the three kernel technologies that WeChat Mini Programs needs to know for development?

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Today, I will talk to you about what are the three kernel technologies that WeChat Mini Programs needs to understand. Many people may not know much about them. In order to make you understand better, the editor summed up the following contents for you. I hope you can get something from this article.

The following analysis of WeChat Mini Programs's operating mechanism may be more profound and thorough for your understanding of WeChat Mini Programs. The official document describes as follows:

On iOS, Mini Program's javascript code runs in JavaScriptCore

On Android, Mini Program's javascript code is parsed through the X5 kernel

On the development tools, Mini Program's javascript code runs in nwjs (chrome kernel)

1. JavaScriptCore

JavaScriptCores is open source and downloaded from https://github.com/phoboslab/JavaScriptCore-iOS

OS X Mavericks and iOS 7 introduce the JavaScriptCore library, which encapsulates WebKit's JavaScript engine in Objective-C, providing a simple, fast and secure way to access the world's most popular languages. Whether you love it or hate it, the ubiquity of JavaScript has greatly increased the use of programmers, tools, and resources in ultra-fast virtual machines such as OS X and iOS.

Second, X5 kernel

It belongs to the kernel developed by Chinese people, and Tencent's own browser parsing kernel.

III. Nwjs

Original name: node-webkit, of course, is also an open source https://github.com/nwjs/nw.js/.

NW.js is based on Chromium and Node.js, which used to be called nodeWebkit. This gives you the possibility to use HTML and JavaScript to make desktop applications. In the application, you can directly call Node.js 's various api and existing third-party packages. Because of the cross-platform of Chromium and Node.js, your application can also be cross-platform. There are already many well-known applications based on NW.js.

After reading the above, do you have any further understanding of the three kernel technologies that WeChat Mini Programs needs to know for development? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report