News for hackers. Stuff that matters.
Re:Futures for C++11 at Facebook by Serow225 on Friday June 19, 2015 @06:16PM (#9748002)
Since it seems like you're at FB, do you know if anyone's working on an equivalent of FB's Swift but for C++ instead of Java? If so, I'd love an email to express interest in such a thing. Thanks in advance!
Re:Futures for C++11 at Facebook by electrum on Friday June 19, 2015 @11:47PM (#9748893)
Swift uses annotations (reflection) and generates bytecode on the fly. This fits much better with modern Java development practices and tooling than source code generation. Is such a thing feasible C++, especially in an idiomatic way? Or perhaps I am misunderstanding your question.

To my knowledge, our C++ Thrift code is here: https://github.com/facebook/fbthrift

(I work on Presto and occasionally Swift at Facebook, but am not at all familiar with modern C++)

Re:Futures for C++11 at Facebook by Serow225 on Saturday June 20, 2015 @10:34AM (#9750050)
Thanks for the reply! You're right, I should have been more clear - the goal would be to autogenerate Thrift IDL at compile-time from annotations in our C++ source, to avoid having to hand write the IDL. So more in the sprit of Swift rather than a direct parallel.