3 ms·
This level of eval that we're discussing is only really important for developers. Give your super users a bookmarklet which downloads the huge lib, and pops a r
by JoelMcCracken 15y ago
This level of eval that we're discussing is only really important for developers. Give your super users a bookmarklet which downloads the huge lib, and pops a repl up on the page. Everyone else gets to use the library as usual.
Put the standard lib on a public CDN, and this would be okay.
- lukev 15y agoAnd I have no doubt that's how it would be done, except that it turns out eval isn't actually necessary for a browser interactive REPL, which is pretty much all that developers need.
- JoelMcCracken 15y agoProblem is that the js compilation happens on the server, then. Not all who may desire an interactive REPL are necessarily trusted.
- markokocic 15y agoYou can always use applet to compile on the client, you don't have to compile on the server. It would be easy to create reply like this.
- JoelMcCracken 15y agoDidn't even think of that. Good point.