Re:Python overtakes Java to become the second-most popular p...
by tlavoie on Friday November 06, 2020 @01:55PM
(#25010128)
This sounds awesome, glad to hear it's working well for you.
One question that comes to mind for the business stuff is security. Basically, are you accepting Scheme code from untrusted users, or is it just a bundled part of the app?
The reason I'm asking is that that run-time flexibility can completely bite you in the ass if someone can submit code that does unacceptable, unanticipated things. For example, I had an engagement with a company to review their main application, that they host. The issue was that while the app was in Java, it accepted user templates in (IIRC) BeanShell. One quick System.exit() in a template as a proof of concept, and Tomcat came thundering down.
The concept still works of course if you restrict the language accepted to some minimal DSL.
Re:Python overtakes Java to become the second-most popular p...
by tijsvd on Thursday November 05, 2020 @02:48PM
(#25001297)
Interesting. This actually sounds very similar to game developers embedding Lua or V8 for various logic. I've used Lua myself in a similar way, embedded in a high perf application, with a user script driving the logic.
Re:Python overtakes Java to become the second-most popular p...
by iainctduncan on Thursday November 05, 2020 @04:28PM
(#25002171)
Yeah Naughty Dog was doing the same thing in Scheme apparently!
Interesting, one of the most successful companies I've seen in my tech due diligence work was doing the same thing in high end scientific computing. They had written their own DSL, and a whole containing application layer in C that could run on any target platform, with GUI adapters for windows, unix, osx, etc. They were doing very well. And they could get amazing scientists to work for them super-productively because the DSL was designed around the scientists needs.