In response to the latest Busting a myth...

This topic is locked from further discussion.

Avatar image for zero_snake99
zero_snake99

3478

Forum Posts

0

Wiki Points

0

Followers

Reviews: 1

User Lists: 0

#1 zero_snake99
Member since 2004 • 3478 Posts

Ok...so you are saying that devs have completely unlocked the Cells power just because there has been no significant change in performace in a year?...Ok look at this...an Example of how to make a Fibonacci sequence using and SPE offload...for the cell you generally process by SPE...

The Fibonacci sequence is the relation of numbers in which two starting values, each number is the sum of the two preceding numbers. All programs have a type of variation of this sequence to create a loop. Of course the sequence will dump, or repeat after some point.

(read Fibonacci Sequence Wiki for more details on the Fib Sequence)

How the SPE offload works is that one to six threads are created at a time so that work is offloaded to all available SPEs by the testThread() function. Upon completion of a set of six threads, the next set of SPE offload threads are begun. This continues until all threads have been executed on the SPEs. The Linux gettimeofday() function is called to time this segment of code, including completion time for all SPE threads started.

EXAMPLE START:


Photo Sharing and Video Hosting at Photobucket

This is only 2 Subs of the program. I know for sure if I ask my future proffesor at my college, he'll concure that creating the Fib Seq. in regular Java OR C++ would be alot easier because they don't use SPEs and due to the use of sequential iterations.

/thread....

YAY EDIT NUMBER 1 TO ANSWER A FEW COMMENTS!!!

This code alone does nothing, like I said it has lots of sub routines. In the main it would be set up so after each execution of the code it would have a performance check, to make sure it isn't over calculating (which would cause an overload)

To further explain what is going on at the very top it of course defines what are integers, whole numbers (int), and long, numbers including decimals (long). [to speed things up since this post is taking long] It calls some data from a sub (if the ID tag = 0) and then calls the Fib sub so it then does the process making sure it meets certain crudentials.

Most games don't use C++ or C# as one stated, BUT in order to create the engine, those languages are used.

You posted something complicated for the sake of sounding complicated and so that noone will challenge you. Pretty pathetic.manningbowl135


It worked didn't it?...

Oh...and if you didn't get what I was trying to say...all that code is just showing that the Cell isn't easy to program for, so expect much better games in the future once devs know what they are doing..

------------------------------------------------

Avatar image for astiop
astiop

3582

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#2 astiop
Member since 2005 • 3582 Posts
I love it when people /thread their own threads... especialy on the first post :p
Avatar image for immortality20
immortality20

8546

Forum Posts

0

Wiki Points

0

Followers

Reviews: 36

User Lists: 0

#3 immortality20
Member since 2005 • 8546 Posts

I think your sig said best,

*YAWN*.

Avatar image for zero_snake99
zero_snake99

3478

Forum Posts

0

Wiki Points

0

Followers

Reviews: 1

User Lists: 0

#4 zero_snake99
Member since 2004 • 3478 Posts

I think your sig said best,

*YAWN*.

immortality20

I'm sorry it didn't interest you?

Avatar image for immortality20
immortality20

8546

Forum Posts

0

Wiki Points

0

Followers

Reviews: 36

User Lists: 0

#5 immortality20
Member since 2005 • 8546 Posts
[QUOTE="immortality20"]

I think your sig said best,

*YAWN*.

zero_snake99

I'm sorry it didn't interest you?

Apology accepted.

Avatar image for -Renegade
-Renegade

8340

Forum Posts

0

Wiki Points

0

Followers

Reviews: 7

User Lists: 0

#6 -Renegade
Member since 2007 • 8340 Posts
[QUOTE="immortality20"]

I think your sig said best,

*YAWN*.

zero_snake99

I'm sorry it didn't interest you?

dude nobody knows what your talking about your wasting your time.

Avatar image for -RPGamer-
-RPGamer-

34283

Forum Posts

0

Wiki Points

0

Followers

Reviews: 1

User Lists: 6

#7 -RPGamer-
Member since 2002 • 34283 Posts
I don't mind code, seeing as how I'm a developer myself, but in all honesty I don't think you're targeting the right audience on this forum for the content you're attempting to put out.
Avatar image for Corvin
Corvin

7266

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#8 Corvin
Member since 2002 • 7266 Posts
I don't get it what is this supposed to prove? And why didn't you just post it in the myth busters thread?
Avatar image for Forza_2
Forza_2

3083

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#9 Forza_2
Member since 2007 • 3083 Posts

I don't mind code, seeing as how I'm a developer myself, but in all honesty I don't think you're targeting the right audience on this forum for the content you're attempting to put out.-RPGamer-

How many games have you made ?

Just asking. (By the way)

Avatar image for rhaigun
rhaigun

3019

Forum Posts

0

Wiki Points

0

Followers

Reviews: 2

User Lists: 0

#10 rhaigun
Member since 2005 • 3019 Posts
[QUOTE="zero_snake99"][QUOTE="immortality20"]

I think your sig said best,

*YAWN*.

immortality20

I'm sorry it didn't interest you?

Apology accepted.

LOL! The hilarity of Immortality's responses is astounding.
Avatar image for -RPGamer-
-RPGamer-

34283

Forum Posts

0

Wiki Points

0

Followers

Reviews: 1

User Lists: 6

#11 -RPGamer-
Member since 2002 • 34283 Posts

[QUOTE="-RPGamer-"]I don't mind code, seeing as how I'm a developer myself, but in all honesty I don't think you're targeting the right audience on this forum for the content you're attempting to put out.Forza_2


How many games have you made ?

Just asking. (By the way)

