Replies: 2 comments 1 reply
-
The tamarin vm could be compiled to wasm . This would give added security sandboxing |
Beta Was this translation helpful? Give feedback.
-
Hey there @gedw99, thanks for the question. My perspective is that Tamarin may be most useful in situations where you want to expose a friendly and secure scripting language to end users. WebAssembly is amazing of course, and is the right way to run arbitrary code in the browser and so on. But if you're building a product that's less about running arbitrary existing code, and more about developing new scripts, new integrations, or rapid prototyping, maybe Tamarin makes some sense. Now, if you want to provide end users a Javascript or Typescript environment, and run and secure that using WebAssembly, then that makes total sense. But JS/TS have their own tradeoffs of course. Having a project that instead embodies Go's sensibilities and values might have a lot of appeal to some. Things like single binary distributions of Go, valuing simplicity, not having to deal with NPM, not trying to keep up with the treadmill of the tumultuous JS ecosystem. I have in mind teams that are already working with Go and are looking to add end user scripting to their projects. I have also thought about whether it could make sense to compile Tamarin to WASM (either compiling its source more directly, or compiling the Tamarin VM). It would be a great project to take on :-) Wazero specifically is new to me I think and does look like a great project. Do you have a specific use case in your projects you're thinking about? Let me know if you want to chat more about it. (Edited to clarify the "arbitrary existing code" point) |
Beta Was this translation helpful? Give feedback.
-
This looks very well thought out.
could someone comment about why Tanarin verses using wasm and Wazero ( golang wasm runner ).
my own thoughts:
wasm has security sandbox
Write in almost any Lang but you still have to compile it.
i guess at the end of the day Tamarin is rally for scripting with no compile ..
The other thing is lsp .. I think there is already integration for vscode ?
Beta Was this translation helpful? Give feedback.
All reactions