Just a question about c and c++

  • abaabaabaaba4
    8th Jul 2011 Member 0 Permalink
    Ive just got a question to ask.
    Two features that I would love to see would be multiple core support (allowing higher resolutions or more fps) and moving solids (I have been here long enough to know it is incredibly hard to code).Now from what I've heard over the months is that if the powder toy was written in c++ these things would be easier to implement. I know that it would be hard to rewrite the powder toy code in c++ (I don't code stuff so forgive me if I'm wrong) because its a slightly different programming language and because I know powder toys free and if it wasn't for the devs the project wouldn't exist and I'm grateful for what we have sorry for so many and's in that sentence.Anyway I'm just asking is that all wright about moving to c++.
    Thanks for any responses.
  • nmd
    8th Jul 2011 Member 0 Permalink
    I think it is in c++ already.
  • devast8a
    8th Jul 2011 Former Staff 0 Permalink
    @nmd (View Post)
    No it's written in C

    @abaabaabaaba4 (View Post)
    The issue is that it's harder to design a multi-threaded approach then it is to actually implement it in any one language.
    I'm not too sure, but I think there's already some multi-thread code in TPT.
  • MasterMind555
    8th Jul 2011 Member 0 Permalink
    @abaabaabaaba4 (View Post)
    Why would it be easier in C++?
  • boxmein
    8th Jul 2011 Former Staff 0 Permalink
    @nmd JoJoBond is doing C++. It's currently in C.
  • nmd
    8th Jul 2011 Member 0 Permalink
    @boxmein (View Post)

    how's that going?
  • hollywoodninja
    8th Jul 2011 Member 0 Permalink
    So its in c s*** someone told me it was in c++ so I have been learning c++ errrrrrrrrrrrrrrrrrrrrrrrrrrrrrr!!!!!!!

    printf ("for f*** sake");
    Edited by hollywoodninja, 2011-07-06 17:42:49
  • nmd
    8th Jul 2011 Member 0 Permalink
    @hollywoodninja (View Post)
    wa, wa, wa, waaaa!
    Edit:

    Edited by nmd, 2011-07-06 18:09:08
  • abaabaabaaba4
    8th Jul 2011 Member 0 Permalink
    @MasterMind555 (View Post)
    Its just stuff I've heard on the forums this info is been sitting in my brain for ages now and got a bit mixed so It might not be. I think it was that its a more advanced coding language so it would allow more e.g. moving solids but like I said I'm probably wrong.
    @devast8a (View Post)
    I remember I was reading an article about games using 6 core processors and someone said basically that sometimes there is is nothing more that can be sent to different cores and I presume that's a bit like powder toy, I'm not saying there's only 4 instructions and honestly I don't know much about what I'm talking about anyway.
    @hollywoodninja (View Post)
    I'm sorry for you but at least you've found out now, not later and on the plus side you've partially learnt a programming language.

  • MasterMind555
    8th Jul 2011 Member 0 Permalink
    @abaabaabaaba4 (View Post)
    Well From C to C++, it might be easier, but it's like drinking 97 Glasses of Water in one day instead of 100, a bit easier but you'll still need to find a way to do it concretly.