What’s new in the world of WebAssemblies. Rust is better than Python?

WebAssembly technology was not supposed to be a mainstream thing. Idea of making high performance low level environment inside browser virual machine was somewhat quirky but promised a lot in the end. We could recompile any code from any language into more suitable low level instructions instead of using one more layer of Javascript. Good in theory. Practice is a bit rough. I personally don’t know any of popular framework that would use WebAssembly underneath as a runtime. There are many experimental projects and interesting ideas around it. Will WebAssembly live up to its promise and potential?
Here’s the talk from Steve Klubnik on this:

Things are developing pretty fast these days. Rust became a mainstream language. Originally developed as a replacement for C++, more on system side, than to be an application oriented language, Rust evolved into a mature ecosystem. Package managers and frameworks have been built and devs started looking at it as a replacement for more generic script languages. You can argue that statically typed language is not a replacement for, say, Python, and you will be right. But Rust still can be a good alternative to Python. Here’s a talk from Owen Synge why you should consider Rust. I found his arguments pretty compelling. One of them is a garbage collector implementation differences. Rust is using reference counting mechanism which does not require a global lock for the collector. In multi-process and threaded environment it’s a big advantage. Rust is indeed more performant.


Swift critique from Rust designer

In nutshell Rust is another evolution of C/C++ by Mozilla Foundation. Another attempt to create a cleaner and safer language with minimal performance overhead (POD and static types, move semantics, well defined¬†object format, small runtime, efficient use of pointers and references etc). Along the line with D, Go, Swift and likes. I’m not at the position of covering all ins and outs of Rust, as I’ve not written a single line of code in it, but since I’ve started gradual migration toward Swift, I had to keep eye on its conceptual competitors (or relatives). While doing that, I found good article from Rust designer Graydon Hoare¬†about where he compared Swift with Rust. Pretty interesting overview. You can find it here.

More on Rust:



Proudly powered by WordPress
Theme: Esquire by Matthew Buchanan.