foxtacles / cpp

More or less random C++ code
0 stars 1 forks source link

Use a tool designed for the task at hand #1

Open theldoria opened 7 years ago

theldoria commented 7 years ago

The tool of choice I would recommend to do that would be swig, not templates. Did you consider that?

Usiing swig offers you a pletora of target scripting languages and you can wrap even complec C or C++ interfaces, even for compilers only supporting c++03 or even c++98.

foxtacles commented 7 years ago

Awesome, thanks for the suggestion :) I wrote a bit more here https://dev.to/foxtacles/why-c-is-fun-to-me-template-metaprogramming/comments/4lb