10-02-2014, 01:12 AM
A very interesting talk on high performance c++: https://www.youtube.com/watch?v=rX0ItVEVjHc
Random Chitchat 2012-2016
|
10-02-2014, 01:12 AM
A very interesting talk on high performance c++: https://www.youtube.com/watch?v=rX0ItVEVjHc
10-02-2014, 06:03 AM
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.
10-03-2014, 05:24 AM
I just installed the Windows 10 (9) preview virtually. I quite like the interface It's a mix of Windows 7 and 8
10-03-2014, 05:34 AM
Looks quite cool. I wonder if people will think it's more usable than 8.
10-03-2014, 05:48 AM
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.....
10-04-2014, 06:12 AM
(This post was last modified: 10-04-2014, 06:12 AM by daniel0916.)
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 { I need to change the parameter of the method so i need a reference...
10-04-2014, 08:16 AM
xoft, how's the SSD? In stock yet?
10-04-2014, 05:51 PM
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.
10-04-2014, 06:03 PM
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?
10-04-2014, 06:56 PM
(This post was last modified: 10-04-2014, 06:58 PM by daniel0916.)
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? |
« Next Oldest | Next Newest »
|