You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2019/02/02 08:44:00 UTC

[jira] [Commented] (THRIFT-1173) Using template system (for example: ctemplate) for code generation

    [ https://issues.apache.org/jira/browse/THRIFT-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16758926#comment-16758926 ] 

Jens Geyer commented on THRIFT-1173:
------------------------------------

> any effort to rewrite would likely use python.

Sure? I don't even have Python on my machine ...

> Using template system (for example: ctemplate) for code generation
> ------------------------------------------------------------------
>
>                 Key: THRIFT-1173
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1173
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (General)
>    Affects Versions: 0.6.1
>            Reporter: alessandro rossi
>            Assignee: James E. King III
>            Priority: Minor
>              Labels: generation, template
>
> IMHO, the code generation embedded into generator's code is not a good solution.
> With ctemplate (http://code.google.com/p/google-ctemplate/), for example, we can separate logic with generation code.
> If you want I can implement an example for cpp generator.
> Best Regards,
> Alessandro



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)