Can I use stateful Traits in Pharo 6.1?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Can I use stateful Traits in Pharo 6.1?

hernanmd
Suddenly I need a stateful trait and had a quick look at this paper :
http://scg.unibe.ch/archive/papers/Verw11bFlexibleObjectLayouts.pdf

Is this supported right now?
Any code example out there?

Cheers,

Hernán

Reply | Threaded
Open this post in threaded view
|

Re: Can I use stateful Traits in Pharo 6.1?

EstebanLM
not in 6.1 (and they will not be available ever, since is not a backportable thing).

but you can use them in 7.0a :)

Esteban

> On 24 Mar 2018, at 10:22, Hernán Morales Durand <[hidden email]> wrote:
>
> Suddenly I need a stateful trait and had a quick look at this paper :
> http://scg.unibe.ch/archive/papers/Verw11bFlexibleObjectLayouts.pdf
>
> Is this supported right now?
> Any code example out there?
>
> Cheers,
>
> Hernán
>


Reply | Threaded
Open this post in threaded view
|

Re: Can I use stateful Traits in Pharo 6.1?

Torsten Bergmann
In reply to this post by hernanmd
It is not in Pharo 6/6.1 but in recent Pharo 7.

Integrated using PR871

https://github.com/pharo-project/pharo/pull/871
https://github.com/pharo-project/pharo/pull/871/files

Have fun
T.

> Gesendet: Samstag, 24. März 2018 um 10:22 Uhr
> Von: "Hernán Morales Durand" <[hidden email]>
> An: "Any question about pharo is welcome" <[hidden email]>
> Betreff: [Pharo-users] Can I use stateful Traits in Pharo 6.1?
>
> Suddenly I need a stateful trait and had a quick look at this paper :
> http://scg.unibe.ch/archive/papers/Verw11bFlexibleObjectLayouts.pdf
>
> Is this supported right now?
> Any code example out there?
>
> Cheers,
>
> Hernán
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Can I use stateful Traits in Pharo 6.1?

hernanmd
Thank you both Esteban and Torsten.
I will check in 7 then.

Cheers,

Hernán

2018-03-24 11:14 GMT-03:00 Torsten Bergmann <[hidden email]>:

> It is not in Pharo 6/6.1 but in recent Pharo 7.
>
> Integrated using PR871
>
> https://github.com/pharo-project/pharo/pull/871
> https://github.com/pharo-project/pharo/pull/871/files
>
> Have fun
> T.
>
>> Gesendet: Samstag, 24. März 2018 um 10:22 Uhr
>> Von: "Hernán Morales Durand" <[hidden email]>
>> An: "Any question about pharo is welcome" <[hidden email]>
>> Betreff: [Pharo-users] Can I use stateful Traits in Pharo 6.1?
>>
>> Suddenly I need a stateful trait and had a quick look at this paper :
>> http://scg.unibe.ch/archive/papers/Verw11bFlexibleObjectLayouts.pdf
>>
>> Is this supported right now?
>> Any code example out there?
>>
>> Cheers,
>>
>> Hernán
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Can I use stateful Traits in Pharo 6.1?

Stephane Ducasse-3
In reply to this post by hernanmd
And these are not the same stateful traits.

On Sat, Mar 24, 2018 at 10:22 AM, Hernán Morales Durand
<[hidden email]> wrote:

> Suddenly I need a stateful trait and had a quick look at this paper :
> http://scg.unibe.ch/archive/papers/Verw11bFlexibleObjectLayouts.pdf
>
> Is this supported right now?
> Any code example out there?
>
> Cheers,
>
> Hernán
>