Webassembly weekly news 0819

Time:2021-2-20

Editor’s note: the biggest news of the week is Mozilla’s layoff news. Mozilla team is the creator of webassembly and rust, and one of the main contributors of wasm and rust community. Unfortunately, Mozilla fired 250 employees this week, including the respected engineers who developed rust and webassembly. How will this affect our community? Fortunately, these talented former Mozilla employees are very likely to take rust and webassembly to new places.

WebAssembly

Mozilla downsizing and its impact on rust and webassembly communities

Mozilla announced 250 layoffs (about a quarter of its employees) and a refocusing on technology and products. Because Mozilla is the inventor of rust and webassembly, the news of layoff has aroused heated discussion between rust and webassembly community. We noticed that some of the best rust and webassembly technologists were fired. In particular, the following teams were affected:

  • It is this project that gave birth to the rust language.
  • The webassembly team, including the cranelift and Wasi developers.
  • MDN document team.
  • The development tools team of fox.

On the positive side, Mozilla does say that part of the goal of this reorganization is to refocus on new technologies, such as web assembly on the server side.

There is no doubt that Mozilla’s 250 outstanding technologists will soon find new jobs. We hope that their new work will still allow them to contribute to rust and webassembly. Good luck to them! Mozilla lifeboat website(Mozilla lifeboat web site)It is a good resource for everyone affected by this.

Further information

  • developerMatthew MacDonaldI wrote an article about Mozilla’s contribution to modern software technology and the impact of recent spending cuts. Rust and webassembly are the pearls of Mozilla’s legendary technology crown. We have every reason to believe that these two communities will continue to flourish.
  • After layoffs, MozillaannounceAn agreement has been signed with Google that Mozilla will receive $400 million from Google in each of the next five years. This makes the layoffs even more puzzling. Before the layoffs, Mozilla spent about $300 million a year. So I’m sure the money is enough.

Webassembly outside browser

Again, webassembly works outside the browser! Developer Alexandru ene has written a series of webassembly application tutorials on host and front-end UI outside the browser.

He listed some use case scenarios that can benefit from webassembly outside the browser:

  • User level customized video game or similar application script language is required.
  • Run some code with minimal overhead, such as fastly / cloudflare for edge computing scenarios.
  • It is safe to run some easily updated code on the Internet of things devices, and the runtime cost is minimal.
  • Execute extremely fast programs in environments where JIT cannot be executed.

What do you think?

Stateful webassembly function

Webassembly weekly news 0819
Webassembly defines a virtual “CPU,” but it’s not permanent storage (“hard disk”). Therefore, webassembly functions and programs are transactional and stateless in nature. But that’s gone forever!Second state webassembly virtual machineA Wasi like extension is provided to access external databases and object stores. If you are interested, you can experience thisdemo

Building C + + spa with minimal webassembly virtual DOM

The ASM DOM project allows you to write an entire Spa (single page application) in C + + and compile it into a webassembly (or asm.js As fallback). This will produce web applications that execute at local speed and take advantage of general hardware!

ASM DOM also supports server-side rendering. You can use C + + to write a server-side application, and then use webassembly to Node.js Run this program.

A new book about webassembly

Webassembly weekly news 0819

Webassembly in action introduces the webassembly stack and shows how to write and run browser based applications step by step. Gerard gallant, the author and developer of this article, starts with the basic concepts and then discusses practical topics including modular system, HTML and CSS, JavaScript promises and webassembly JavaScript API.

course

Rusty news

Cross platform application of rust

Webassembly weekly news 0819

Pro application developer astropad is moving from Objective-C to rust so that his products can work across platforms on MAC, iPad and now windows.

Analyzing different languages from Hello World

This is a great article about language design. No matter what programming language it is, designers must strike a balance between ease of use and controllability. In the case of rust, the compiler toolchain transforms the seemingly simple hello world examples into a complex set of rust statements that are difficult for beginners to understand. The same is true of other languages. In this paper, in-depth technology, discusses the background mechanism, and how to create a better programming language for beginners and experts!

Clap: quick development with small reward

The clap team announced a bounty program. Anyone who proposes PR for clap will be awarded $5 or $10. Clap is a full-featured and fast command-line parameter parser.

Probe run, running embedded rust application, achieves the same experience as running local apps

Ferrous system team released a custom cargo runner probe run for embedded development. With it, you can easily run the embedded rust program.

characteristic

  • As cargo runner, it is integrated into cargo run.
  • Display the program output stream of the device through RTT.
  • Exit firmware and print the stack trace on the breakpoint.

Real time chart tool based on rust and iced

Webassembly weekly news 0819

Cryptowatch is a real-time chart platform written by rust, iced, glow, wgpu, Lyon and Tokio.

According to the test of the development team, the CPU utilization of cryptowatch running on a typical server is about 8% – 10%, while on the same machine, the CPU utilization of most of the same type of web applications is more than 50%.

Kosmonaut: writing web browser from scratch with rust

Kosmonaut is a web browser engine. It uses rust to build, uses OpenGL binding through GL RS, uses glutin to manage windows, uses OpenGL to create context, uses servo’s html5ever and cssparser to parse HTML and CSS, and other auxiliary libraries. However, recent moves by the Mozilla servo team may put the project at risk.

Blog

Serverless

The state of serverless art

In this article, Joe Hellerstein of the University of Berkeley introduces cloudburst, a stateful framework for no service computing.

As we discussed earlier, the webassembly virtual machine also supports stateful functions(stateful functions)。

MICRONAUT 2.0 upgrade tools to enhance the support for no service and gravvivm

OCI recently officially released MICRONAUT 2.0, the main release of a full stack JVM based framework, which uses Java, groovy, kotlin and other languages to help create microservice based, cloud native, and no service applications.

Please add
Webassembly weekly news 0819

Recommended Today

Custom HTML tags (XML)

Both HTML and HTML5 can customize tags. After browsing the source code of some websites, you will find that there are tags and elements in some webpages that you don’t know, but these elements can be executed by the browser. This is the custom element. After defining tags freely without using pre-defined semantic tags, our […]