Re: 4p-1.5-wip with just in time compilation
- From: helmwo@xxxxxxxxx
- Date: Wed, 29 Aug 2007 15:53:29 -0700
On Aug 29, 10:07 pm, werty <we...@xxxxxxxxxxxxx> wrote:
BTW , sorts are to display data on LCD or maybe make MCU searching
faster .
BS !
I am the worlds greatest programmer , we DO NOT sort , we link ,
because
the MCU is not human , and thus can access stuff fine , using links
rather
than sorted data . Duh , bet they didnt teach you that in the
U. of P.C. !
Besides , if i leave the data unsorted , i can use it´s position as
valuable Kernel info , like where did it come from .
The next level is kernel analyses it , compresses it and places and
links
data . Now i can trash the ¨form¨that i recieved that data in !
You are right.
The other thing is to waste space with informations usually not needed
in a users program.
I understand your concerns.
I dont really sort, I use a hash. I'm not really happy with it. But
the alternative would be to waste a lot of memory to link the things
instead of to collect knowledge about things.
You are completely right.
Btw. there is nothing wrong imho, if kernel info needs some additional
action to get it. See reflect4p and near-dxt to what I mean. For
example the "primitive" compilers of 4p 1.5 are not named. If you
define it with
prim: xyz ... ;
the name xyz is only used to associate a value in an array. It's
nowhere noted, what name is associated with the code position. You
would have to search the code position in that primitves-array to get
the number of the primitive which you can convert to the name using
dxt>name . But that is extra work of course. The representation in
memory is oriented on the user program, not on the programmers needs.
The programmer has a fast enough machine to inspect the array to get
the number and to convert this number into a name. He will also be
hurt soon if he does not have implemented this lookup if he was to
lazy with some of his primitive definitions. Well, I did not need it
until now - I did make a dummy definition:
: JIT-PRIMITIVES ;
That shows
JIT-PRIMITIVES + ...
if you use the .dxt from reflect4p . This helps at least to estimate
where where something was wrong. For a programmer this is enough
information - a user does not need it.
So not everything that is not "linked" is evil.
Regards,
-Helmar
Regards,
Helmar
.
- References:
- 4p-1.5-wip with just in time compilation
- From: helmwo
- Re: 4p-1.5-wip with just in time compilation
- From: werty
- 4p-1.5-wip with just in time compilation
- Prev by Date: Re: What were "shadow blocks"?
- Next by Date: Re: What were "shadow blocks"?
- Previous by thread: Re: 4p-1.5-wip with just in time compilation
- Next by thread: Re: 4p-1.5-wip with just in time compilation
- Index(es):
Relevant Pages
|