Search found 4 matches

by DJohn
Tue Mar 31, 2009 4:49 pm
Forum: PS3 Development
Topic: What Programming Language? C or C++?
Replies: 21
Views: 75904

Does C have function and operator overloading yet? They're the only C++ features I'd really miss. Adding a single level of indirection on function calls, like when calling class functions adds no overhead at all on modern systems, especially not on PPC because it provides opcodes that have the same ...
by DJohn
Wed Mar 18, 2009 4:54 pm
Forum: PS3 Development
Topic: using STL with the SPE's
Replies: 11
Views: 8409

I forgot to add: there is a place for STL and virtual functions and other high level concepts. Programs can usually be split into two parts. One is complex and executed infrequently. In games, that will be camera control, sophisticated AI on a very small number of the most important opponents, and t...
by DJohn
Wed Mar 18, 2009 8:54 am
Forum: PS3 Development
Topic: using STL with the SPE's
Replies: 11
Views: 8409

There's also the memory model. SPU is built for streaming. STL is not. SPU deals with data that might appear at different memory addresses on different processors. STL doesn't even pretend it can cope with that. STLs usually give you a decent implementation of that particular interface, but if you c...
by DJohn
Tue Apr 15, 2008 4:54 am
Forum: PS3 Development
Topic: Who wants 252MB more RAM for PS3 homebrew.
Replies: 70
Views: 67861

I still don't understand. If the CPU writes directly to video ram through a pointer, it's 10MB/sec. The hardware is probably implementing your write as 1) Read 128 bytes 2) Change one word 3) Write 128 bytes The read will take you down to MB/s. Is video memory cached? The cache will behave like thi...