Witchie NL Posted September 20, 2006 Report Posted September 20, 2006 i hate i couldnt couse C++ as 1 of my classes yet. Got java now. And at the end of this year i have to be able to build online games. But i doubt if thats good to do in java. (Coz java sucks and its sloowwwww).
»doc flabby Posted September 20, 2006 Report Posted September 20, 2006 Ok sure, if you go through the imence amount of work thats involved in byp!@#$%^&*ing the VB6 runtime modules and using the win32 api directly from VB6 its not much work adding a api function requires a line like this. which you can get the ide to produce for you (worryingly )Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer You can write a keylogger in about 5 or 6 lines in VB6 VB6 is just plain horrid no matter how you look at it, the runtime library is terrible,timers dont always work, the built in string functions are horribly inefficient. Array access functions are sickening, Yes the timer control is horrible , but its horrible in most languages why would anyone use it. You can acctually use regex in VB6. I dont think there are any missing string functions. Arrays are horrible agree with you there. VB7 is a little better but not by much.VB7 is C# with a much more verbose syntax. They both use the same compiler. Visual Basic's last real version was vb6 it offically died then The problem isnt the language itself but the runtime library microsoft wrote to be used with it. Infact the problem is almost entirly microsoft Also another serious stab for VB is that its 100% unportableCant argue with you there
Drake7707 Posted September 20, 2006 Author Report Posted September 20, 2006 i like vb6 for its simplicity. In c++ it can get just a tad bit too complex for me, if i write a program i memorize every link between, and structure of the entire program, with c++ i can't do that so easily without writing it down on paper And vb6's Variant is quite useful too. I mean, it gets abused waay too often, making the program more unstable and slower, but what if you have a method where you p!@#$%^&* a parameter, but you don't know the parameter before hand what type it is. Like i'm reusing the same parameter for different meanings, depending on the context of another passed variable (the downside is that it takes 16bytes but it gets a lot less complex, instead of overloading the same method ... 4 or 5 times)
»D1st0rt Posted September 21, 2006 Report Posted September 21, 2006 (Coz java sucks and its sloowwwww).Code quality is more important than language from a performance standpoint. You can write something well in Java that blows past something written poorly in asm.
Witchie NL Posted September 21, 2006 Report Posted September 21, 2006 true. but if you want to build some large applications id prefer C++ above java coz java would only be slow.
»Admiral Kirk Posted September 21, 2006 Report Posted September 21, 2006 The timers in C++ (win32 api timers) are perfectly accurate down to 10ms, below that its OS dependent and not garunteed. But thats a hole crapload more than I can say for VB Not to mention if you want better resolution you can always jump to using multimedia timers which are accurate down to .01ms i believe. 100us right? something like that. And i didnt mean the string functions were incomplete, i just ment they were slower than horse manuer and as for vb7 ya, i didnt realy take that close a look at it but MS seams to be ripping off Java left and right for pretty much all its new coding languages. !@#$%^&* it certainly didnt invent C++ just wrote its own version of it. Im waiting to see how D comes out, but for now C++ is my language of choice And drake, if your having a problem keeping your entire program in your head at once its your design not the language. I work the same way as you, i keep the ENTIRE structure of any of my programs in my head all at once when im working on it. The secret is to efficiently use classes, modulerisation and object orientation. In a properly object orientated code base its very easy to keep the entire design flow in your head for the most part. But !@#$%^&*... why _arnt_ you writing down your program flows? Does do!@#$%^&*entation not mean anything to you?
»D1st0rt Posted September 22, 2006 Report Posted September 22, 2006 coz java would only be slow.Were you paying attention at all? Java does not automatically equal "slow".
Witchie NL Posted September 22, 2006 Report Posted September 22, 2006 i know. but if you write large program's in it, it would be slow.
»doc flabby Posted September 22, 2006 Report Posted September 22, 2006 java isnt slow it just "feels" slow. Open office (big java app thats well optimised) feels much slower at times than ms office and other office suits. The reason why java seems slow is when using a gui java tends to lag. java i think works fine and exceedinly well for apps that dont have a gui. But on slower computers (ie less than 2ghz) the ui definattly has a lag to it in many java apps, that makes it "feel" slow. I hate using java apps because of this lag. c++, dephi/lazerus apps or even vb6 apps gui are 100 times smoother and more responsive.
Drake7707 Posted September 22, 2006 Author Report Posted September 22, 2006 java isn't slow. I wrote a ray tracer in it, and the computations speed and drawing is a lot faster than vb.But it has to load the java virtual machine into the memory first, and java is waaaaaay too easy to decompile. VB/Delphi are all high level languages that are designed to be easily interactive with users. It's only natural they optimise for gui rather than computation speed and kirk, i hate writing do!@#$%^&*entation , it takes about the same amount of time to do!@#$%^&*ent a program as to write it, while if you write it, you can see it working, with do!@#$%^&*entation you're standing still in its progress. I hate not moving forward
Witchie NL Posted September 23, 2006 Report Posted September 23, 2006 with do!@#$%^&*entation you're standing still in its progress. I hate not moving forward Indeed. I hate it aswell.
»SOS Posted September 24, 2006 Report Posted September 24, 2006 I'm just dropping in to say that is very stupid
»D1st0rt Posted September 24, 2006 Report Posted September 24, 2006 Do!@#$%^&*entation is only important if you want someone who is not your current self to be able to understand what is going on.
Drake7707 Posted September 24, 2006 Author Report Posted September 24, 2006 or if you want to understand it later what you did if it's been a few months. I didn't say it wasn't stupid, i just hate doing it
»D1st0rt Posted September 25, 2006 Report Posted September 25, 2006 Yourself in a few months is not your current self
Recommended Posts