On 27.05.2015 09:06, Vladimir Ozerov wrote:
> Code generation in any from (either compiile-time or runtime) is nice idea
> and we certainly should pay attention to it. But it appears to be too
> complicated for initial release.
> I would stick to explicit "serializers" for now.

Sure; I'm taking the long view here.

-- Brane

> On Wed, May 27, 2015 at 9:28 AM, Denis Magda <dma...@gridgain.com> wrote:
>
>> On 5/27/2015 12:14 AM, Branko Čibej wrote:
>>
>>>   2. Use a C++ parser (e.g., from LLVM) to generate a machine-readable
>>>      structure description, and generate the marshalling code from that.
>>>
>>> Option 2 is by far the most user-friendly, because users could just
>>> point the generator to their existing class definitions. But it's
>>> probably a huge amount of work.
>>>
>> Branko,
>>
>> This is really an awesome solution if we want to perform marshalling
>> automatically.
>>
>> Apple extensively uses libclang for code analysis and generation in its
>> Objective-C runtime.
>> We can go the same way. Here is a good introductory article on clang:
>> http://szelei.me/code-generator/
>>
>> --
>> Denis
>>
>>

Reply via email to