On the first line, you will find two points where the Native Client provides the utility. NaCl is good for C / C ++ / assembly encoders to bring an application written in their language of choice on the Internet, and NaCl helps applications run faster / with better performance / more efficiently (also with less battery usage). The native client also provides multi-threaded applications, allowing you to program models (and the performance that come with the threads) to run from the Internet (aka not with web workers).
The Sockets API is available for all chrome-plated applications. The difference is that the API makes sockets directly in the NaCl application, which is faster and has the advantage of transferring existing native applications to the browser without changes. There are also many other APIs such as game controllers, hardware decoding (coming soon), and Fullscreen / Mouselock. Find the full list of Pepper APIs that provide NaCl features here: https://developer.chrome.com/native-client/pepper_stable/c/index#pepper-stable-c-index .
For a portable native client, the most notable features are the ability to use streams and portable built-in functions (SIMD). Itβs possible that writing the main logic that can run the cross platform (for example, the C / C ++ βmodelβ, which can interact with different views on different platforms) is not a strict possibility, but it is useful to use NaCl, especially for developers who also use the Objective C / Android NDK to create their own mobile versions of their application.
NaClPM
source share