Any hope for Gabage Collector in future Lejos?

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: roger, imaqine, 99jonathan

dimastep
New User
Posts: 4
Joined: Sun Jul 08, 2007 10:26 pm

Any hope for Gabage Collector in future Lejos?

Postby dimastep » Fri Oct 12, 2007 11:09 pm

Title says it all :)

I am a Java programmer in real life and it kills me that I can't use real objects in Lejos :)

roger
Moderator
Posts: 369
Joined: Fri Jun 01, 2007 4:31 am
Location: Berkeley, CA

Postby roger » Sat Oct 13, 2007 6:31 pm

You can use real objects, just not as local variables.
A pain, I admit, but not life threatening.
Roger

lawrie
leJOS Team Member
Posts: 953
Joined: Mon Feb 05, 2007 1:27 pm

Postby lawrie » Sat Oct 13, 2007 8:53 pm

I plan to add garbage collection sometime, but I want to get the other deficiencies of leJOS NXJ fixed before I attempt big changes to the VM.

User avatar
bbagnall
Site Admin
Posts: 392
Joined: Fri Aug 04, 2006 4:03 pm

Postby bbagnall » Sat Oct 20, 2007 5:51 pm

There's a JVM that has similar memory requirements to leJOS and also has a garbage collector:
http://www.harbaum.org/till/nanovm/index.shtml

This might serve as inspiration for a leJOS NXJ garbage collector.

temp12
New User
Posts: 14
Joined: Fri Jul 06, 2007 10:33 am

Postby temp12 » Mon Oct 22, 2007 3:03 pm

lawrie wrote:I plan to add garbage collection sometime, but I want to get the other deficiencies of leJOS NXJ fixed before I attempt big changes to the VM.


I think that many people want a garbage collector. For example, I cant use lejos because I must use some algorithms (class files) which use local variables extensively. I hoped that lejos 0.4 would bring a garbage collector but it didnt.

When do you plan to implement the garbage collector?
________
Honda FC50
Last edited by temp12 on Tue Feb 01, 2011 6:03 pm, edited 1 time in total.

User avatar
bbagnall
Site Admin
Posts: 392
Joined: Fri Aug 04, 2006 4:03 pm

Postby bbagnall » Sat Oct 27, 2007 4:36 pm

temp12 wrote:When do you plan to implement the garbage collector?

If you are looking for a time-line, that is very hard to predict. We can't tell you when it will be done because we don't know ourselves. Just a rough guess, the revisions/fixes to leJOS NXJ will probably take at least until Christmas. But don't be surprised if the garbage collector doesn't appear until mid-2008 or suddenly someone volunteers to implement it and it's ready before the end of 2007. That's the way these open source projects go.


Return to “NXJ Software”

Who is online

Users browsing this forum: No registered users and 1 guest