6 ms·
Immer: immutable and persistent data structures for C++
- santaclaus 10y ago> Postmodern immutable and persistent data structures for C++ What is a postmodern data structure?
- Etheryte 10y agoThey probably mean "trying to get on the hype train". I have nothing against immutable data structures, but that wording is just silly.
- deleted 10y ago[deleted]
- arximboldi 10y agoIt was meant as a half-joke picking on how everything is now "modern" on C++. The half-serious part is that there has been a trend in the last few years in the "modern" C++ community against Copy-On-Write, heap allocation, shared pointers, etc. Immutability kind of brings new life to these concepts...
- andrewchambers 10y agoI thought it was clearly a joke poking fun at all the other modern libraries.
- killercup 10y agoIIRC postmodernism is related to post-structuralism, which would be quite ironic considering this is about data _structures_.
- steveklabnik 10y agoAh, but remember that post-structuralism is a _critique_ of structuralism.... (and yeah postmodernism and post-structuralism are related, but like everything in this area, It's Complicated)
- std_throwaway 10y agoI'm glad the author joined us for a Q&A sesh.
- arximboldi 10y agoAuthor here, open for questions :)
- mjburgess 10y agoThis is licenced under the GPL right? A copyleft licence. Rendering it useless for most people.
- santaclaus 10y agoSimilar library with MIT, if that is your cup of tea: https://github.com/rsms/immutable-cpp https://github.com/rsms/immutable-cpp
- arximboldi 10y agoI plan to change it to a more liberal license for the first stable release (I should add a note to the readme). I still have to choose which one. The GPLv3 was chosen as an interim conservative option. One way to help me choose one of the most liberal licenses is to get your company to join the sponsorship program ;) Anyways, I and many others use plenty of GPLv3 software every day, let's agree to disagree on the "useless" part...
- onli 10y agoFor most people? I highly doubt that. But it might make it unuseable for you.
- TillE 10y agoThe vast majority of C++ programmers in the world aren't writing open source software.
- onli 10y agoAny sources? I'm not sure it is that obvious. According to https://adtmag.com/Blogs/WatersWorks/2014/01/Worldwide-Developer-Count.aspx https://adtmag.com/Blogs/WatersWorks/2014/01/Worldwide-Devel..., in 2014 there were 18 million coders world wide (so few!) of which 11 million were professional and 7.5 million hobbyists. Hobbyists does not have to mean Open Source, but professional does not have to mean proprietary either. At the same time, half of all open source software was written by professionals (http://www.techrepublic.com/article/for-50-percent-of-developers-open-source-is-a-9-to-5-job/ http://www.techrepublic.com/article/for-50-percent-of-develo...). I am not aware that there are any complete stats on how many open source developers exist. And one should not forget that also a professional C++ programmer can use a library as this for a FOSS project. We are getting OT. It is okay to ask with respects to the licence, but it is not okay to act like a GPL project is worthless.
- ScottBurson 10y agoIf anyone is looking for something like this for Java, there are a few of them, including my own FSet: https://github.com/slburson/fset-java https://github.com/slburson/fset-java