This is session is on WebAssembly with Rust. In which first we will discuss web assembly in detail then we will discuss how the WebAssembly will change the dimension of web development followed with the Demo and see some Live applications working on WebAssembly.
2. Lack of etiquette and manners is a huge turn off.
KnolX Etiquettes
Punctuality
Respect Knolx session timings, you
are requested not to join sessions
after a 5 minutes threshold post
the session start time.
Feedback
Make sure to submit a constructive
feedback for all sessions as it is
very helpful for the presenter.
Mute
Please keep your window on mute
Avoid Disturbance
Avoid leaving your window
unmuted after asking a question
6. WebAssembly
● New transformation in Web development.
● A new capability to Web and web browsers.
● Fast, portable and secure.
● Safe and Isolated execution and memory.
● Compile to WASM from any supported language
○ C, C++, Go, Rust
● Interpret in Many languages:
○ JavaScript,Node, Go, Rust, C, C++
7. Efficient and Fast
WebAssembly aims to execute at
native speed by taking advantage of
common hardware capabilities
available on a wide range of
platforms.
01
Open and debuggable
WebAssembly is designed to be
pretty-printed in a textual format for
debugging, testing, experimenting,
optimizing, learning, teaching, and
writing programs by hand.
03
Safe
WebAssembly describes a
memory-safe, sandboxed execution
environment that may even be
implemented inside existing
JavaScript virtual machines.
02
Open web platform
WebAssembly is designed to
maintain the versionless,
feature-tested, and
backwards-compatible nature of the
web.
04
WebAssembly features
8.
9. WebAssembly for Web developers
● Existing code to web.
● like Autocad, Various Games, and image processing tools, etc.
● Ecosystem
10.
11. Web Development Today
● Browser Compatibility
● Disparate build
environment
● TypeScript,
JavaScript,
CoffeeScript, X-to-JS
CodeGen.
As SPA’s gets better and
more powerful, gets
everything gets slower.
● Slow builds.
● Bloated Frameworks.
● Code Performance.
● Browser Issues.
● An infinite number of
ways to solve every
problem.
● Too many libraries, too
much to learn
node_module directory
is a meme.
● Rapid ecosystem
change.
Fragmented Slow Overwhelming
18. Advantages of WebAssembly
❏ Compatible with All Major Operating Systems and Web Browsers.
❏ Offers Programming Language Choice to Developers.
❏ Provides Better Load Time to Web Applications.
❏ Ensures Secure Experience to Users.
19. Improvements areas in Web Assembly
❏ Manual Memory management(No garbage collector).
❏ Debugging.
❏ Direct access to Web APIs.
❏ Support limited languages.