A new WebAssembly logo from the community
Keith Brewster created a new WebAssembly logo, and shared it on Twitter. It is “magical”. Do you like this logo? Do you agree that it conveys the meanings and values of WebAssembly more clearly? If so, what are those values? :) Share your opinion with us!
A WebAssembly (WASM) Sudoku Game
Sudoku players rejoice! Github user rossinek created a Sudoku game generator in WebAssembly. This is from his C-based Sudoku game source code. He cross-compiled the C code to WebAssembly, and then added a Vue front end for the UI. Well done! Play the game here!
Tip: before you start to play the game, you can choose the difficulty and size of this game.
Technologies:
Legacy C code
emscripten – compile C code into js/wasm
vuejs/vue-next – Vue 3.0 (currently in beta)
vuejs/vite – Great development experience provider
TypeScript – no configuration is needed with Vue 3.0 + vite setup
Learn more about this project at its GitHub repo.
Developers: Don’t you have some old C source code laying around from school projects? You too, can make them into web applications through WebAssembly! Let us know via contact@webassembly.today if you have done so!
A RISC-V processor emulator written in WebAssembly & Rust
My online RISC-V emulator written in #Rust + #WebAssembly supports debugger. The video shows I debug Linux in the browser. Demo and code is here https://t.co/LtQK6y7GMn#rustlang#wasmpic.twitter.com/KI1Gs1UeFh
— takahiro(John Smith) (@superhoge) May 12, 2020
RISC-V is an open source CPU architecture that is going to disrupt x86 (Intel) and Arm! Before that happens, however, it needs an army of developers working on RISC-V applications. Now, thanks to Github user takahirox and WebAssembly, you can be part of the revolution too. All you need is a web browser. You can run a Linux distribution on RISC-V inside your browser. No software or hardware to install. Imagine that! 💪
Learn more about this project at its GitHub repo.
Modern WebAssembly starter
Did we just talk about porting your old C/C++ code to a web app through WebAssembly? This open source project from GitHub user TheLartians is just for that! The boilerplate template helps you compile existing C++ code to WebAssembly and publish a Javascript package for it on NPM.
Wasmer announced its Java library to run WebAssembly
Enterprise WebAssembly startup Wasmer announced support for Java. That is, you can bootstrap and call WebAssembly programs from Java code. Unsurprisingly, this Java to WebAssembly bridge is called the Wasmer JNI. 😂
Build a web app with Blazor WebAssembly and VS Code
Besides Java, you can also use WebAssembly with Microsoft’s .NET framework! Microsoft recently released Blazor WebAssembly 3.2.0 RC. This is the last planned preview release of Blazor WebAssembly, and it contains all features expected for its official general availability.
This article shows how to set up your development environment and build your first WebAssembly app with Blazor, Visual Studio Code, and C#. If you are a .NET developer out there, try it and let us know what you think!
Enjoyed reading this newsletter? Please subscribe to make sure that you do not miss a future issue. ❤️
This newsletter is a collaborative effort. Don’t forget to leave comments! Suggest topics or projects you would like to see we cover next week. Thanks!
Until then, stay safe, stay healthy! 😷