Running JavaScript in Rust with Deno: Experimenting with Deno's Rust Crates
1–10 of 22 posts
Re: Running JavaScript in Rust with Deno: Experimenting with Deno's Rust Crates
#2Re: Running JavaScript in Rust with Deno: Experimenting with Deno's Rust Crates
#3Being able to allow custom behaviour via JS/TS in Rust is definitely something that I wanted to explore too. If you haven’t already you should check out these two articles from the Deno blog website which go a bit further: https://deno.com/blog/roll-your-own-javascript-runtime https://deno.com/blog/roll-your-own-javascript-runtime-pt2
I understanding wanting to call out to Rust from JS/TS, but I don't think I understand wanting the reverse. Isn't a major goal of Rust not to have "custom behavior" that is invisible to the compiler?
Re: Running JavaScript in Rust with Deno: Experimenting with Deno's Rust Crates
#4Being able to allow custom behaviour via JS/TS in Rust is definitely something that I wanted to explore too. If you haven’t already you should check out these two articles from the Deno blog website which go a bit further: https://deno.com/blog/roll-your-own-javascript-runtime https://deno.com/blog/roll-your-own-javascript-runtime-pt2
> Being able to allow custom behaviour via JS/TS in Rust I understanding wanting to call out to Rust from JS/TS, but I don't think I understand wanting the reverse. Isn't a major goal of Rust not to have "custom behavior" that is invisible to the compiler?
Re: Running JavaScript in Rust with Deno: Experimenting with Deno's Rust Crates
#5Being able to allow custom behaviour via JS/TS in Rust is definitely something that I wanted to explore too. If you haven’t already you should check out these two articles from the Deno blog website which go a bit further: https://deno.com/blog/roll-your-own-javascript-runtime https://deno.com/blog/roll-your-own-javascript-runtime-pt2
> Being able to allow custom behaviour via JS/TS in Rust I understanding wanting to call out to Rust from JS/TS, but I don't think I understand wanting the reverse. Isn't a major goal of Rust not to have "custom behavior" that is invisible to the compiler?
Re: Running JavaScript in Rust with Deno: Experimenting with Deno's Rust Crates
#6Being able to allow custom behaviour via JS/TS in Rust is definitely something that I wanted to explore too. If you haven’t already you should check out these two articles from the Deno blog website which go a bit further: https://deno.com/blog/roll-your-own-javascript-runtime https://deno.com/blog/roll-your-own-javascript-runtime-pt2
> Being able to allow custom behaviour via JS/TS in Rust I understanding wanting to call out to Rust from JS/TS, but I don't think I understand wanting the reverse. Isn't a major goal of Rust not to have "custom behavior" that is invisible to the compiler?
Re: Running JavaScript in Rust with Deno: Experimenting with Deno's Rust Crates
#7Earlier quoted context omitted.
> Being able to allow custom behaviour via JS/TS in Rust I understanding wanting to call out to Rust from JS/TS, but I don't think I understand wanting the reverse. Isn't a major goal of Rust not to have "custom behavior" that is invisible to the compiler?
Imagine you are building a game in Rust where players can write mods. Those mods could be written in JS/TS while the game is written in Rust.
Re: Running JavaScript in Rust with Deno: Experimenting with Deno's Rust Crates
#8Being able to allow custom behaviour via JS/TS in Rust is definitely something that I wanted to explore too. If you haven’t already you should check out these two articles from the Deno blog website which go a bit further: https://deno.com/blog/roll-your-own-javascript-runtime https://deno.com/blog/roll-your-own-javascript-runtime-pt2
Re: Running JavaScript in Rust with Deno: Experimenting with Deno's Rust Crates
#9Being able to allow custom behaviour via JS/TS in Rust is definitely something that I wanted to explore too. If you haven’t already you should check out these two articles from the Deno blog website which go a bit further: https://deno.com/blog/roll-your-own-javascript-runtime https://deno.com/blog/roll-your-own-javascript-runtime-pt2
Re: Running JavaScript in Rust with Deno: Experimenting with Deno's Rust Crates
#10Being able to allow custom behaviour via JS/TS in Rust is definitely something that I wanted to explore too. If you haven’t already you should check out these two articles from the Deno blog website which go a bit further: https://deno.com/blog/roll-your-own-javascript-runtime https://deno.com/blog/roll-your-own-javascript-runtime-pt2
> Being able to allow custom behaviour via JS/TS in Rust I understanding wanting to call out to Rust from JS/TS, but I don't think I understand wanting the reverse. Isn't a major goal of Rust not to have "custom behavior" that is invisible to the compiler?
Or a function host that executes jobs at scale? You only need to program the security, sandboxing, scheduling, and distribution of functions that can be invoked.