

Blazor Posts Biggest Gain in WebAssembly Usage: Report
source link: https://visualstudiomagazine.com/articles/2022/06/24/blazor-webassembly.aspx
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Blazor Posts Biggest Gain in WebAssembly Usage: Report
- By David Ramel
- 06/24/2022
"It's been a good year for Blazor!"
That's one takeaway from the second consecutive "State of WebAssembly" report just published by UK-based software consultancy Scott Logic.
WebAssembly (sometimes called wasm) is the tech that makes Microsoft's client-side Blazor possible, as it's a low-level assembly-like language that serves as compilation target for several programming languages, allowing them to be used in browser-based projects that heretofore primarily relied upon the ubiquitous, love-it-or-hate-it JavaScript.
Those langues include C/C++, C#, Rust and others.
The 2022 report, authored by Scott Logic CTO Colin Eberhardt, follows up on his 2021 report based on a survey that polled hundreds of people to find out more about where and how people are using the technology and their thoughts for the future.
This year, like last year, Rust was found to be the most frequently used and most desired programming language for WebAssembly.
"Rust once again comes out on top, with 45 percent saying they use it frequently or sometimes," Eberhardt said. "WebAssembly and Rust do have quite a close relationship, most WebAssembly runtimes are written in Rust, as are the various platforms based on wasm. It also enjoys some of the best tooling, so this result doesn't come as a big surprise."
While Rust usage and desirability has continued to climb, the Blazor web-dev framework is coming on strong in the report, which treats Blazor as a programming language, though it's not.
On that desirability scale, Blazor climbed from sixth spot in 2021 to fourth this year among seven "programming languages," as shown in the graphic below that depicts the percentage of respondents who use a given language 'frequently,' or 'sometimes,' compared to last year.
Eberhardt said, "Rust has had a modest rise in desirability, but the biggest climber is Blazor, with Go following just behind."
Commenting on another graphic that shows which language people most want to use for WebAssembly development (below), he said, "This shows that Rust usage has climbed steadily, but the biggest climbers are Blazor and Python. It's certainly been a big year for Python, with the launch of Pyscript, an interactive online playground. AssemblyScript has had the biggest fall in usage, which surprised me a little. I do wonder whether some respondents are incorrectly identifying AssemblyScript as JavaScript?"
Yet another graphic also sheds light on desired languages in the 2022 report, depicting the percentage of respondents who want to use a language a lot, a little, don't want to use or have not heard of it.
Along with a big climb in usage and desire for Blazor, other highlights of the report as presented by Eberhardt include:
- Rust usage and desirability has continued to climb
- Python has seen a big climb in usage
- JavaScript has become a viable WebAssembly language
- Wasmtime is the most widely used runtime
- The use of WebAssembly for Serverless, Containerization and as a plug-in host has climbed significantly
- Survey respondents are using WebAssembly much more frequently
- Non-browser APIs are what WebAssembly needs the most
Eberhardt said one notable change from last year concerns what people are using WebAssembly for, noting a considerable increase in usage for serverless and containerization projects, as well as it gaining ground as a plug-in technology.
"As I mentioned in the introduction, it has been quite the year for WebAssembly," he concluded. "I was certainly aware that this technology is shifting more towards being a universal runtime, but didn't expect the change to be quite so marked."
The report is based on a survey that garnered 299 respondents, compared to 250 last year, with no details on exact methodology.
The report sparked robust discussions on the development-oriented social site Hacker News and on Reddit, where one commenter pointed out that Blazor is not a programming language, but rather a framework in which C# is used.
"That's a very good point - I'll correct that for next year's survey," Eberhardt said. "I guess people who work on WebAssembly applications know that C# and Blazor are effectively synonymous, so the results shouldn't be effected [sic]."
About the Author
David Ramel is an editor and writer for Converge360.
Recommend
-
154
Blazor正式成为Microsoft官方.NET 和WebAssembly项目
-
74
Blazor For information about using Blazor, see blazor.net . Sources moved Almost all the sources for Blazor and the Razor Components programming model...
-
18
Key Takeaways WebAssembly is a new client-side technology that enables near-native performance without plug-ins in all modern browsers, including mobile. Many languages, includin...
-
46
On Tuesday, the ever-impressive Blazor team announced a new experimental project : Mobile Bindings...
-
21
对于单页面应用程序,gRPC-Web 是 JSON-over-HTTP 的一种方便、高性能的替代方案。 如果你已经了解关于 gRPC 和 gRPC-Web 的一切,你可以跳到 添加 gRPC 服务到一个Blazor WebAssembly 应用程序 一节。如果你只是想要...
-
56
Blazor is Microsoft’s latest Single Page Application (SPA) framework, which is C# based and renders to the browser HTML DOM. Blazor comes in two flavors: server-side and client-side rendering. This article focuses on clie...
-
36
最美人间四月天,春光不负赶路人。在充满无限希望的明媚春天里,一路风雨兼程的.NET团队正奋力实现新的突破。 根据计划,新一代基于WebAssembly 技术研发的前端SPA框架Blazor 将于5月19日在微软Build大会升空。 目前,Blazor 的测试工作和...
-
34
最近blazor更新很快,今天在官方博客上发布了 Blazor WebAssembly 3.2.0 RC:
-
15
Blazor WebAssembly has officially made it to its first production release. In this post, I'm going to talk about some of the great features which shipped in that release; as well as look ahead to highlight some of the feat...
-
5
New Study Looks at Optimal Hashtag Usage in Instagram Feed Posts, Based on 18m Examples Published Nov. 19, 2021 By
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK