This is not any kind of "rolling your own JS runtime". This is "use our framework to use v8 from rust". What an obnoxious title.<p>v8 is a JS runtime. JSC is a JS runtime. SpiderMonkey is a JS runtime.<p>All of these are embeddable and have usable APIs. If all you are doing, is linking to a JS runtime, and then using it, you aren't "rolling your own runtime".<p>If you want to roll your own JS runtime go look at how the LibJS folk in serenity did it - they did it without corporate backing and despite that I believe LibJS is fairly complete even with the new draft language features, albeit lacking a decade or so of performance optimizations.
I made a demo integrating deno and sqlite into a quasi-"lambda" runtime in 200 lines for a rust meetup talk, if anyone is interested <a href="https://github.com/tbillington/rust_serverless_runtime">https://github.com/tbillington/rust_serverless_runtime</a>.
JS has improved a lot over the years but I am not sure I would want it as the default scripting language for applications. JS is really only useful because it's the language you access the browser's API with. If you are creating a different kind of application and therefore don't need the DOM or other browser things then why JS at all? Having worked with Lua for some game mods, it seems like a better choice for an integrated language. Maybe a Rust inspired language would make a better fit for a modern DSL... insert XKCD comic about standards proliferation.