Hi Hongwei, On Sun, Sep 4, 2016 at 2:25 AM, gmhwxi <[email protected]> wrote: > Well, I think that a compiler may be optimize away > the inefficiency due to indirectness. If not, you can always do > it on your own. For instance, I introduced .f_x in the following code > for accessing .f.x directly: > > https://github.com/githwxi/ATS-Postiats-test/blob/master/contrib/hwxi/TEST30/struct1.dats
Yes... But it should need more setter/getter. Many many... > To be honest, I do not really know what you want to do exactly. If you can > use a simple > example to illustrate it, then I will try to show the example in ATS. O.K. Please give me some time. Now I'm building c2ats as at-view-style. https://travis-ci.org/metasepi/c2ats/builds/157327190#L534 I know your advice is choosing aptr-style. But it's more suitable for me, today. I write some code in NetBSD kernel using the c2ats. Then I'll show you some concrete examples. Please discuss more at the day. Because my ability to explain something is very poor. I would like to write something and explain it. Best regards, -- Kiwamu Okabe at METASEPI DESIGN -- You received this message because you are subscribed to the Google Groups "ats-lang-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/ats-lang-users. To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/CAEvX6dkeLVk9ngHhWrz5pVTjq%3D5-J7M3LZ6iy%3DfCv%2B39QdFGVw%40mail.gmail.com.
