Cloudflare is driving efforts to make the JavaScript environment compatible – TechCrunch

Read Time:3 Minute, 49 Second

Today, Cloudflare announced that it is collaborating with Deno, the developer of the Deno runtime environment of the same name, and individual participants in the Node.js open source project to create standards that allow developers to write code between Deno, Node.js and the cloud-free application platform Cloudflare. , Cloudflare Workers. Cloudflare co-founder and CEO Matthew Prince says the effort will allow applications to be transferred between Workers, Deno and Node.js without the need for rewriting, which is now unattainable.

“JavaScript is used by millions of developers, and is usually the first language they learn. So far, JavaScript standards have been completely focused on an interface such as a browser, ”Prince TechCrunch said in an email interview. “By standardizing basic JavaScript APIs, keeping in mind both the interface and the backend, we can enable interface developers to have more than ever, access to the backend in a way that seems familiar.”

Built on Google’s open source JavaScript engine, Node.js is credited with unifying web application development in a single programming language, JavaScript, which allows developers to run server-side scripts to get dynamic web page content before sending the page to a web browser user. But despite more than a decade of development, Node.js lacks compatibility. The developers had to rely on tacit knowledge and create tools for sharing code in different JavaScript environments.

“The future of JavaScript is universal, it is the ability to move JavaScript between many environments. This future must be deliberately designed, ”said Miles Borins, a member of the Node.js technical steering committee, the Node.js technical governing body. “The promise to ‘write once, run wherever you want’ will only be possible with joint initiatives such as the Runtimes web-compatible community group.”

Cloudflare, Deno, and individual Node.js members of the Node.js Technical Steering Committee will develop API-based interoperability standards within the Runtimes Community Group, which operates within the World Wide Web Consortium. Together, they will seek to facilitate the use of tools and integrations with the JavaScript community in the runtime, remove platform-specific nuances, and allow applications to evolve and change over time without overwriting.

“Extensive success in the Deno ecosystem can be largely attributed to our strict adherence to web platform standards,” Deno software engineer Luca Cazonata said in a statement. “We knew from the beginning that Deno could only be successful if it went into browser interoperability – the developers and the broad trends in the ecosystem showed us that this rate was right. In addition to our existing standards for working with … W3C, we look forward to working with Cloudflare and Node.js staff on even better interoperability. ”

The prince added: “[W]If JavaScript APIs look, feel, and behave the same in the most popular JavaScript environments (Node, Deno, and Workers), developers will benefit. We strive to free developers from the isolation of the environment – the transition to a new environment should not mean rewriting the entire application.

This, of course, would be beneficial for Cloudflare, which released the Workers platform from beta in 2018. The revenue driver for Cloudflare – Workers charges a fee for server-side task packs – more than 450,000 developers have built the platform and According to Prince, more than three million applications have been launched. Cloudflare certainly hopes to increase those numbers by convincing development teams to move from other JavaScript environments – especially in light of the company’s grim situation profit forecast.

Not coincidentally, Cloudflare also announced today that it works with open source Workers under the Apache V2 license. The company sees the move as a response to blocking vendors, but it also raises the profile of Workers – more or less serving as free advertising.

“It’s not enough to just write down standards. [By] By opening up the sources of the Cloudflare Workers runtime environment, we are making these APIs widely available and giving developers an easy way to adopt new standards, ”said Prince. “There are two things developers are hesitant about when adopting any new development platform. First, they are worried that they will be blocked. No matter how technology-minded you are, when you bet on the future of a company on a development platform, you don’t want to be ransomed. And second: as a developer, you want the local development environment to quickly iterate and test your changes. Workers’ open source runtime solves both of these problems, giving developers a standard that can run anywhere, meaning both in any hosting environment and on their local machine for quick testing and iteration. ”

Source by [author_name]

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %
Previous post Morning Report: Your Guide to the Primary Election
Next post Dior boots, lip sticks and bracelets Pandora: what is now buying Charli XCX