[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Android support
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 27 Dec 2016 17:33:10 +0200
On Tue, Dec 27, 2016 at 5:15 PM, Marc Balmer <marc@msys.ch> wrote:
> (The last part is annoying, I don't know yet how to hook that to the
> Java garbage collector, Java lacks metamethods...)
There's finalize(), but people say, don't use it, because you don't
know when it happens. Although no more evil than when we do in Lua,
not so?
The most challenging part of mixing Lua and Java (I found) is keeping
two garbage collectors going. I managed to cut down on the garbage
generation created by Java reflection. Relevant because generally in
Android you release big resources manually anyway - better to be
explicit.
- References:
- Re: Android support, Marc Balmer
- Re: Android support, Thomas Fletcher
- Re: Android support, Marc Balmer
- Re: Android support, Eric Wing
- Re: Android support, Marc Balmer
- Re: Android support, Marc Balmer
- Re: Android support, Marc Balmer
- Re: Android support, steve donovan
- Re: Android support, Marc Balmer
- Re: Android support, steve donovan
- Re: Android support, Marc Balmer