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.

The advantage of the first two methods is that you can develop faster 
(cut down a step), which is useful even if there's a significant 
performance drop. The main advantage of having it generated in c, 
compared to for example python, is that the integration feels more 
native, python doesn't have this problem.

--
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