Cybersecurity news

Jessica Doner

Back to the list

Supporting native Rust in Workers with the new Emscripten target for wasm-bindgen

Cloudflare,

Cloudflare announced an experimental preview of native Rust support in Workers using the Emscripten target for the wasm-bindgen toolchain.

Overview

Cloudflare announced an experimental preview that allows native Rust code to run directly on its Workers platform. This update adds support for the Emscripten target within the wasm-bindgen toolchain, which powers Rust-based WebAssembly applications. The feature was initially started by Google and later reviewed by Cloudflare engineers. It enables developers to run complex applications, including those using the Tokio async runtimeThe environment in which a program executes, or the period of time while the program is actively running, on the web, Node.js, and Cloudflare's global network. The system virtualizes native features like timers, file system operations, and sockets to make them work in a browser or serverless environment. As a result, developers can now run a Rust-native Minecraft serverA computer or program on a network that stores data and responds to requests from client devices inside a Durable Object using real TCP sockets.

Terms in this story

Runtime
The environment in which a program executes, or the period of time while the program is actively running. A flaw in a container or language runtime can let a program escape its isolation, and runtime security tools watch what a program actually does in memory while it runs.
server
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
open source
Software whose source code is publicly available for anyone to inspect, use, modify, and share. Most websites and apps rely on hundreds of open-source code libraries, so a single security flaw or malicious update in a popular library can affect thousands of companies at once.
APIs
A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
JavaScript
The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
codebases
The complete collection of source code files used to build a software application or system. Security teams run automated scanners across a company's codebase to catch hardcoded passwords, outdated dependencies, and injection flaws before changes ship to production.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cloudflare website. Cite the article, not this page.

Read the full article on Cloudflare (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related