I'm a fan of Open Source and have a growing interest in serverless and edge computing. I'm not a big fan of spiders, but they're doing good work eating bugs. I also stream on Twitch.
Nice intro to getting started Sendil. I’m still looking to learn rust/WASM.
So when using the #[no_mangle] decorator, it should only be for the public API right? I guess there is no way for rust to know what is public or private, or is that notion just completely removed from the rust language?
Nice intro to getting started Sendil. I’m still looking to learn rust/WASM.
So when using the
#[no_mangle]
decorator, it should only be for the public API right? I guess there is no way for rust to know what is public or private, or is that notion just completely removed from the rust language?Yeah
#[no_mangle]
is for public.Everything by default in Rust is
private
you can usepub
to make something public.