Re: Irssi redesign / rewrite

Einar Karttunen <[email protected]> Mon, 20 Jan 2003 11:57:09 +0200
Newsgroups gmane.network.irc.irssi.devel
Message-ID <[email protected]>
On 20.01 01:59, Timo Sirainen wrote:
> I was mostly thinking that reference counting could be done per-channel
> rather than per-nick, but I guess that's not really possible unless nick
> also had a pointer to channel (which would take just as much or more
> memory than refcounter).

Are you aware of the problems associated with reference counting?
- usually slower than proper garbage collector
- cyclic references cause memory leaks

An another important point would be to make the scripting features
language independent i.e. not tie irssi with perl in any special way.
Just define a clean interface to which languages can easily attach
themselves. Maybe using SWIG (http://www.swig.org) is an option for
this...

- Einar Karttunen