On 19 Feb 2015, at 10:19, Marcus Denker marcus.den...@inria.fr wrote:
I started to implement PropertySlot, this uses hidden slots, initialisation
(to set the empty dictionary of the base slot), virtual slots
(the proper slots), reflectively changing the class both when adding and
I started to implement PropertySlot, this uses hidden slots, initialisation
(to set the empty dictionary of the base slot), virtual slots
(the proper slots), reflectively changing the class both when adding and
removing (to add the base slot and remove it as needed).
Next tiny step:
- generate better byte code, the reflective read is of course slow.
this is easy. What we need to do is to override #emitValue: and #emitStore:
emitValue: methodBuilder
methodBuilder
pushInstVar: baseSlot index;
pushLiteral:
On 19 Feb 2015, at 10:45, Marcus Denker marcus.den...@inria.fr wrote:
- generate better byte code, the reflective read is of course slow.
this is easy. What we need to do is to override #emitValue: and #emitStore:
emitValue: methodBuilder
methodBuilder
More progress… I will commit it after the CI is working again.
- fix #usingMethods for non installed Slots
- not yet completely working PropertySlot implementation (will add issue
tracker entries for what is missing)
- move example Slots to Slots-Examples
- rename TestSlot and move it
On 13 Feb 2015, at 18:38, Marcus Denker marcus.den...@inria.fr wrote:
More progress… I will commit it after the CI is working again.
- fix #usingMethods for non installed Slots
- not yet completely working PropertySlot implementation (will add issue
tracker entries for what is
On 07 Feb 2015, at 18:35, Marcus Denker marcus.den...@inria.fr wrote:
On 07 Feb 2015, at 18:29, Marcus Denker marcus.den...@inria.fr
mailto:marcus.den...@inria.fr wrote:
On Fri, Feb 6, 2015 at 10:13 PM, stepharo steph...@free.fr
mailto:steph...@free.fr wrote:
I want
On 07 Feb 2015, at 21:11, Eliot Miranda eliot.mira...@gmail.com wrote:
On Sat, Feb 7, 2015 at 9:35 AM, Marcus Denker marcus.den...@inria.fr
mailto:marcus.den...@inria.fr wrote:
On 07 Feb 2015, at 18:29, Marcus Denker marcus.den...@inria.fr
mailto:marcus.den...@inria.fr wrote:
On Sat, Feb 7, 2015 at 5:13 AM, stepharo steph...@free.fr wrote:
I want relationships for certain modeling purposes
What I like is that we should arrive to get a collection of useful slots
with optimal implementation instead all of us reinventing the wheel.
Stef
In the Flexible Object
On Fri, Feb 6, 2015 at 10:13 PM, stepharo steph...@free.fr wrote:
I want relationships for certain modeling purposes
What I like is that we should arrive to get a collection of useful slots
with optimal implementation instead all of us reinventing the wheel.
I have started to collect the
On 07 Feb 2015, at 18:29, Marcus Denker marcus.den...@inria.fr wrote:
On Fri, Feb 6, 2015 at 10:13 PM, stepharo steph...@free.fr
mailto:steph...@free.fr wrote:
I want relationships for certain modeling purposes
What I like is that we should arrive to get a collection of useful slots
On Sat, Feb 7, 2015 at 9:35 AM, Marcus Denker marcus.den...@inria.fr
wrote:
On 07 Feb 2015, at 18:29, Marcus Denker marcus.den...@inria.fr wrote:
On Fri, Feb 6, 2015 at 10:13 PM, stepharo steph...@free.fr wrote:
I want relationships for certain modeling purposes
What I like is that we
I want relationships for certain modeling purposes
What I like is that we should arrive to get a collection of useful slots
with optimal implementation instead all of us reinventing the wheel.
Stef
Le 6/2/15 18:15, Marcus Denker a écrit :
On 06 Feb 2015, at 11:50, Marcus Denker
On 06 Feb 2015, at 11:50, Marcus Denker marcus.den...@inria.fr wrote:
Next: When building classes with Slots, the class builder need to call back
on the slot and hand the class to each. Then the slot
can reflectively change the class, e.g. the PropertySlot will check if there
is
Next: When building classes with Slots, the class builder need to call back
on the slot and hand the class to each. Then the slot
can reflectively change the class, e.g. the PropertySlot will check if there
is already a hidden property base slot and if not, add it
reflectively).
This is
On 05 Feb 2015, at 21:51, Clément Bera bera.clem...@gmail.com wrote:
I also can't wait to have a slot to automatically add instance variables in
the additional method state for CompiledMethod subclasses. This shouldn't be
tricky for you any more, should it ? I'm bored of not being able to
On Mon, Jan 26, 2015 at 6:03 PM, Marcus Denker marcus.den...@inria.fr
wrote:
Next: Hidden ivar
This is now finally in #478. This is for notch just a subclass to have a
normal InstanceVariable in a hidden version,
later we will use the wrapping machism that we use already for MetaLinks to
I also can't wait to have a slot to automatically add instance variables in
the additional method state for CompiledMethod subclasses. This shouldn't
be tricky for you any more, should it ? I'm bored of not being able to add
instance variables to compiledMethod subclasses :-).
Having
On 24 Jan 2015, at 14:24, Marcus Denker marcus.den...@inria.fr wrote:
On 24 Jan 2015, at 11:24, Marcus Denker marcus.den...@inria.fr
mailto:marcus.den...@inria.fr wrote:
Hi,
One of the power of slots is the concept of Virtual Slots that do not have
an ivar to store their state.
On 27 Jan 2015, at 07:43, Tudor Girba tu...@tudorgirba.com wrote:
The use case is to offer first-class support for objects that would otherwise
store instance variables in opaque dictionaries.
Yes, another way to put it: we move just code that is at the base level now to
an “opened up”
On 26 Jan 2015, at 23:28, Ben Coman b...@openinworld.com wrote:
hidden ivar sounds like it would make understanding the system more
complicated. What is its use-case?
It will never be used for cases where it needs to be understood.
Imagine a PropertySlot. This is like an ivar, but all
The use case is to offer first-class support for objects that would
otherwise store instance variables in opaque dictionaries.
Doru
On Mon, Jan 26, 2015 at 11:28 PM, Ben Coman b...@openinworld.com wrote:
hidden ivar sounds like it would make understanding the system more
complicated. What is
hidden ivar sounds like it would make understanding the system more
complicated. What is its use-case?
On Tue, Jan 27, 2015 at 1:03 AM, Marcus Denker marcus.den...@inria.fr
wrote:
On 24 Jan 2015, at 14:24, Marcus Denker marcus.den...@inria.fr wrote:
On 24 Jan 2015, at 11:24, Marcus Denker
On 24 Jan 2015, at 11:24, Marcus Denker marcus.den...@inria.fr wrote:
Hi,
One of the power of slots is the concept of Virtual Slots that do not have an
ivar to store their state.
But of course, some uses fo this concept want to store state in the object.
(e.g. imagine a property slot,
24 matches
Mail list logo