Status of Weak enhancements in Pharo

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

Status of Weak enhancements in Pharo

Miguel Cobá
What is the status of the Weak enhancements that were applied to Squeak
4.2 (by Levente and Igor, mainly) and were targeted for inclusion in
Pharo? Is there a list of them somewhere? which ones are integrated and
which ones are not yet?

Other question, is the plan to take the enhancements as they are and
apply them on Pharo, that is, the versions in Squeak are the reference
or there are conflicting versions in Pharo that are to be keep instead.
I remember that some changes were made to Pharo in this regard.


Cheers
--
Miguel Cobá
http://twitter.com/MiguelCobaMtz
http://miguel.leugim.com.mx




Reply | Threaded
Open this post in threaded view
|

Re: Status of Weak enhancements in Pharo

Igor Stasenko
On 5 April 2011 06:30, Miguel Cobá <[hidden email]> wrote:
> What is the status of the Weak enhancements that were applied to Squeak
> 4.2 (by Levente and Igor, mainly) and were targeted for inclusion in
> Pharo? Is there a list of them somewhere? which ones are integrated and
> which ones are not yet?
>

Yes, they are already in Pharo.

To check if you running VM which supports new finalization, use:

WeakFinalizationList hasNewFinalization

> Other question, is the plan to take the enhancements as they are and
> apply them on Pharo, that is, the versions in Squeak are the reference
> or there are conflicting versions in Pharo that are to be keep instead.
> I remember that some changes were made to Pharo in this regard.
>

Do not worry about it. We reviewed the code with Stephane, before
integrating it. It was back in Dec 2010 (if i remember).

>
> Cheers
> --
> Miguel Cobá
> http://twitter.com/MiguelCobaMtz
> http://miguel.leugim.com.mx
>
>


--
Best regards,
Igor Stasenko AKA sig.

Reply | Threaded
Open this post in threaded view
|

Re: Status of Weak enhancements in Pharo

Miguel Cobá
Ok, thanks.

I was reviewing the Magma code (not working yet in Pharo 1.2, sadly) and
found several checks for new finalization code before execution some
parts of magma. So, as Chris said that Magma 1.2 is the only supported
version (no support for old versions), then I thought that I should
remove the checks given that Squeak 4.2 and Pharo 1.2 already have the
new finalization code.

Cheers

El mar, 05-04-2011 a las 09:37 +0200, Igor Stasenko escribió:

> On 5 April 2011 06:30, Miguel Cobá <[hidden email]> wrote:
> > What is the status of the Weak enhancements that were applied to Squeak
> > 4.2 (by Levente and Igor, mainly) and were targeted for inclusion in
> > Pharo? Is there a list of them somewhere? which ones are integrated and
> > which ones are not yet?
> >
>
> Yes, they are already in Pharo.
>
> To check if you running VM which supports new finalization, use:
>
> WeakFinalizationList hasNewFinalization
>
> > Other question, is the plan to take the enhancements as they are and
> > apply them on Pharo, that is, the versions in Squeak are the reference
> > or there are conflicting versions in Pharo that are to be keep instead.
> > I remember that some changes were made to Pharo in this regard.
> >
>
> Do not worry about it. We reviewed the code with Stephane, before
> integrating it. It was back in Dec 2010 (if i remember).
>
> >
> > Cheers
> > --
> > Miguel Cobá
> > http://twitter.com/MiguelCobaMtz
> > http://miguel.leugim.com.mx
> >
> >
>
>

--
Miguel Cobá
http://twitter.com/MiguelCobaMtz
http://miguel.leugim.com.mx