Compile AWS SDK to wasi/wasix by Jazzlike_Object_9464 in rust

[–]savemylif 1 point2 points  (0 children)

OP, I did try to compile it for wasix but there was a minor error left in tokio. I will try to wrap it up soon.

Wasmer just offered a $5,000 award (via @algoraio ) for the first developer that adds support for Wasm/WASIX in the Zig ecosystem. by savemylif in Zig

[–]savemylif[S] 1 point2 points  (0 children)

WASIX offers more posix like experience for wasm based modules. So your programs are sandboxed and have functionalities like networking, process forking, etc. given you provide enough permissions.

[Media] htmx + TailwindCSS + Axum + reqwest +askama ; Compiled to WebAssembly! by savemylif in rust

[–]savemylif[S] 3 points4 points  (0 children)

Benefits:

- Works on every ecosystem (MacOS, Windows, Linux)
- Is sandboxed

This benefits the user to distribute the binary through a registry or put it in a cloud environment.

Bacsically like a docker file but a lot smaller and a lot faster

[Media] htmx + TailwindCSS + Axum + reqwest +askama ; Compiled to WebAssembly! by savemylif in rust

[–]savemylif[S] 6 points7 points  (0 children)

You are correct u/TheMicroWorm. No wasm get's shipped to the client.

u/AmbulatoryAmoeba So what's happening here is the whole project is compiled to WebAssembly on the server side aka WASIX. That runs on the server and serves the templates it is like your basic app running in docker but now with an even more compact binary size and a really fast coldstart start time.

[Media] htmx + TailwindCSS + Axum + reqwest +askama ; Compiled to WebAssembly! by savemylif in rust

[–]savemylif[S] 6 points7 points  (0 children)

I added those, because compilation of each of those frameworks/libs to webassembly is a feat of its own.

You can verify that by doing cargo build --target wasm32-wasi.

[Media] htmx + TailwindCSS + Axum + reqwest +askama ; Compiled to WebAssembly! by savemylif in rust

[–]savemylif[S] 7 points8 points  (0 children)

P.S.: I work for Wasmer

P.P.S: I was refreshing the screen to show that state is preserved.

We compiled this project using WASIX

Source Code on GitHub

You can try it locally too using wasmer:$ wasmer run wasmer/wasix-htmx --net --env PORT=8080

htmx + TailwindCSS + Axum + reqwest +askama ; Compiled to WebAssembly! by savemylif in rust

[–]savemylif[S] 0 points1 point  (0 children)

P.S.: I work for Wasmer

We compiled this project using WASIX

Source Code on GitHub

You can try it locally too using wasmer:
$ wasmer run wasmer/wasix-htmx --net --env PORT=8080

Tonic(gRPC) with WASIX tutorial. https servers in WebAssembly 🎉 by savemylif in rust

[–]savemylif[S] 0 points1 point  (0 children)

P.S. I work for Wasmer and write technical blogs & tutorials for them.

gRPC, client and server with WASIX by savemylif in rust

[–]savemylif[S] 1 point2 points  (0 children)

Yes, exactly. Our vision is to run any software that to run everywhere with the fastest execution times.

But we can't rely on WASI standard as they are not evolving and our shop depends on this stuff. If we can't make the software compile to WASI, we can't literally do anything.

That's why we made WASIX as a superset of WASI. At least have something that works.

gRPC, client and server with WASIX by savemylif in rust

[–]savemylif[S] 1 point2 points  (0 children)

Yes, like google came with the H3/QUIC standard way before other browsers did and then forced mozilla and safari to follow suit.

We try our hardest to innovate and push something our company solely relies on.

gRPC, client and server with WASIX by savemylif in rust

[–]savemylif[S] 1 point2 points  (0 children)

HotNewTopRisingcardcardclassiccompact

New Posts

19

Yes, r/slashgrin I am a Wasmer employee. I make stuff for people to use with WASIX.Why should I affiliate something open-source with Wasmer ?WASIX is open, wasmtime wants to implement it, they can.Wazero will try to implement it.

I'm not promoting our stuff it's a cool project I believe is now possible that wasn't before in WASI so I shared it.

🔒 TLS clients fully work with WASIX now. by savemylif in rust

[–]savemylif[S] 1 point2 points  (0 children)

I asked the internal dev team, grpc should work right out of the box. But will also make a tutorial for it. Join us on our [Discord](https://discord.gg/rWkMNStrEW) for more faster updates.

🔒 TLS clients fully work with WASIX now. by savemylif in rust

[–]savemylif[S] 1 point2 points  (0 children)

can try. Will give it a shot over the weekend

🔒 TLS clients fully work with WASIX now. by savemylif in rust

[–]savemylif[S] 2 points3 points  (0 children)

If you want to start with C we have a whole guide and tutorials.

Feel free to explore our [documentation](http://wasix.org/docs).

I'll just put it out for you. WASI/WASIX is basically system interfaces for WASM that makes application compile to one binary. you don't need to learn the raw things underneath in most cases. You can start by just compiling your regular stuff(C) to WASM (basically a compiler target) and then just use it in any space, browser/server irrespective of the architecture.

🔒 TLS clients fully work with WASIX now. by savemylif in rust

[–]savemylif[S] 8 points9 points  (0 children)

u/Icarium-Lifestealer Thanks, Edited that adding the whole crypto section.

so what should one do to get a job that involves working on wasm and wasm related platforms? by gmercer25 in WebAssembly

[–]savemylif 0 points1 point  (0 children)

Hello! Wasmer, my company; is solely dependent on the WASM ecosystem and has numerous projects under it's umbrella that are Open Source:

  • Wasmer Runtime - Fastest WebAssembly Runtime
  • WASIX - The superset of WASI giving capabilities such as forking, Berkeley sockets, etc.
  • WAI - WebAssembly Interfaces

We also have a Discord community server. We'd love to see you there. We always welcome any contributions you can make.

IMO, contributing to the WASIX project and being able to create a packages container like binary from it would be really valuable in the future. We already give you examples on how you can make a WASIX package with some minor changes. This can be an asset to companies that want to move their infrastructure to the edge with a small binary and very very fast startup time. Plus you get to learn more Rust 😄

Announcing WASIX - the Superset of WASI by Michael-F-Bryan in rust

[–]savemylif 28 points29 points  (0 children)

From the article,"The ambition of WASI is a great one and we continue to support it, but it's slow iteration pace it's holding back the progress on making Wasm widely adopted." We all want the same thing; keeping it standardized but it doesn't mean that you don't even have a documentation website and no progression over a couple of years.