-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider using WebAssembly for RedisGears #861
Comments
Thanks @zboralski . |
I understand that you chose JavaScript as the scripting language for RedisGears for a variety of reasons, including a smaller module footprint, better sandboxing possibilities, and the popularity of JavaScript among developers.
However, if sandboxing is the main concern, have you considered using WebAssembly (WASM) instead? WebAssembly is a portable binary instruction format that can run in the browser or on a server, and it's designed with performance and security in mind.
WASM can be compiled from other programming languages like C/C++, C#, Rust, Go, and many more, which means that developers would have a wide variety of options for writing RedisGears scripts. Additionally, using WASM could potentially reduce the module footprint even further than JavaScript, while providing even better sandboxing capabilities.
Of course, I understand that there may be other factors at play in the decision to use JavaScript, but I wanted to suggest WebAssembly as an alternative to consider.
Originally posted by @zboralski in #811 (comment)
The text was updated successfully, but these errors were encountered: