Search found 595 matches

by jjp
Fri May 28, 2010 7:16 am
Forum: Lounge / Off-topic
Topic: Jobs and Gates
Replies: 4
Views: 1126

Re: Jobs and Gates

Great :D
by jjp
Fri May 07, 2010 2:55 pm
Forum: Lounge / Off-topic
Topic: Ryzom MMORPG goes open source
Replies: 15
Views: 2330

Re: Ryzom MMORPG goes open source

At the very least the free art should be interesting for some projects :)
by jjp
Sat May 01, 2010 8:13 am
Forum: Showcase
Topic: Garshasp
Replies: 41
Views: 9498

Re: Garshasp

Slightly reminds me of God of War. Great work :)
by jjp
Sat Apr 24, 2010 7:52 am
Forum: Lounge / Off-topic
Topic: Caculating Health and Damage
Replies: 10
Views: 1309

Re: Caculating Health and Damage

Your game logic should generally be independent of the actual frame rate and time. Either you update everything in fixed intervals, or you determine the time that has passed for each step and multiply things like damage with a factor.
by jjp
Wed Apr 14, 2010 9:49 am
Forum: Lounge / Off-topic
Topic: General Availability of Visual Studio 2010
Replies: 60
Views: 7449

Re: General Availability of Visual Studio 2010

Kojack wrote:msdnaa always only release the professional version (2003, 2005, 2008 and now 2010), express version and betas of higher ones.
For VS 2005 and 2008 there is also the Team Suite version on MSDNAA.
by jjp
Wed Apr 14, 2010 8:23 am
Forum: Lounge / Off-topic
Topic: General Availability of Visual Studio 2010
Replies: 60
Views: 7449

Re: General Availability of Visual Studio 2010

Since the Ultimate Beta is available at MSDNAA I have the faint hope that Ultimate will also be on MSDNAA at some point..
by jjp
Sun Mar 21, 2010 4:18 am
Forum: Lounge / Off-topic
Topic: What's wrong with C++?
Replies: 194
Views: 14963

Re: What's wrong with C++?

undefined behaviour == hidden error, so no it's not really "allowed" AFAIK, the compiler is responsible for not taking that as an error. Undefined behaviour is not an error. But that the value of a variable after assigning the value of an unitialized variable to it is undefined means that a compile...
by jjp
Wed Mar 03, 2010 1:48 pm
Forum: Google Summer Of Code
Topic: Google Summer of Code 2010 - Any advice?
Replies: 13
Views: 4934

Re: Google Summer of Code 2010 - Any advice?

Meshes and images are very different from the point of view of a graphics engine. The engine actually works on the mesh data, while images basically "pass through" the engine. So it is natural that there is one mesh format, which suits the graphics engine, while image formats aren't that important t...
by jjp
Sat Feb 20, 2010 4:15 pm
Forum: General Discussion
Topic: Physics library for collision detection?
Replies: 9
Views: 1551

Re: Physics library for collision detection?

KlausN wrote:one spends at least two evenings setting up things ... :?
Which is probably no time at all, compared to what writing your own engine would take :D
by jjp
Tue Feb 16, 2010 10:34 am
Forum: Lounge / Off-topic
Topic: What 'Tech Terms' make you cringe?
Replies: 74
Views: 5182

Re: What 'Tech Terms' make you cringe?

PolyVox wrote:Here's my personal favourite:
We developed several new Wii hardware specific tricks and techniques like Dynametric Light Tightening, Reframbriance, and Approxiflexion that contribute to The Conduit's performance and unique graphics style.
What the.. :shock:
by jjp
Sun Feb 14, 2010 1:19 pm
Forum: General Discussion
Topic: "$$$" C++ Extension: Ruby Symbols and Lazy Enums
Replies: 28
Views: 1206

Re: "$$$" C++ Extension: Ruby Symbols and Lazy Enums

_tommo_ wrote:IMHO in this code the problem is the use of iterators in the first version... also i noticed that often putting MyClass c inside the loop causes a slowdown, and that is something that should not happen.
Ok, I thought you'd be referring to for-each over integral data types :)
by jjp
Sun Feb 14, 2010 12:08 pm
Forum: General Discussion
Topic: "$$$" C++ Extension: Ruby Symbols and Lazy Enums
Replies: 28
Views: 1206

Re: "$$$" C++ Extension: Ruby Symbols and Lazy Enums

but it is a good indicator of the performances of the Library IMHO. This boxing & unboxing stuff is just one of the things to look out for when programming something where performance is critical in Java or C#, it isn't always obvious where it can occur. It isn't really a shortcoming of the library...
by jjp
Sun Feb 14, 2010 10:58 am
Forum: General Discussion
Topic: "$$$" C++ Extension: Ruby Symbols and Lazy Enums
Replies: 28
Views: 1206

Re: "$$$" C++ Extension: Ruby Symbols and Lazy Enums

Did you know that an empty foreach is 10x slower than the standard for just because it uses iterators? I suppose this is because of boxing/unboxing (wrapping integral data types in classes)? But since you are dismissing academical performance measurements: this comparison is also academical. Unless...
by jjp
Thu Feb 11, 2010 4:26 pm
Forum: Lounge / Off-topic
Topic: What's wrong with C++?
Replies: 194
Views: 14963

Re: What's wrong with C++?

I just can't imagine my program not working directly with the machine, but over some 'layer' that talks with the machine. Well, even with C++ you're all but working directly with the machine. You still have to trust a sophisticated compiler, the code of which you probably do not fully understand. A...
by jjp
Thu Feb 11, 2010 11:52 am
Forum: Lounge / Off-topic
Topic: What's wrong with C++?
Replies: 194
Views: 14963

Re: What's wrong with C++?

So, back to your first request - it is pretty odd don't you agree? If you read the thread you may find that someone made the claim that he could achieve things in 10 lines of C++ which would take 300 lines in a higher level language. And since that is a pretty strong claim I am asking for an exampl...
by jjp
Thu Feb 11, 2010 8:37 am
Forum: Lounge / Off-topic
Topic: What's wrong with C++?
Replies: 194
Views: 14963

Re: What's wrong with C++?

Does your CPU work on UTF-8-encoded text or what? :P And I was asking for an example where something could be done in C++ with just 10 lines and it would take 300 lines in a higher level language.. And you were given an answer. No I was not. I am still waiting for an example where your source code ...
by jjp
Tue Feb 09, 2010 11:59 pm
Forum: Lounge / Off-topic
Topic: What's wrong with C++?
Replies: 194
Views: 14963

Re: What's wrong with C++?

lonewolff wrote:Right back at ya with the :wink:
Does your CPU work on UTF-8-encoded text or what? :P And I was asking for an example where something could be done in C++ with just 10 lines and it would take 300 lines in a higher level language..
by jjp
Tue Feb 09, 2010 5:11 pm
Forum: Lounge / Off-topic
Topic: What's wrong with C++?
Replies: 194
Views: 14963

Re: What's wrong with C++?

jacmoe wrote:If you're looking for small size source code, why not Lisp ? :D
Or Haskell :P
by jjp
Tue Feb 09, 2010 4:58 pm
Forum: Lounge / Off-topic
Topic: What's wrong with C++?
Replies: 194
Views: 14963

Re: What's wrong with C++?

lonewolff wrote:here is an entire Hello World application in 16 bit assembly (21 bytes long - yes the application is 25 bytes - not 100 Kb) :)
You're not answering the question ;) Obviously I mean the size of the source code, not of the compiled code.
by jjp
Mon Feb 08, 2010 5:45 pm
Forum: Lounge / Off-topic
Topic: What's wrong with C++?
Replies: 194
Views: 14963

Re: What's wrong with C++?

I am totally not on that line. Of course you have a lot of freedom with C++ and it does follow a consistent design paradigm, i.e. performance >>> everything else. But practically it has a huge load of inconveniences and I am certain that even the most experienced C++ programmer will be more producti...
by jjp
Mon Feb 08, 2010 12:53 pm
Forum: General Discussion
Topic: My Problem!!!!!!
Replies: 8
Views: 534

Re: My Problem!!!!!!

Seems like Sourceforge worked around the problem. Projects now can explicitely allow access from blacklisted countries :)
by jjp
Mon Feb 08, 2010 9:54 am
Forum: General Discussion
Topic: Experiment (Lookup vs Brute Force Calculate)
Replies: 28
Views: 1071

Re: Experiment (Lookup vs Brute Force Calculate)

Anyway, hashmaps are only O(1) in ideal cases (am i wrong again?) That is correct :) If the hash map gets too crowded it won't perform that good any more. In this case the hash map may resize itself, for example. Which obviously isn't for free either, but if you do amortized analysis you end up aga...
by jjp
Mon Feb 08, 2010 9:42 am
Forum: Lounge / Off-topic
Topic: What's wrong with C++?
Replies: 194
Views: 14963

Re: What's wrong with C++?

I guess Ogre3D is about the only reason for me to use C++ in the context of game programming. Developing with C# or something like that feels much smoother.
by jjp
Mon Feb 08, 2010 9:33 am
Forum: General Discussion
Topic: Experiment (Lookup vs Brute Force Calculate)
Replies: 28
Views: 1071

Re: Experiment (Lookup vs Brute Force Calculate)

Yes, but is hash_map not the only map not using a tree? Within the STL? Well, until C1X all map-like data structure implementations in the STL use trees (although they probably could use something else if it gave the same complexities for operations as trees do). But that wasn't the point. The poin...
by jjp
Mon Feb 08, 2010 9:15 am
Forum: General Discussion
Topic: Experiment (Lookup vs Brute Force Calculate)
Replies: 28
Views: 1071

Re: Experiment (Lookup vs Brute Force Calculate)

Hash maps are not based on trees. What you describe (calculating an index when you want to retrieve something) is broadly speaking the definition of hashing, and of hash maps. ???Are you serious??? ALL MAPS DEPEND ON TREES.period. Uhm, no. Period. As already said: trees can be used to implement map...