About removing Beanshell/Javascript (Rhino) ?
Julien Nabet
serval2412 at yahoo.fr
Sat Jan 22 11:27:08 UTC 2022
Hello,
Reading https://en.wikipedia.org/wiki/BeanShell, specifically:
"Since Java 9, Java instead includes JShell
<https://en.wikipedia.org/wiki/JShell>, a different read–eval–print loop
<https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop>
(REPL) shell based on Java syntax, indicating that BeanShell will not be
continued"
I wonder if we could remove Beanshell part from LO.
Also, we use Rhino as Javascript engine (Rhino is written in Java). Some
people proposed C/C++ engine like Spidermonkey or V8 (see
https://bugs.documentfoundation.org/show_bug.cgi?id=97827) but it seems
they may be problematic too because of instable API and specific GC, see
Michael's comment here:
https://bugs.documentfoundation.org/show_bug.cgi?id=97827#c7
However, shouldn't we focus on Basic support and Python and remove the 2
others or at least Beanshell ?
Goal: diminish Java dependency and maintaining burden by removing code.
Now I must recognize I don't know if these 2 features are used or not.
Considering number of bugtrackers it doesn't seem so but perhaps it's
because there are very few bugs.
Julien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20220122/6d4c0fd6/attachment.htm>
More information about the LibreOffice
mailing list