Sorry, I guess around here I should be more clear. I've only developed one actual game with my company I created with three friends (albeit sadly we had to stop working on games, we just don't have the time with familes/careers/etc.). We may start again after we establish our lives (have children, build houses as examples).

However, I also develop for a large insurance company. And do side projects at home for my own personal gain and/or for familiy/friends.

Avatar image for zero_snake99
zero_snake99

3478

Forum Posts

0

Wiki Points

0

Followers

Reviews: 1

User Lists: 0

#12 zero_snake99
Member since 2004 • 3478 Posts
I don't mind code, seeing as how I'm a developer myself, but in all honesty I don't think you're targeting the right audience on this forum for the content you're attempting to put out.-RPGamer-


I can tell especially by the comments..I think its funny how they can't follow what a senior in high school is saying, especially since they like to criticise things they don't understand..
Avatar image for Medjai
Medjai

3839

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#13 Medjai
Member since 2003 • 3839 Posts
that code is C++ ... are you saying that a fib sequence has unlocked the cell ...I am not sure if I get the point
Avatar image for wolverine4262
wolverine4262

20832

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#14 wolverine4262
Member since 2004 • 20832 Posts
Okay... I think I understand this thread... So you want to upgrade yur Apple 2? Hmm, Maybe you should go to the hardware forum...
Avatar image for rhaigun
rhaigun

3019

Forum Posts

0

Wiki Points

0

Followers

Reviews: 2

User Lists: 0

#15 rhaigun
Member since 2005 • 3019 Posts
[QUOTE="-RPGamer-"]I don't mind code, seeing as how I'm a developer myself, but in all honesty I don't think you're targeting the right audience on this forum for the content you're attempting to put out.zero_snake99


I can tell especially by the comments..I think its funny how they can't follow what a senior in high school is saying, especially since they like to criticise things they don't understand..

You're a senior in high school who has a professor? Also, you have to imagine that not all schools have advanced programming. Even if most do now, they certainly didn't in 1998 when I graduated.It's also not a class I took in college. However, if you want to talk about Macro-economics, I'm right there.
Avatar image for -RPGamer-
-RPGamer-

34283

Forum Posts

0

Wiki Points

0

Followers

Reviews: 1

User Lists: 6

#16 -RPGamer-
Member since 2002 • 34283 Posts

[QUOTE="-RPGamer-"]I don't mind code, seeing as how I'm a developer myself, but in all honesty I don't think you're targeting the right audience on this forum for the content you're attempting to put out.zero_snake99


I can tell especially by the comments..I think its funny how they can't follow what a senior in high school is saying, especially since they like to criticise things they don't understand..

I don't think they lack comprehension of the subject matter, it's that not all have interest or have bothered to look into the content to any extent. It's like a black box concept. Some care what's in the black box, how it works and what it can do for you. Others just want to use it not caring about it's mechanics, or architecture.

The lower level you go the less likely some one will care, especially in programming where the output on such scales can be vastly different.

In my humble opinion it has little to do with age or intelligence, and more to do with content and interest.

Avatar image for Heil68
Heil68

60831

Forum Posts

0

Wiki Points

0

Followers

Reviews: 1

User Lists: 0

#17 Heil68
Member since 2004 • 60831 Posts
So what are you saying? The PS3 is more powerful? Why dont we see it in the games?
Avatar image for Medjai
Medjai

3839

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#18 Medjai
Member since 2003 • 3839 Posts
You're a senior in high school who has a professor? Also, you have to imagine that not all schools have advanced programming. Even if most do now, they certainly didn't in 1998 when I graduated.It's also not a class I took in college. However, if you want to talk about Macro-economics, I'm right there.rhaigun
he said future Prof. and it sucked going to highschool in the 90's didn't it :) ...I know kids now who took C++ in highschool...my computer lab in highschool was a joke
Avatar image for zeppelin6591
zeppelin6591

1332

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#19 zeppelin6591
Member since 2005 • 1332 Posts

crap no one cares aboutzero_snake99

tl;dr Keep in mind this is System Wars, not scientistcon 08.

Avatar image for Saturos3091
Saturos3091

14937

Forum Posts

0

Wiki Points

0

Followers

Reviews: 1

User Lists: 0

#20 Saturos3091
Member since 2005 • 14937 Posts
I'm going into my sophomore year of high school and I have basic knowledge of C++ but I can't really figure out what that code does. Could you make it a bit easier for the uneducated, maybe a little note at the bottom explaining? :)


Avatar image for Medjai
Medjai

3839

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#21 Medjai
Member since 2003 • 3839 Posts
btw most games are not written in C++ anymore...most people have gone to Managed C# but C++ is still used as well
Avatar image for rhaigun
rhaigun

3019

Forum Posts

0

Wiki Points

0

Followers

Reviews: 2

User Lists: 0

#22 rhaigun
Member since 2005 • 3019 Posts

[QUOTE="rhaigun"]You're a senior in high school who has a professor? Also, you have to imagine that not all schools have advanced programming. Even if most do now, they certainly didn't in 1998 when I graduated.It's also not a class I took in college. However, if you want to talk about Macro-economics, I'm right there.Medjai
he said future Prof. and it sucked going to highschool in the 90's didn't it :) ...I know kids now who took C++ in highschool...my computer lab in highschool was a joke

I guess I only caught what I wanted to see. :twisted:

And, yes, computer lab did suck in the '90's. I did get to play a lot of "Streets of Sim City" though. It was a better decade by and large though.

Avatar image for manningbowl135
manningbowl135

7457

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#23 manningbowl135
Member since 2006 • 7457 Posts
You posted something complicated for the sake of sounding complicated and so that noone will challenge you. Pretty pathetic.