[Pharo-project] NativeBoost and unions
Hi Igor, as usual after squeaksource restart, i lost my commit rights on the NativeBoost repository... This time I have a small refactoring in the NBExternalStruct/NBExternalStructFields to enable union support. Besides that, c unions, I have implemented a first prototype, and now my question for you is: Should I add it in nativeboost (its rightful place in my opinion), or should I keep it only as support code for my TalkFFI project(in TalkFFI-runtime)? What do you think? Cheers, Ciprian -- Dr. Ciprian TEODOROV Ingénieur Développement CAO tél : 06 08 54 73 48 mail : ciprian.teodorov@gmail.com www.teodorov.ro
On Jan 22, 2013, at 5:26 PM, Ciprian Teodorov <ciprian.teodorov@gmail.com> wrote:
Hi Igor,
as usual after squeaksource restart, i lost my commit rights on the NativeBoost repository...
Could NativeBoost move away from SqueakSource? SqueakSource is not stable.
This time I have a small refactoring in the NBExternalStruct/NBExternalStructFields to enable union support.
Besides that, c unions, I have implemented a first prototype, and now my question for you is: Should I add it in nativeboost (its rightful place in my opinion), or should I keep it only as support code for my TalkFFI project(in TalkFFI-runtime)? What do you think?
Cheers, Ciprian -- Dr. Ciprian TEODOROV Ingénieur Développement CAO
tél : 06 08 54 73 48 mail : ciprian.teodorov@gmail.com www.teodorov.ro
as all the core packages for pharo (and NB is one of them), it should be in smalltalkhub :) On Jan 22, 2013, at 5:29 PM, Marcus Denker <marcus.denker@inria.fr> wrote:
On Jan 22, 2013, at 5:26 PM, Ciprian Teodorov <ciprian.teodorov@gmail.com> wrote:
Hi Igor,
as usual after squeaksource restart, i lost my commit rights on the NativeBoost repository...
Could NativeBoost move away from SqueakSource? SqueakSource is not stable.
This time I have a small refactoring in the NBExternalStruct/NBExternalStructFields to enable union support.
Besides that, c unions, I have implemented a first prototype, and now my question for you is: Should I add it in nativeboost (its rightful place in my opinion), or should I keep it only as support code for my TalkFFI project(in TalkFFI-runtime)? What do you think?
Cheers, Ciprian -- Dr. Ciprian TEODOROV Ingénieur Développement CAO
tél : 06 08 54 73 48 mail : ciprian.teodorov@gmail.com www.teodorov.ro
yes please! On 2013-01-22, at 19:10, Esteban Lorenzano <estebanlm@gmail.com> wrote:
as all the core packages for pharo (and NB is one of them), it should be in smalltalkhub :)
On Jan 22, 2013, at 5:29 PM, Marcus Denker <marcus.denker@inria.fr> wrote:
On Jan 22, 2013, at 5:26 PM, Ciprian Teodorov <ciprian.teodorov@gmail.com> wrote:
Hi Igor,
as usual after squeaksource restart, i lost my commit rights on the NativeBoost repository...
Could NativeBoost move away from SqueakSource? SqueakSource is not stable.
This time I have a small refactoring in the NBExternalStruct/NBExternalStructFields to enable union support.
Besides that, c unions, I have implemented a first prototype, and now my question for you is: Should I add it in nativeboost (its rightful place in my opinion), or should I keep it only as support code for my TalkFFI project(in TalkFFI-runtime)? What do you think?
Cheers, Ciprian -- Dr. Ciprian TEODOROV Ingénieur Développement CAO
tél : 06 08 54 73 48 mail : ciprian.teodorov@gmail.com www.teodorov.ro
On Jan 23, 2013 1:16 AM, "Camillo Bruni" <camillobruni@gmail.com> wrote:
yes please!
On 2013-01-22, at 19:10, Esteban Lorenzano <estebanlm@gmail.com> wrote:
as all the core packages for pharo (and NB is one of them), it should
be in smalltalkhub :) +1
On Jan 22, 2013, at 5:29 PM, Marcus Denker <marcus.denker@inria.fr>
wrote:
On Jan 22, 2013, at 5:26 PM, Ciprian Teodorov <
ciprian.teodorov@gmail.com> wrote:
Hi Igor,
as usual after squeaksource restart, i lost my commit rights on the
NativeBoost repository...
Could NativeBoost move away from SqueakSource? SqueakSource is not stable.
This time I have a small refactoring in the NBExternalStruct/NBExternalStructFields to enable union support.
Besides that, c unions, I have implemented a first prototype, and now my question for you is: Should I add it in nativeboost (its rightful place in my opinion), or should I keep it only as support code for my TalkFFI project(in TalkFFI-runtime)? What do you think?
Cheers, Ciprian -- Dr. Ciprian TEODOROV Ingénieur Développement CAO
tél : 06 08 54 73 48 mail : ciprian.teodorov@gmail.com www.teodorov.ro
On 23 January 2013 01:16, Camillo Bruni <camillobruni@gmail.com> wrote:
yes please!
Yes. The only question is where to go: - on git - on smalltalkhub - on ss3 ?
On 2013-01-22, at 19:10, Esteban Lorenzano <estebanlm@gmail.com> wrote:
as all the core packages for pharo (and NB is one of them), it should be in smalltalkhub :)
On Jan 22, 2013, at 5:29 PM, Marcus Denker <marcus.denker@inria.fr> wrote:
On Jan 22, 2013, at 5:26 PM, Ciprian Teodorov <ciprian.teodorov@gmail.com> wrote:
Hi Igor,
as usual after squeaksource restart, i lost my commit rights on the NativeBoost repository...
Could NativeBoost move away from SqueakSource? SqueakSource is not stable.
This time I have a small refactoring in the NBExternalStruct/NBExternalStructFields to enable union support.
Besides that, c unions, I have implemented a first prototype, and now my question for you is: Should I add it in nativeboost (its rightful place in my opinion), or should I keep it only as support code for my TalkFFI project(in TalkFFI-runtime)? What do you think?
Cheers, Ciprian -- Dr. Ciprian TEODOROV Ingénieur Développement CAO
tél : 06 08 54 73 48 mail : ciprian.teodorov@gmail.com www.teodorov.ro
-- Best regards, Igor Stasenko.
On 01/23/2013 02:46 PM, Igor Stasenko wrote:
On 23 January 2013 01:16, Camillo Bruni <camillobruni@gmail.com> wrote:
yes please!
Yes. The only question is where to go: - on git - on smalltalkhub - on ss3
I would recommend sthub, quick howto for moving: http://goran.krampe.se/2013/01/07/moving-to-smalltalkhub regards, Göran
I would recommend sthub, quick howto for moving:
sthub! Let us deprecate SS for now and after we think about git. We cannot break too many eggs at the same time.
http://goran.krampe.se/2013/01/07/moving-to-smalltalkhub
regards, Göran
On 21 January 2013 19:55, Ciprian Teodorov <ciprian.teodorov@gmail.com> wrote:
Hi Igor,
as usual after squeaksource restart, i lost my commit rights on the NativeBoost repository...
added again.
This time I have a small refactoring in the NBExternalStruct/NBExternalStructFields to enable union support.
Besides that, c unions, I have implemented a first prototype, and now my question for you is: Should I add it in nativeboost (its rightful place in my opinion), or should I keep it only as support code for my TalkFFI project(in TalkFFI-runtime)? What do you think?
I think unions will be good addition to NBExternalStruct :)
Cheers, Ciprian -- Dr. Ciprian TEODOROV Ingénieur Développement CAO
tél : 06 08 54 73 48 mail : ciprian.teodorov@gmail.com www.teodorov.ro
-- Best regards, Igor Stasenko.
On Wed, Jan 23, 2013 at 2:45 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 21 January 2013 19:55, Ciprian Teodorov <ciprian.teodorov@gmail.com> wrote:
Hi Igor,
as usual after squeaksource restart, i lost my commit rights on the NativeBoost repository...
added again.
Thanks
This time I have a small refactoring in the NBExternalStruct/NBExternalStructFields to enable union support.
Besides that, c unions, I have implemented a first prototype, and now my question for you is: Should I add it in nativeboost (its rightful place
in
my opinion), or should I keep it only as support code for my TalkFFI project(in TalkFFI-runtime)? What do you think?
I think unions will be good addition to NBExternalStruct :)
I have commited an initial version... However I am not sure about the way I compute the type size (wrt alignment). I'm doing this: sizeAlignedTo: anAlign with: aType totalSize := (totalSize alignedTo: anAlign ) max: (aType typeSize alignedTo: anAlign) but I'm not sure if the union size should be aligned, or if that alignement will be done latter one by NB... For the tests I've done it seems to work...
Cheers, Ciprian -- Dr. Ciprian TEODOROV Ingénieur Développement CAO
tél : 06 08 54 73 48 mail : ciprian.teodorov@gmail.com www.teodorov.ro
-- Best regards, Igor Stasenko.
-- Dr. Ciprian TEODOROV Ingénieur Développement CAO tél : 06 08 54 73 48 mail : ciprian.teodorov@gmail.com www.teodorov.ro
participants (7)
-
Camillo Bruni -
Ciprian Teodorov -
Esteban Lorenzano -
Göran Krampe -
Igor Stasenko -
Marcus Denker -
Stéphane Ducasse