Dolphin, the GameCube and Wii emulator - Forums

Full Version: Testers needed for refactoring of texture decode/upload code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
Mr James? You still around? Any progress? Anything new to test?
I think James is dead Sad(((((
Or ... maybe he is too busy in this new feature Tongue
I hope ... Sleepy
(01-31-2011, 07:55 AM)IceD_X Wrote: [ -> ]Or ... maybe he is too busy in this new feature Tongue
I hope ... Sleepy
Neither Big Grin. I think this branch is dead though. The effort I'd put in to make the decoders happy around the non-aligned edge cases would not be worth the little benefit it may or may not bring. That, and it would significantly increase the maintenance burden of the texture decoding code, which is just not worth it.

The way the texture loading works now is actually fairly optimal, despite how clumsy it may seem. There is the minor issue that CreateTexture2D loads the texture data when it never has to since ReplaceTexture2D will always be called after that. That can and will be easily fixed.

Unfortunately, there's not much else in Dolphin that I understand enough how it works in order for me to work on. This is made worse by the fact that virtually nothing is documented by those that do know how it works, let alone what it even does, or better yet what could replace it in a better way.

Furthermore, developing in C++ now, as I have not done so for several years, makes me want to tear my hair out and invent a better language. Just debugging even the simplest of issues is a nightmare in this God-forsaken language and it is not worth the time spent.
Quote:Furthermore, developing in C++ now, as I have not done so for several years, makes me want to tear my hair out and invent a better language. Just debugging even the simplest of issues is a nightmare in this God-forsaken language and it is not worth the time spent.

BUT IT'S FAST! C++ > java/C#

Anyways you could always just hang around.
(01-31-2011, 09:26 AM)NaturalViolence Wrote: [ -> ]
Quote:Furthermore, developing in C++ now, as I have not done so for several years, makes me want to tear my hair out and invent a better language. Just debugging even the simplest of issues is a nightmare in this God-forsaken language and it is not worth the time spent.

BUT IT'S FAST! C++ > java/C#

Anyways you could always just hang around.

Rockets are faster than cars, but you don't see people strapped to rockets all that often now do you? Wonder why that is... Oh yeah, safety! Tongue

Unfortunately, such an analogy does not translate 1:1 to coding (as much as I believe it should). Coding in a language because it lets you believe you're writing fast code and only fast code is just wrong. Providing safety guarantees (memory safety being the biggest one) from the language allows the compiler to optimize the code to run faster than you could manually optimize it, especially in the more complex cases. Of course, once you have manually optimized code you now have virtually unmaintainable code which is very hard to understand and almost always poorly documented if documented at all.

C++ is not superior to C# or Java, and neither is the converse true. They are just simply different languages. However, I will say that C# is technically superior to Java because they are attempting to solve the same problems and C# (the language) just does it better than Java (the language).

I have many more thoughts on the matter, but I'll restrain myself today. Smile
Quote:I have many more thoughts on the matter, but I'll restrain myself today.
[Image: images?q=tbn:ANd9GcTV3WGtv-U5Kv4IfYbKKB6...HNYz8w&t=1]
(02-01-2011, 05:05 AM)NaturalViolence Wrote: [ -> ]
Quote:I have many more thoughts on the matter, but I'll restrain myself today.
[Image: images?q=tbn:ANd9GcTV3WGtv-U5Kv4IfYbKKB6...HNYz8w&t=1]

Well "said," sir Smile lol
As a complete noob programmer at least I can agree here, I started with some c++ and I never really got past the "insert your name here and answer my questions" type of cmd programs, I think the most advanced I made was a program that moved the mouse over the screen in a swastika pattern (to be used in paint). I know c++ is where the real programming is to be learned, but once i started in actionscript i haven't looked back since i can actually make games and neat stuff (with my very little knowledge). But oboi when I wrote something in AC to do convergent series, I wanted to calculate me some pi, but just 1000000 fractions in the Leibniz formula took like 20 seconds...Tongue
(Don't worry there's a much better algoritm I found later)
I did actionscript in highschool (and visualbasic). And although making games was cool it's not really good for making general purpose applications. I prefer C++ over them but then again I haven't tried java or C# yet to I might end up liking them better. I only have one friend who's a programmer and he LOVES C#. He talks about like it's the greatest thing since sliced bread, so I suppose I should try it at some point.
Pages: 1 2 3 4 5 6 7