I vaguely remember reading somewhere that Fletch (Dartino) has extended reflection support over the Dart VM and it can do intercession (program self modification) as well as introspection. I cannot find anything about it now, though. Is it true and if yes, could you give me some pointers to documentation, how do I use the feature?
--
You received this message because you are subscribed to the Google Groups "Dartino Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dartino-discu...@googlegroups.com.
To post to this group, send email to dartino...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dartino-discuss/58783a94-e8dd-4ffc-81e9-c5146c236876%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Jirka,Dartino actually has reduced reflection support compared to the Dart VM. Dartino does not support dart:mirrors and .runtimeType to keep the runtime small for embedded devices. Therefore, there is no way to do program self modification.I think what you are referring to is the experiments we are performing with 'live programming'. The idea is that you can inspect your system state in the debugger. Based on what you find you can change your source files. We will then incrementally compile the source files and compute a program change that can be applied on the VM. Then you can continue running the modified program. All of these changes happen from the side and not from the program itself.We still have limited support for 'live programming' so it will be a little while before this is actually ready for use.Cheers,Mads
--
You received this message because you are subscribed to the Google Groups "Dartino Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dartino-discu...@googlegroups.com.
To post to this group, send email to dartino...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dartino-discuss/8de04b5f-439c-4fd1-8172-8cf4326f5392%40googlegroups.com.
On Fri, Jan 29, 2016 at 11:43 AM Jirka Daněk <jirka...@gmail.com> wrote:On Friday, January 29, 2016 at 9:59:17 AM UTC+1, Mads Ager wrote:
My take on reflection is that it is really great to have available when I develop, but I don't want to pay for the overhead when my program is deployed. If my program needs to make reflective computations before it starts up, chances are I waste my end users' time. I want to have computed such things before I deploy my program to my end users.¨
We still have limited support for 'live programming' so it will be a little while before this is actually ready for use.