On Friday, June 7, 2013 8:49:12 PM UTC-5, MarcWeber wrote:
> 
> 
> I personally don't want to spend time on thinking about how to use
> 
> malloc, realoc or such for simple things like lists, maps, ...
> 
> 
> 
> Thus is there a standard way, a preprocessor like library which gets the
> 
> job done? something like:
> 
> 
> 
>     define_list(vim_buffer);
> 
> 
> 
> providing functions like
> 
>     vim_buffer_list_new()
> 
>     vim_buffer_list_add(...)
> 
>     vim_buffer_list_remove(...)
> 
> 
> 
> ?
> 
> 
> 
> Does it make sense to port Vim to C++, just to use some very basic C++
> 
> like features, such as vector, map and so on?
> 
> If not - can we document why?
> 

If we don't move it, we could at least write some utility modules that we use 
over and over whenever we need that code. Reuse may not be as nice as a real 
library but it would be better than nothing. And we would have full control of 
optimizing it, etc., and it would be available on whatever system we put Vim on.

Some may already be there, I don't really know.

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui