To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 14501
14500  |  14502
Subject: 
Re: article in JavaWorld and Garbage Collection
Newsgroups: 
lugnet.robotics, lugnet.robotics.rcx.java
Date: 
Sat, 24 Feb 2001 16:13:38 GMT
Viewed: 
2443 times
  
Great article, Jonathan!  That's exactly what I need to get started.
Your point about garbage collection (esp. lack thereof)
reminded me of a question I have for everyone:

Since LeJOS doesn't currently implement garbage collection, it seems
there are 2 very different directions one could go from here.  One
would be to implement garbage collection in some fashion, and the
other would be to implement a c-esque "free()" so that it could be done
manually.

I realize the second suggestions probably runs counter to many folks'
java sensibilities.  However, as I understand it the biggest obstacle
to implementation of Java in real-time (ie, robotics) systems is
garbage collection and the unpredictability that it adds to a running
system.  Since it's not presently a "problem" in LeJOS, might a free()
in the .rcx package be useful?

(:  Corey Snipes
    Boulder, CO, USA
    csnipes at qwest dot net


In lugnet.robotics, Jonathan Knudsen writes:
Enjoy!

http://www.javaworld.com/javaworld/jw-02-2001/jw-0209-lejos.html

Regards,
Jonathan



Message has 2 Replies:
  Re: article in JavaWorld and Garbage Collection
 
(...) How 'bout implementing a "recycler" of some sort? Running it periodically in a quieter control thread, or just not using it at all for smaller, tighter code? --- J Austin David austindavid.com austin@gtf.org "Only two things are infinite: The (...) (24 years ago, 26-Feb-01, to lugnet.robotics)
  Re: article in JavaWorld and Garbage Collection
 
(...) I would not call it running counter to many folks' Java sensibilities, this suggestion simply violates one of the main Java principles. I sincerely hope that nobody even remotely considers implementing this. The only correct way of (...) (24 years ago, 27-Feb-01, to lugnet.robotics, lugnet.robotics.rcx.java)

Message is in Reply To:
  leJOS article in JavaWorld
 
Enjoy! (URL) (24 years ago, 12-Feb-01, to lugnet.robotics, lugnet.robotics.rcx.java)

4 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
5 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR