feenk log

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

feenk log

Tudor Girba-2
Hi,

Here is an update of the work on Bloc and GT. As always, please do let us know what you think.

Bloc:
- Eventing saw a deep overhaul. They are now dispatched using the Announcements engine. The previous mechanism is still in place in order to help people compare the impact. In the process, we also cleaned the propagation of events, and we made them debuggable through inspector extensions:
https://twitter.com/feenkcom/status/955086133519618048
https://twitter.com/feenkcom/status/946482609680539649
- Embedding Bloc elements in Morphic is even easier now:
https://twitter.com/feenkcom/status/946676667002556416
- We continued the work towards an interactive creation of a graphical scene:
https://twitter.com/feenkcom/status/948492946541858816
- Theme experiment

GT:
- The documentation of Mondrian is available when you download the code and can be viewed using GT Documenter:
https://twitter.com/feenkcom/status/939394586115563520
- The Mondrian extensions of BlElement are now extracted in a more general package that enables Bloc elements to be used in graph scenes.

Have fun,
The feenk team


--
www.tudorgirba.com
www.feenk.com

"Obvious things are difficult to teach."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: feenk log

Stéphane Ducasse
this looks really cool. 
For the event I remember the discussion with glenn about the difference and I forgot. 

Stef

On 21 Jan 2018, at 15:54, Tudor Girba <[hidden email]> wrote:

Hi,

Here is an update of the work on Bloc and GT. As always, please do let us know what you think.

Bloc:
- Eventing saw a deep overhaul. They are now dispatched using the Announcements engine. The previous mechanism is still in place in order to help people compare the impact. In the process, we also cleaned the propagation of events, and we made them debuggable through inspector extensions:
https://twitter.com/feenkcom/status/955086133519618048
https://twitter.com/feenkcom/status/946482609680539649
- Embedding Bloc elements in Morphic is even easier now:
https://twitter.com/feenkcom/status/946676667002556416
- We continued the work towards an interactive creation of a graphical scene:
https://twitter.com/feenkcom/status/948492946541858816
- Theme experiment

GT:
- The documentation of Mondrian is available when you download the code and can be viewed using GT Documenter:
https://twitter.com/feenkcom/status/939394586115563520
- The Mondrian extensions of BlElement are now extracted in a more general package that enables Bloc elements to be used in graph scenes.

Have fun,
The feenk team


--
www.tudorgirba.com
www.feenk.com

"Obvious things are difficult to teach."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev

--------------------------------------------
Stéphane Ducasse
03 59 35 87 52
Assistant: Julie Jonas 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: feenk log

Tudor Girba-2
Hi,

There is a difference in performance. The Announcement is slower (about 2-3x slower). However, for 1M events the difference is measured in a 200-400ms, which is very small.

The benefit of using Announcement is that we can reuse the tooling around Announcement, such as blogging and debugging.

Still, the way it is used in Bloc is different from the typical usage in that Bloc registers to all Events (which are Announcements) and then dispatches through them to specific Element method (like BlEventListener>>clickEvent:). Still the cool thing is that you also can still register from the outside to a specific event using a normal when:do:.

We will write a piece of doc about it.

Cheers,
Tudor


> On Jan 21, 2018, at 4:46 PM, Stéphane Ducasse <[hidden email]> wrote:
>
> this looks really cool.
> For the event I remember the discussion with glenn about the difference and I forgot.
>
> Stef
>
>> On 21 Jan 2018, at 15:54, Tudor Girba <[hidden email]> wrote:
>>
>> Hi,
>>
>> Here is an update of the work on Bloc and GT. As always, please do let us know what you think.
>>
>> Bloc:
>> - Eventing saw a deep overhaul. They are now dispatched using the Announcements engine. The previous mechanism is still in place in order to help people compare the impact. In the process, we also cleaned the propagation of events, and we made them debuggable through inspector extensions:
>> https://twitter.com/feenkcom/status/955086133519618048
>> https://twitter.com/feenkcom/status/946482609680539649
>> - Embedding Bloc elements in Morphic is even easier now:
>> https://twitter.com/feenkcom/status/946676667002556416
>> - We continued the work towards an interactive creation of a graphical scene:
>> https://twitter.com/feenkcom/status/948492946541858816
>> - Theme experiment
>>
>> GT:
>> - The documentation of Mondrian is available when you download the code and can be viewed using GT Documenter:
>> https://twitter.com/feenkcom/status/939394586115563520
>> - The Mondrian extensions of BlElement are now extracted in a more general package that enables Bloc elements to be used in graph scenes.
>>
>> Have fun,
>> The feenk team
>>
>>
>> --
>> www.tudorgirba.com
>> www.feenk.com
>>
>> "Obvious things are difficult to teach."
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.list.inf.unibe.ch/listinfo/moose-dev
>
> --------------------------------------------
> Stéphane Ducasse
> http://stephane.ducasse.free.fr
> http://www.synectique.eu / http://www.pharo.org 
> 03 59 35 87 52
> Assistant: Julie Jonas
> FAX 03 59 57 78 50
> TEL 03 59 35 86 16
> S. Ducasse - Inria
> 40, avenue Halley,
> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
> Villeneuve d'Ascq 59650
> France
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.list.inf.unibe.ch/listinfo/moose-dev

--
www.tudorgirba.com
www.feenk.com

"Beauty is where we see it."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: feenk log

Stéphane Ducasse
Thanks doru.
Indeed having a good doc of bloc is important. I will try to get some times to have fun with boids but….
I’m more than full over the last 6 months. 

Stef

On 21 Jan 2018, at 16:55, Tudor Girba <[hidden email]> wrote:

Hi,

There is a difference in performance. The Announcement is slower (about 2-3x slower). However, for 1M events the difference is measured in a 200-400ms, which is very small.

The benefit of using Announcement is that we can reuse the tooling around Announcement, such as blogging and debugging.

Still, the way it is used in Bloc is different from the typical usage in that Bloc registers to all Events (which are Announcements) and then dispatches through them to specific Element method (like BlEventListener>>clickEvent:). Still the cool thing is that you also can still register from the outside to a specific event using a normal when:do:.

We will write a piece of doc about it.

Cheers,
Tudor


On Jan 21, 2018, at 4:46 PM, Stéphane Ducasse <[hidden email]> wrote:

this looks really cool.
For the event I remember the discussion with glenn about the difference and I forgot.

Stef

On 21 Jan 2018, at 15:54, Tudor Girba <[hidden email]> wrote:

Hi,

Here is an update of the work on Bloc and GT. As always, please do let us know what you think.

Bloc:
- Eventing saw a deep overhaul. They are now dispatched using the Announcements engine. The previous mechanism is still in place in order to help people compare the impact. In the process, we also cleaned the propagation of events, and we made them debuggable through inspector extensions:
https://twitter.com/feenkcom/status/955086133519618048
https://twitter.com/feenkcom/status/946482609680539649
- Embedding Bloc elements in Morphic is even easier now:
https://twitter.com/feenkcom/status/946676667002556416
- We continued the work towards an interactive creation of a graphical scene:
https://twitter.com/feenkcom/status/948492946541858816
- Theme experiment

GT:
- The documentation of Mondrian is available when you download the code and can be viewed using GT Documenter:
https://twitter.com/feenkcom/status/939394586115563520
- The Mondrian extensions of BlElement are now extracted in a more general package that enables Bloc elements to be used in graph scenes.

Have fun,
The feenk team


--
www.tudorgirba.com
www.feenk.com

"Obvious things are difficult to teach."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev

--------------------------------------------
Stéphane Ducasse
http://stephane.ducasse.free.fr
http://www.synectique.eu / http://www.pharo.org
03 59 35 87 52
Assistant: Julie Jonas
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley,
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev

--
www.tudorgirba.com
www.feenk.com

"Beauty is where we see it."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev

--------------------------------------------
Stéphane Ducasse
03 59 35 87 52
Assistant: Julie Jonas 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: feenk log

Ben Coman
In reply to this post by Tudor Girba-2
On 21 January 2018 at 23:55, Tudor Girba <[hidden email]> wrote:
> Hi,
>
> There is a difference in performance. The Announcement is slower (about 2-3x slower). However, for 1M events the difference is measured in a 200-400ms, which is very small.

So you mean each event <1ms difference?
btw, what is the biggest usage of events? I guess mouse movements?
How many such events typically in 1 second of movement?

How is performance on StackInterpreter VM?
I guess we should keep that performant for platforms lacking JIT like
iPads, etc...


> The benefit of using Announcement is that we can reuse the tooling around Announcement, such as blogging and debugging.

This looks really useful.  Can you describe the difference between the
red and blue lines in the picture of the first link?

cheers -ben

>
> Still, the way it is used in Bloc is different from the typical usage in that Bloc registers to all Events (which are Announcements) and then dispatches through them to specific Element method (like BlEventListener>>clickEvent:). Still the cool thing is that you also can still register from the outside to a specific event using a normal when:do:.
>
> We will write a piece of doc about it.
>
> Cheers,
> Tudor
>
>
>> On Jan 21, 2018, at 4:46 PM, Stéphane Ducasse <[hidden email]> wrote:
>>
>> this looks really cool.
>> For the event I remember the discussion with glenn about the difference and I forgot.
>>
>> Stef
>>
>>> On 21 Jan 2018, at 15:54, Tudor Girba <[hidden email]> wrote:
>>>
>>> Hi,
>>>
>>> Here is an update of the work on Bloc and GT. As always, please do let us know what you think.
>>>
>>> Bloc:
>>> - Eventing saw a deep overhaul. They are now dispatched using the Announcements engine. The previous mechanism is still in place in order to help people compare the impact. In the process, we also cleaned the propagation of events, and we made them debuggable through inspector extensions:
>>> https://twitter.com/feenkcom/status/955086133519618048
>>> https://twitter.com/feenkcom/status/946482609680539649
>>> - Embedding Bloc elements in Morphic is even easier now:
>>> https://twitter.com/feenkcom/status/946676667002556416
>>> - We continued the work towards an interactive creation of a graphical scene:
>>> https://twitter.com/feenkcom/status/948492946541858816
>>> - Theme experiment
>>>
>>> GT:
>>> - The documentation of Mondrian is available when you download the code and can be viewed using GT Documenter:
>>> https://twitter.com/feenkcom/status/939394586115563520
>>> - The Mondrian extensions of BlElement are now extracted in a more general package that enables Bloc elements to be used in graph scenes.
>>>
>>> Have fun,
>>> The feenk team
>>>
>>>
>>> --
>>> www.tudorgirba.com
>>> www.feenk.com
>>>
>>> "Obvious things are difficult to teach."
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.list.inf.unibe.ch/listinfo/moose-dev
>>
>> --------------------------------------------
>> Stéphane Ducasse
>> http://stephane.ducasse.free.fr
>> http://www.synectique.eu / http://www.pharo.org
>> 03 59 35 87 52
>> Assistant: Julie Jonas
>> FAX 03 59 57 78 50
>> TEL 03 59 35 86 16
>> S. Ducasse - Inria
>> 40, avenue Halley,
>> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
>> Villeneuve d'Ascq 59650
>> France
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.list.inf.unibe.ch/listinfo/moose-dev
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "Beauty is where we see it."
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.list.inf.unibe.ch/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: feenk log

Tudor Girba-2
Hi,

> On Jan 21, 2018, at 10:37 PM, Ben Coman <[hidden email]> wrote:
>
> On 21 January 2018 at 23:55, Tudor Girba <[hidden email]> wrote:
>> Hi,
>>
>> There is a difference in performance. The Announcement is slower (about 2-3x slower). However, for 1M events the difference is measured in a 200-400ms, which is very small.
>
> So you mean each event <1ms difference?
> btw, what is the biggest usage of events? I guess mouse movements?
> How many such events typically in 1 second of movement?
> How is performance on StackInterpreter VM?
> I guess we should keep that performant for platforms lacking JIT like
> iPads, etc…

