Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Limitations of the various programming languages?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
dennis91
Expert Cheater
Reputation: 0

Joined: 23 Jun 2006
Posts: 230
Location: ----------latitude 1o 18' N longitude 103o 50'

PostPosted: Mon Jun 25, 2007 1:43 am    Post subject: Limitations of the various programming languages? Reply with quote

While seeing people compare VB / C# / C++ / Delphi / Java, some mentioned that some of these programming languages were more limited than others.

They did not bother to elaborate. Just what are the limitations of VB / C# / C++ / Delphi / Java?

I thought that the only limiting factor is how proficient the user is in the language, rather than the language itself.

Is it true that certain programming languages lack the abilities of others? Or will we eventually be able to achieve as much regardless of what language we learn, as long as we learn them well.

If they do have limitations, can anyone provide examples of such limitations of the various programming languages?

_________________
The one user I hate the most:
Concoction

I am in love with:
********, would she say Ido?


Last edited by dennis91 on Wed Jun 27, 2007 1:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
goldengold
Grandmaster Cheater Supreme
Reputation: -1

Joined: 11 Nov 2006
Posts: 1841
Location: -.-

PostPosted: Mon Jun 25, 2007 11:38 pm    Post subject: Reply with quote

Yes it be very helpful if someone could post this so it would be easier for someone to choose their laguage
_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Sean1337
Master Cheater
Reputation: 0

Joined: 04 May 2007
Posts: 478

PostPosted: Mon Jun 25, 2007 11:46 pm    Post subject: Reply with quote

- Java is slow, mainly used to make games and webpages.
- C# is basically one step up from java, if your extremely fluent in java, it should take you an hour to get the basics of c#
- c++ is one step up from c#
- c is basically one of the original languages, not too sure if its similar to c# or c++
- delphi I have no clue about
- visual basic is just a noob friendly language, it's very close to english in terms of how the code is written, I believe its slower than c++ and not as powerful. It is really easy to learn.

c++, c# and java are all object oriented languages, id say the speed of each languages increases from java --> c# --> c++

Don't really know much about c or delphi.
Back to top
View user's profile Send private message
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Tue Jun 26, 2007 12:31 am    Post subject: Reply with quote

Delphi == Pascal == Win.

Easy, not limited.
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Tue Jun 26, 2007 12:36 am    Post subject: Reply with quote

Visual Basic was made so people with no real experience could quickly pick it up and start throwing up applications.

C# was the attempt at being the "Java killer".
Back to top
View user's profile Send private message
dennis91
Expert Cheater
Reputation: 0

Joined: 23 Jun 2006
Posts: 230
Location: ----------latitude 1o 18' N longitude 103o 50'

PostPosted: Tue Jun 26, 2007 1:04 am    Post subject: Reply with quote

No guys, no.

The speed at which you can program with a language, is not a limitation. So what if you are slow, eventually you get things done still.

It doesn't limit how far you can go with the language, the type of programs etc you can make with it.

Since, the so called 'limitation' is actually just the nature of the language, I presume that the various languages have no limitation, in the sense that all of them can program the same things and that none can do what another can't do?

_________________
The one user I hate the most:
Concoction

I am in love with:
********, would she say Ido?
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Tue Jun 26, 2007 1:14 am    Post subject: Reply with quote

dennis91 wrote:
The speed at which you can program with a language, is not a limitation. So what if you are slow, eventually you get things done still.


Not programming speed, EXECUTION speed. printing 1000 messages would take 2-3 seconds in C, and maybe 5 minutes if you're lucky in java.

dennis91 wrote:
I presume that the various languages have no limitation, in the sense that all of them can program the same things and that none can do what another can't do?


no
Back to top
View user's profile Send private message
dennis91
Expert Cheater
Reputation: 0

Joined: 23 Jun 2006
Posts: 230
Location: ----------latitude 1o 18' N longitude 103o 50'

PostPosted: Tue Jun 26, 2007 1:23 am    Post subject: Reply with quote

appalsap wrote:
dennis91 wrote:
The speed at which you can program with a language, is not a limitation. So what if you are slow, eventually you get things done still.


Not programming speed, EXECUTION speed. printing 1000 messages would take 2-3 seconds in C, and maybe 5 minutes if you're lucky in java.

dennis91 wrote:
I presume that the various languages have no limitation, in the sense that all of them can program the same things and that none can do what another can't do?


no


An example of such limitation, besides execution speeds would be?

_________________
The one user I hate the most:
Concoction

I am in love with:
********, would she say Ido?
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Tue Jun 26, 2007 2:00 am    Post subject: Reply with quote

dennis91 wrote:
The speed at which you can program with a language, is not a limitation. So what if you are slow, eventually you get things done still.


Sadly thats not how it works in a business environment, but if you on the other hand have all the time in the world, just learn C/C++. Inline ASM is always there when you need it.
Back to top
View user's profile Send private message
DeltaFlyer
Grandmaster Cheater
Reputation: 0

Joined: 22 Jul 2006
Posts: 666

PostPosted: Tue Jun 26, 2007 8:33 am    Post subject: Reply with quote

appalsap wrote:
Not programming speed, EXECUTION speed. printing 1000 messages would take 2-3 seconds in C, and maybe 5 minutes if you're lucky in java.


That's exaggerated way too much. For small programs, the slowness of Java is barely noticeable. Printing 1000 lines to the standard out with a simple for-loop would depend more on the speed of your console window rather than the speed of the language.

Also, here's something funny:

Compiled with GCC:
Code:

#include<stdio.h>

double fact (int n){
   double buff=1;
   for (; n > 1; n--){
      buff *= n;
   }
   return buff;
}

int main(){
   int i;
   double j;
   for (i = 0; i < 5000; i++){
      j = i * i - 12315.66 / (i+3)-fact(i);
      printf ("%f\n",j);
   }   

   return 0;
}


Compiled with JDK 6:
Code:

public class Main{

   public static void main (String [] args){
      double j;
      for (int i = 0; i < 5000; i++){
         j = i * i - 12315.66 / (i+3)-fact(i);
         System.out.println (j);
      }
   }

   public static double fact (int n){
      double buff=1;
      for (; n > 1; n--){
         buff *= n;
      }
      return buff;
   }
}


The Java code finished executing faster. Maybe it's the printf...

_________________

Wow.... still working at 827... what's INCA thinking?
zomg l33t hax at this place (IE only). Over 150 people have used it, what are YOU waiting for?
Back to top
View user's profile Send private message
Robin4286
Newbie cheater
Reputation: 0

Joined: 16 Jun 2007
Posts: 19

PostPosted: Tue Jun 26, 2007 2:25 pm    Post subject: Reply with quote

Java is a great language, and everyone exaggerates how slow it is.

Yeah, its still pretty slow in many cases, and it can't directly use pointers, but its general all purposeness is a plus.




Pros of languages:

Java: can be used in many situations, can be used to easily write programs that execute in browsers(applets), can run on cell phones, all computers, large amounts of documentation on the subject, new APIs constantly being released (I know the most about java needless to say), Learn java well and you basically know c# as well. Object Oriented. Java recently has become open source, so it can be more easily tailored to peoples specific needs.

C#: Mimics java’s all purpose ness by running on anything Microsoft. It can be used to program xbox-360s, and can be used to easily edit most of Microsoft’s standard programs (i.e. messenger). Faster than java, able to access pointers more directly, fair amount of documentation, newer, supports Microsoft’s .net framework. Learn C# well and you basically know java. Object oriented.

C++: One of the most commonly used languages in programs today. Faster than c#, and is one of the fastest languages around. Direct access to pointers, now supports .net framework, very active community, tons of documentation, while knowing it well may not basically teach you java or c#, almost all modern day languages are based off of it. Object oriented. Inline ASM gives it zero limitations, if you know ASM.


*not that speed is not the only factor in languages, and it is not so big a difference between them as everyone seems to think.

cons:

Java: a bit slow. It does not have much compatibility with any of Microsoft’s languages or programs. No direct access to pointers. No Activex integration. Bad for hacking due to lack of integration with Microsoft’s programs, and its lack of direct access to pointers.

C#: Cannot be run on all machines the way java does, slower than c++. Essentially Microsoft’s clone of java, as can be seen just by comparing two codes. Most recent language, meaning it is the least likely to just be dropped or outdated as so many languages are.

C++: Very little safety measures(though for some this could be put in as a pro) can not be run on all machines like java, most complicated/hardest to learn of these 3 languages(IMHO of course)


Last edited by Robin4286 on Tue Jun 26, 2007 2:42 pm; edited 4 times in total
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Tue Jun 26, 2007 2:36 pm    Post subject: Reply with quote

Robin4286 wrote:
Delphi: I know little about this language. It is used in RAD, and is slower than c++.


not slower than c++, in some cases faster.

Robin4286 wrote:
It does not support .net framework.


that's a big fat lie, it is the first language not developed by microsoft to support the .net framework.

Robin4286 wrote:
no installation required,


if by "no" you mean "lots", I agree

Robin4286 wrote:
large amounts of documentation on the subject,


not unique to java


Robin4286 wrote:
Delphi and VB: I do not know very much about these languages (Delphi in particular).


So don't talk about them, just give us your java propoganda because that's all you're good for.

Robin4286 wrote:
I do know that VB is slow, possible slower than Java. They are not object oriented.


VB is faster than java, and VB is fully object oriented. If you don't mean VB.NET and you mean VB1998 it still does have (albeit incomplete)object oriented support. Delphi is fully object oriented.
Back to top
View user's profile Send private message
Robin4286
Newbie cheater
Reputation: 0

Joined: 16 Jun 2007
Posts: 19

PostPosted: Tue Jun 26, 2007 2:42 pm    Post subject: Reply with quote

appalsap wrote:

So don't talk about them, just give us your java propoganda because that's all you're good for.


Please calm down, I was trying to be complete in my post.

The reason I talk so much about java is that I find it to be a very underestimated language.

I Fixed most of the errors, and will fix the other ones now (I was in the middle of researching and was editing my post as I found out more information)

Sorry about that


Edit: also you said Java has lots of installation. What I meant by the no installation required is that JAR files are standalone and need not be installed to run.

Edit2: Did some research: java and VB are roughly equivalent in speed, which is somewhere around 10-40 percent slower than c++


Last edited by Robin4286 on Tue Jun 26, 2007 3:07 pm; edited 2 times in total
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Tue Jun 26, 2007 2:56 pm    Post subject: Reply with quote

"installed" means what? a typical program installation is moving files to the %programfiles% directory and perhaps writing a few registry keys.
Back to top
View user's profile Send private message
Sean1337
Master Cheater
Reputation: 0

Joined: 04 May 2007
Posts: 478

PostPosted: Tue Jun 26, 2007 4:12 pm    Post subject: Reply with quote

I guess I could add as well that I have not found a way to apply java to game hacking at all.

I don't think you can attach java programs to other programs and consequently I don't think you can modify other programs with java programs.

I know java mostly for it's game making capability and it's use in web browsers.

I took java in gr. 10 and gr. 11 and learned quite a bit about it. It is an objected oriented language much like c#, c++, and visual basic.

It does have lots of documentation on the sun website and is nice for making games and what not.

However, it is slower in terms of executive of "BIG" programs compared to c#.

java and c# are basically brothers, know either one and you can know the other without much effort.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites