New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks, and a bit of feedback. #106
Comments
Thanks for the feedback!
Can you provide more details? Rice has had support for C++11 and later for quite a while, and while I've seen one other report that there may be problems here I haven't been able to get a reproducible example.
What are you finding difficult to do?
I can understand this concern. As it stands, Rice is effectively in maintenance mode and I am not a daily user of the library. I'm happy to review suggestions or a PR for removing / reducing some of these warnings.
I'm not sure what to say here, as this is a personal preference thing. This construct is not required for Rice to function.
This isn't obvious to me. Rice is a complicated code base that makes very heavy use of templates which could be tripping up auto-complete and highlighting tools. Do you have an example to share here?
Rice does not force you into any specific compiler, but will try to use the compiler that Ruby was compiled with. You can set $CC and/or $CXX explicitly before you call
This can be done by setting $CXXFLAGS, but I'm open to discussion on if this should be applied globally.
This is added only if the compiler is |
Hi Jason, Thanks a log for circling back! My personal e-mail is dmitry.korolev@gmail.com in case anything you'd like to follow up with is best to be kept private.
The TL;DR is that the
The shortest and the most self-explanatory way to use If only Moreover, had I spoke Ruby at least a quarter as well as I speak C++, or at least half as well as I speak JS or Python, I would have extended the implementation of the Design-wise, it all boils down to me not knowing how to pass "variable-typed" parameters in Ruby. In Python those are named parameter, in C++ the convention I stick with is the so-called "dot notation", ex. The remaining points of my comment are derivative; I'd be happy to go into more details, but that would be pointless given Rice is effectively in maintenance mode. It's not my first day in open source, and I understand, acknowledge, and comprehend well how busy you are with your main project(s). No matter what the result of this exchange would be, thanks for getting back to me, Rice still rocks compared to the alternatives I've considered, we'll most likely use it in prod next week, for which here come my warmest thanks and thumbs up. With the above in mind, if there's anything I, as a non-Ruby-speaker, could help with, that would enable me (us, CC @AlexZaytsav, @idej) to get rid of the ugly Thanks! PS: Please excuse me for the possible typos, it's 1am and we just had a corp party. I swear that, should you have the desire to invest a few dozen minutes into straightening out the above, I'll be available in your time zone for as long as it's necessary to get the right things fixed the right way. |
"This can be done by setting $CXXFLAGS" ... Do you mean manually editing the Makefile or setting the environment to running |
Manually editing the resulting Semi-manually, in fact -- I have a script now that does it. A middle step, if you wish, between Rice generating the |
Thanks! |
It should also work to set CXXFLAGS as an environment variable. |
Can confirm $CXXFLAGS << " -std=c++11" |
Hi @jasonroelofs,
Thanks for Rice! I've spent a few days befriending it with C++11, and wrote a bit of feedback, as well as open-sourced an example that passes a Semaphore test.
Thanks,
Dima
CC @AlexZaytsav, @idej
The text was updated successfully, but these errors were encountered: