James Vega wrote: > On Sun, Jul 18, 2010 at 4:51 PM, Bram Moolenaar <[email protected]> wrote: > > The biggest additions since 7.2: > > - Persistent undo > > - Blowfish encryption, also encrypt the swap file > > - Conceal text > > - Lua interface > > - Python 3 interface > > Since Vim keeps gaining support for more language interfaces, is there a > reason not to make them all dynamically loaded? This already happens on > Windows and on configure-using systems where Python 2 and Python 3 > support are enabled at the same time. > > I would find this quite useful from my stance as the maintainer for the > Vim packages in Debian since that would allow me to enable the language > bindings in more packages (and enable more languages) without forcing > the users to install those libraries in order for Vim to run. As it > currently stands, I don't build the mzscheme interface and don't plan to > build the lua or python3 interfaces. > > If changing the language interfaces to dynamic loading is something that > would be accepted for 7.3, I'd be willing to work on the patches. I > already have a first pass at doing so for the Perl interface.
Most Unix systems already use shared libraries. That still means the libraries need to be installed for Vim to startup, but memory use is reduced a lot. I'm not sure if this works everywhere. Also, it increases the chance of runtime failure, instead of failing on startup. I see the current dynamic loading when both Python and Python 3 are supported an experiment. Let's see how this goes. If you can make this work with a configure argument, it's fine to include these changes and leave them disabled by default. For your distribution, with a known environment, you could enable them. -- 5 out of 4 people have trouble with fractions. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
