Google Chrome 76 promises better performance, simpler asynchronous coding for JavaScript programming language

Chrome 76 is here, with a series of improvements aimed at web developers.

The worst programming languages ​​to learn in 2019
Codementor lists languages ​​with difficulties that may not be worthwhile.
20190122nickproglangkaren

The latest version of Google's Chrome browser is available, with a range of performance and quality of life improvements for web developers.

Chrome 76 changes the way the browser handles structured data and makes it easier for developers to write code to handle API calls, an essential part of modern web development.

You should read the developer's content

Thanks to improvements in the Chrome V8 JavaScript engine, Chrome can now handle JSON, the format most commonly used to share data on the web, more efficiently.

By analyzing JSON more quickly, the browser can load websites and applications faster, with changes that result in JSON served by popular web pages that are analyzed on average 2.7 times faster.

The new JSON analyzer is also more memory efficient, reducing the footprint of JSON objects by optimizing the way the browser allocates memory when loading JSON.

The new version also offers significantly better performance when handling data arrays that have been frozen / sealed to avoid additions or alterations.

SEE: How to build a successful developer career (free PDF) (TechRepublic)

Sharing data with third-party services is an integral part of modern web development, and Chrome 76 makes it a bit easier to write code to exchange this data.

The new method Promise.allSettled () allows JavaScript developers to make calls to multiple APIs and wait until all those promises have been fulfilled or rejected before executing the designated code.

Google says that this is useful in cases where developers don't care about the status of the Promise, they just want to know when the work was done, regardless of whether it was successful, giving the following example:

const promises = [
fetch (& # 39; / api-call-1 & # 39;),
fetch (& # 39; / api-call-2 & # 39;),
fetch (& # 39; / api-call-3 & # 39;),
];

// Imagine that some of these requests fail and others succeed.

await Promise.allSettled (promises);

// All API calls have ended (failed or successful).
removeLoadingIndicator ();

It is also not necessary to create code wrappers around file readers in JavaScript, thanks to changes in how Chrome allows BLOBs of raw data (Binary Large OBjects) to be read, with the introduction of support for blob.text () blob.arrayBuffer () and blob.stream () JavaScript methods.

The release also makes it easy for users to install Progressive Web Apps on the desktop by adding an installation button to the address bar.

You can read a complete list of developer-centric changes here. ZDNet has an overview of the changes in Chrome 76 aimed at general users, including the fact that Flash is further removed by the browser, no more incognito detection by sites and the ability of sites to switch between modes Dark or light depending on the theme of the operating system.

See also

  Programmer working with the program code

Image: iStockphoto / RossHelen

For More Updates Check out Blog, Windows Softwares Drivers, Antivirus, Ms Office, Graphic Design Don’t Forget to Look Our Facebook Page Get Into Pc like us & follow on Twitter- @getinpc

Please Note: This content is provided and hosted by a 3rd party server. Sometimes these servers may include advertisements. igetintopc.com does not host or upload this material and is not responsible for the content.