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.
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.
- 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.
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?
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。
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.
- Using emscripten to debug memory leaks
- . net developer: using SQLite and webassembly
- Video: why should you consider webassembly in your next front end project
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.
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!
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.
Ferrous system team released a custom cargo runner probe run for embedded development. With it, you can easily run the embedded rust program.
- 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.
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 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.
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）。
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.