Jump to content

  • Log In with Google      Sign In   
  • Create Account


My mixin library


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 Bleys   Members   -  Reputation: 171

Like
1Likes
Like

Posted 14 July 2013 - 07:46 AM

I'm developing a library that allows you to have C++ mixins (vaguely similar to Ruby's mixins or the traits in Smalltalk's dialect Self and not to be confused with CRTP mixins).

 

It's not strictly about game development, but it can be treated as an alternative to an entity-component system, which is very useful for games with fairly complex objects (RPG's, Strategies).
 

The library has a lot of working and a lot of planned features, but for now I'm focusing on the documentation (which is pretty thin). I don't intend to add any of the planned features until I submit it to Boost. 

Anyway I'd be happy to hear any comments, suggestions, and questions you might have.

Here's the link: https://github.com/iboB/boost.mixin (the name is Boost.Mixin, because I want to submit it to the Boost libraries for inclusion, but it's not part of them yet)


Edited by Bleys, 14 July 2013 - 07:56 AM.

It's only when you look at ants with a magnifying glass on a sunny day, that you realise just how often they burst into flames.


Sponsor:

#2 shadowisadog   Crossbones+   -  Reputation: 2289

Like
0Likes
Like

Posted 14 July 2013 - 03:04 PM

I have not checked out the code yet but this sounds like an interesting idea. I think Ruby's mixin system is fairly neat as well.

 

I will try to check out the code as soon as possible.

 

Good luck!



#3 Bleys   Members   -  Reputation: 171

Like
0Likes
Like

Posted 16 July 2013 - 09:26 AM

Honestly, I thought this was going to attract more interest 

Anyway, I'll try the spam again after more of the documentation is done smile.png


It's only when you look at ants with a magnifying glass on a sunny day, that you realise just how often they burst into flames.


#4 Matt-D   Crossbones+   -  Reputation: 1410

Like
0Likes
Like

Posted 21 July 2013 - 03:28 PM

Honestly, I thought this was going to attract more interest

 

It was posted on reddit some time ago: http://www.reddit.com/r/cpp/comments/1i59h2/boostmixin/

// although, indeed, there are usually more comments



#5 Bleys   Members   -  Reputation: 171

Like
0Likes
Like

Posted 23 July 2013 - 08:23 AM

Well, to be honest I'm not satisfied with the documentation (the part that's complete by now) and I think it doesn't help people understand what the library is about. I'll be working on an entire doc revamp, and then try gathering interest again.

Also, thanks for the link!


It's only when you look at ants with a magnifying glass on a sunny day, that you realise just how often they burst into flames.


#6 Bleys   Members   -  Reputation: 171

Like
0Likes
Like

Posted 11 August 2013 - 07:51 AM

Well I revamped the introduction part of the documentation and added two tutorials (more to come).

Hopefully it's clearer now.


It's only when you look at ants with a magnifying glass on a sunny day, that you realise just how often they burst into flames.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS