i love rust but at the moment rust is slowing down my process of learning web dev. so i chose typescript to learn more about web dev in less time. the connection of deno (typescript) with rust is really nice to see. i will definitely use this in the future in my web dev projects. thanks for the great vid!
Yea it can be quiet useful if you ever need your deno server to interface with a existing Rust or C/C++ code base. Or if you want to add functionality to Deno/JS which does not already exist. Good luck with your journey on learning webdev and thanks for the comment. I’m happy you enjoyed.
I wanted to clarify about dlopen. Do std::net in extern "C" functions work in typescript? It's just that if this is the case, then it might be worth trying FFI not through the WASM core. Thanks anyway. I did not know that DLL can be assembled and connected to nodejs in this way. In general, I still have little understanding of the interaction of Rust with third-party libraries in the defensive programming format. Obviously there must be problems with exploits and memory leaks in arrays. I don't want to face such problems in the future in the process of transitioning the language to a new version, as it was with Java...
Yea if you ever want to have a sit down on voice call discord then I would love to help clarify any questions or concerns you have. My discord link is in the description. Cheers.
Thank you so much for this. I'm wondering if there are any trade offs for using FFI vs WASM. I'm guessing WASM is more for browser use, but the entire process for using WASM is still mind boggling. Plus I heard that for some cases,WASM is worse for performance than its alternatives
i love rust but at the moment rust is slowing down my process of learning web dev. so i chose typescript to learn more about web dev in less time. the connection of deno (typescript) with rust is really nice to see. i will definitely use this in the future in my web dev projects. thanks for the great vid!
Yea it can be quiet useful if you ever need your deno server to interface with a existing Rust or C/C++ code base.
Or if you want to add functionality to Deno/JS which does not already exist.
Good luck with your journey on learning webdev and thanks for the comment. I’m happy you enjoyed.
This + WASM finally means your entire stack can be Rust while retaining JS interop. Insane. Keep the vids coming!
I wanted to clarify about dlopen. Do std::net in extern "C" functions work in typescript? It's just that if this is the case, then it might be worth trying FFI not through the WASM core. Thanks anyway. I did not know that DLL can be assembled and connected to nodejs in this way. In general, I still have little understanding of the interaction of Rust with third-party libraries in the defensive programming format. Obviously there must be problems with exploits and memory leaks in arrays. I don't want to face such problems in the future in the process of transitioning the language to a new version, as it was with Java...
Yea if you ever want to have a sit down on voice call discord then I would love to help clarify any questions or concerns you have.
My discord link is in the description. Cheers.
@@tylerlaceby Eh, I would now at least know English at a conversational level... Thank you. I'll save the link to your discord.
Great work!
Thank you so much for this. I'm wondering if there are any trade offs for using FFI vs WASM. I'm guessing WASM is more for browser use, but the entire process for using WASM is still mind boggling. Plus I heard that for some cases,WASM is worse for performance than its alternatives
In general wasm is slower than using Fast FFI. However wasm being system independent makes it very appealing
what vscode theme are u using?
Ayu
@@tylerlaceby thank you