July 18, 2024


Sapiens Digital

Rust is most popular WebAssembly language, survey says

2 min read


The Rust programming language is the most frequently used language for developing WebAssembly applications, according to a recent survey. And WebAssembly is growing in popularity.

These findings and others were featured in The State of WebAssembly 2022, a report published June 20 by software consulting firm Scott Logic, based on a survey of 299 application developers. Asked which language they use for WebAssembly development, Rust came out on top, with 45% saying they use Rust frequently or sometimes. Rust also topped last year’s initial run of the survey.

The report noted the close relationship between Rust and WebAssembly, or Wasm, with most Wasm runtimes written in Rust. Coming in second behind Rust was JavaScript, with developers able to compile a JavaScript engine to Wasm if not JavaScript itself. The biggest climbers in the survey were Blazor and Python, while AssemblyScript had the biggest fall in usage.

All told, 67% of respondents said they were frequently using WebAssembly, up from 47% last year. In other findings:

  • Leading applications of Wasm include web development, way out in first place with nearly 70% of respondents using Wasm for web apps, followed by serverless (35%), containerization (25%), plug-in environment (23%), and IoT (10%). Percentages are approximate.
  • The top WebAssembly runtimes in use were Wasmtime, Wasmer, and Wasm3.
  • Capabilities most sought for Wasm to be successful in the future include non-browser APIs, better debugging support, and improved build tools.
  • The WASI (WebAssembly System Interface) proposals the respondents are most interested in are I/O, sockets, filesystem, native threads, and HTTP.

Copyright © 2022 IDG Communications, Inc.


Source link

Copyright © All rights reserved. | Newsphere by AF themes.