 | | Re: Something else is needed, I think...
|
|
(...) Don't forget writing the bytecode interpreter. With JVM, we just have to port that. Writing a bytecode interpreter that is fast, general purpose, supports multithreading & synchronization etc. is no small task. (...) Java would not be used for (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | RCX and Java
|
|
Aren't robots real time systems? Isn't the RCX meant to be a component in such real time systems? Java (as implemented by current virtual machines) is NOT suitable as a platform for building real time systems. The implementation of garbage (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
(...) ??? I think you are making a new interpreter sound harder than it really is. The standard firmware might not be incredibly fast, but it certainly supports multithreading, and synchronization wouldn't be hard to add. The only challenging thing (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: RCX and Java
|
|
(...) I doubt anyone is considering using the RCX with any OS/language in a hard real-time system. The original firmware nor any of the replacements make the proper guarantees required for such a system (ie, a deadline-based scheduler), and I have (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
(...) I think the basic issue here is we have different ideas in what we want in this interpreted language. You seem to want something closer to the current bytecode, while I want something closer to Java/C++. Certainly if you lower the requirements (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
Mark Tarrabain skrev i meddelandet <372E220C.D2F9AD52@l....bc.ca>... (...) But the whole point with FORTH is that it is self-contained, and the 'compiling' part is an integrated part of the language (normally quite small), and _used_ in programs, (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) What about instead of creating a full featured firmware that will never be good enough for *everything* we want to do, we create a dynamic firmware downloader that we could specify what we would want to download? I could say for instants that (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) Precisely. The JVM class loader already provides that functionality. Say for example, you want the various math functions, you have java.math loaded. If you want a fancy package that interprets the raw sensor data for you, load (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: New creation: Lego Clock
|
|
(...) Yep, pretty cool. I can't take credit for figuring that out, does anyone recall who did? I'm sure this side-effect didn't happen by accident, there's no real reason to switch the LED when it's blocked if all you want is pretty flashing light (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) I believe that a new bytecode instruction set should provide native support for non-integer numbers of some type. Whether this is implemented as ieee single precision numbers or as 32-bit fixed-point numbers is an issue that may be up for some (...) (28 years ago, 4-May-99, to lugnet.robotics)
|