Random Chitchat 2012-2016
A very interesting talk on high performance c++: https://www.youtube.com/watch?v=rX0ItVEVjHc
Thanks given by:
I have to say I don't understand his solutions to the problems he gives. He takes a generic data structure with a function on it, and he breaks it down into a specialized structure with a specialized algorithm. But there's never just one algorithm for the data. You have data and you have several algorithms. At 32:16, he has a GameObject class with an updateFoo() function in it. Then he goes on to redefine the updateFoo() into a global updateFoos() function that takes a struct that has partial GameObject data as input and another struct that has *some* of the same data as output (37:16). So he can apply foo really fast, but before doing that, he has to fill in these In and Out arrays, or he needs to have them somewhere pre-stored. filling in is obviously not an option, because that would just negate any cache improvements he just won hard. Pre-stored is not an option when the input and output formats differ and you are doing the operation several times. Add to the mix that usually you're doing more than just one operation on the GameObjects' datas, and I just don't see how it could possibly work outside of very specialized cases.
Thanks given by:
I just installed the Windows 10 (9) preview virtually. I quite like the interface Smile It's a mix of Windows 7 and 8
[Image: 38a30aec70.jpg]
Thanks given by:
Looks quite cool. I wonder if people will think it's more usable than 8.
Thanks given by:
Oh wow! I already loved the song back in the 90s when it was the highest achievement of computer music: http://modarchive.org/index.php?request=...uery=47057
And just now I've found out someone made a great remaster of it: http://www.amigaremix.com/listen/2261/Mi...009%5D.mp3
Oh the nostalgia.....
Thanks given by:
Why can't i use "ePacketSide & a_PacketStreamSide = E_SERVER_PACKET"?
error: could not convert ‘E_SERVER_PACKET’ from ‘cPacketModifier::ePacketSide’ to ‘cPacketModifier::ePacketSide&’

The enum ist this:
Code:
enum ePacketSide {
        E_SERVER_PACKET = 0,
        E_CLIENT_PACKET = 1
    };

I need to change the parameter of the method so i need a reference...
Thanks given by:
xoft, how's the SSD? In stock yet?
Thanks given by:
tigerw: Got it yesterday, but because I'm away for the weekend, I couldn't install it yet.

daniel0916: you seem to have a function that takes a reference to the ePacketSide; such a parameter must then always be a variable, it cannot be a constant. I can't guess more without any code.
Thanks given by:
I was even willing to give Windows 8.1 a try, but after seeing the price, I just said NOPE. 6700 CZK (~250 EUR), are they crazy or what?
Thanks given by:
Where costs the Windows 8.1 so many? In germany it's 80 euro.
http://www.amazon.com/Microsoft-Windows-...indows+8.1
106 dollars.

Here are the complete method: "void ModifyClientPacketHandshake(cByteBuffer & a_InputStream, cByteBuffer & a_OutputStream, cByteBuffer & a_PacketStream, ePacketSide & a_PacketStreamSide = E_SERVER_PACKET);"

Maybe now you can help me better?
Thanks given by:




Users browsing this thread: 9 Guest(s)