On 26/01/15 13:26, Davide Andreoli wrote:
> 2015-01-26 13:09 GMT+01:00 Tom Hacohen <tom.haco...@samsung.com>:
>
>> On 26/01/15 11:41, Yakov Goldberg wrote:
>>> Hey  Davide,
>>>       that's cooooool :)
>>>
>>> I installed everything and played with it: changed your test_gui.egui in
>>> Erigo and run it again through erigo.py! Great!
>>>
>>> Just could you explain something.
>>>          You don't generate Python from Json.
>>>          As I understand you read Json, save this data internally and call
>>> it when needed, which doesn't actually matter in terms of speed and
>>> convenience for Python, right?
>>>
>>> The rest is on the way...
>>
>> We talked about it on IRC the other day. If you keep the json simple,
>> there's no reason why you'd need to generate the python code ahead of
>> time. You can even have a cached .egui.py and generate it every time the
>> .egui file changes. Or you can generate ahead of time, like in C.
>>
>
> We cannot have a cached .egui.py. Because the current implementation do
> not generate any python code at all, It just instantiate the needed classes.

I know, I meant it as an alternative. We can have the dynamic one we 
have now, the generate python on runtime and cache it, or generate ahead 
of time.

--
Tom.



------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to