It depends on the scene. We are still looking into how to evaluate this. That’s why we still have both implementations around.


>> The benefit of using Announcement is that we can reuse the tooling around Announcement, such as blogging and debugging.
>
> This looks really useful.  Can you describe the difference between the
> red and blue lines in the picture of the first link?

Each event goes through two passes, like in JavaScript:
- The first is called “capturing” (or filtering) and goes from the root to the leaf. This is to allow a parent to prevent a child to react to an event.
- The second one is called “bubbling” (or handling) and goes from the leaf to the root. This is to find the most specific element to handle the event.

Cheers,
Tudor


> cheers -ben
>
>>
>> Still, the way it is used in Bloc is different from the typical usage in that Bloc registers to all Events (which are Announcements) and then dispatches through them to specific Element method (like BlEventListener>>clickEvent:). Still the cool thing is that you also can still register from the outside to a specific event using a normal when:do:.
>>
>> We will write a piece of doc about it.
>>
>> Cheers,
>> Tudor
>>
>>
>>> On Jan 21, 2018, at 4:46 PM, Stéphane Ducasse <[hidden email]> wrote:
>>>
>>> this looks really cool.
>>> For the event I remember the discussion with glenn about the difference and I forgot.
>>>
>>> Stef
>>>
>>>> On 21 Jan 2018, at 15:54, Tudor Girba <[hidden email]> wrote:
>>>>
>>>> Hi,
>>>>
>>>> Here is an update of the work on Bloc and GT. As always, please do let us know what you think.
>>>>
>>>> Bloc:
>>>> - Eventing saw a deep overhaul. They are now dispatched using the Announcements engine. The previous mechanism is still in place in order to help people compare the impact. In the process, we also cleaned the propagation of events, and we made them debuggable through inspector extensions:
>>>> https://twitter.com/feenkcom/status/955086133519618048
>>>> https://twitter.com/feenkcom/status/946482609680539649
>>>> - Embedding Bloc elements in Morphic is even easier now:
>>>> https://twitter.com/feenkcom/status/946676667002556416
>>>> - We continued the work towards an interactive creation of a graphical scene:
>>>> https://twitter.com/feenkcom/status/948492946541858816
>>>> - Theme experiment
>>>>
>>>> GT:
>>>> - The documentation of Mondrian is available when you download the code and can be viewed using GT Documenter:
>>>> https://twitter.com/feenkcom/status/939394586115563520
>>>> - The Mondrian extensions of BlElement are now extracted in a more general package that enables Bloc elements to be used in graph scenes.
>>>>
>>>> Have fun,
>>>> The feenk team
>>>>
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>> www.feenk.com
>>>>
>>>> "Obvious things are difficult to teach."
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.list.inf.unibe.ch/listinfo/moose-dev
>>>
>>> --------------------------------------------
>>> Stéphane Ducasse
>>> http://stephane.ducasse.free.fr
>>> http://www.synectique.eu / http://www.pharo.org
>>> 03 59 35 87 52
>>> Assistant: Julie Jonas
>>> FAX 03 59 57 78 50
>>> TEL 03 59 35 86 16
>>> S. Ducasse - Inria
>>> 40, avenue Halley,
>>> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
>>> Villeneuve d'Ascq 59650
>>> France
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.list.inf.unibe.ch/listinfo/moose-dev
>>
>> --
>> www.tudorgirba.com
>> www.feenk.com
>>
>> "Beauty is where we see it."
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.list.inf.unibe.ch/listinfo/moose-dev
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.list.inf.unibe.ch/listinfo/moose-dev

--
www.tudorgirba.com
www.feenk.com

"Every thing should have the right to be different."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev