Mach7
Mach7 copied to clipboard
Stand-alone with C++17 std library, no boost
I was wondering if there's any plan to making Mach7 stand-alone with the introduction of std::variant and std::visit in C++, in comparison to boost::variant currently used on master. I briefly searched open issues but maybe I missed the relevant conversation.
Is there any additional dependencies on boost except variant?
I'll try to find time to write the necessary adapter for std::variant in the next couple of days. Thanks for the reminder!
Thanks @solodon4 for the fast response! Two more cents from me, an unimportant one first;
In addition to std::variant, std::any made it into C++17 which could replace boost::any which should be all the need for boost at this point.
And a more important one; clang 3.9-4 might be required to support these features and--std=gnu++17
https://clang.llvm.org/cxx_status.html
Unfortunately, some experiments I run gave me a very bad performance in generated executables with later versions of clang (clang++-6.0 is what I tried). I would be interested in helping debug and fix these runtime problems with later clang.
I looked into boost::any a while back in my discussion with Andrzej and that one will require a bit more work to be correct. I will concentrate on std::variant first as that one should be straightforward.
Curious if there's any update on this front as my project which uses Mach7 just updated to C++17.
No updates yet unfortunately - was busy with other projects. I left Microsoft though recently and while I'm on sort of sabbatical I should have a better chance to look at this. Will post here with updates once i do
Check out the functional C++17 I am generating, I started with Mach7 but ended up writing my own with std::variant
https://github.com/mit-pdos/mcqc
Look at the test folder.
On Thu, Nov 21, 2019 at 5:43 PM Yuriy Solodkyy [email protected] wrote:
No updates yet unfortunately - was busy with other projects. I left Microsoft though recently and while I'm on sort of sabbatical I should have a better chance to look at this. Will post here with updates once i do
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/solodon4/Mach7/issues/78?email_source=notifications&email_token=AAF3HLGLOWHLGUK5QU55H63QU4FHLA5CNFSM4E4BPOO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE347TY#issuecomment-557305807, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAF3HLBRGGFRDFJQXUICX5LQU4FHLANCNFSM4E4BPOOQ .
-- Lefteris Ioannidis, MIT 2014
Please don't mind, I just want to care. Is there any progress on remove boost dependent?