joker-vm-design Mailing List for Joker-vm
Status: Pre-Alpha
Brought to you by:
pingoin
You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
|---|
|
From: Philippe A. <phi...@am...> - 2006-10-27 19:35:18
|
Hi all,
[ I recall, this is a public and archived mailing list so text must
be in english... :) ]
when reading the first bug report, I saw things like this:
public java.lang.String toString() {
_value ? new String("true") : new String("false");
}
even though I know it was a quick and dummy example, I use this
opportunity to recall that "new" is to be taken with great care.
roughly, consider it is forbiden to use dynamic allocation in the
implementation of java classes. this should be left to the
application programmer as much as possible. also, all constants
should be "static final" when in java and "static const" in C++.
the rationnal behind that is that a memory allocation is slow and
above all requires a mutex lock wich prevent rigorous control over
execution. as a consequence it is forbiddent in a self-called
real-time implementation.
cheers,
--
Philippe Amarenco, aka Phix
epita 2007 - GISTR - ACU - EpX
|
|
From: Philippe A. <phi...@am...> - 2006-04-02 17:10:40
|
please take notice that this list will be archived in a public and worldwide repository. for this reason, it is prefered that the language used in posts be the english language (and British specificities when there is an argument). thanks -- Philippe Amarenco, aka Phix epita 2007 - GISTR - LSE - EpX - Pingouin Testeur |
|
From: Philippe A. <sou...@am...> - 2006-04-02 09:39:48
|
Hello, this is a test. -- Philippe Amarenco, aka Phix epita 2007 - GISTR - LSE - EpX |