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 


FLAMEHAUS 08 -- Get your popcorn out!
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Overload
Master Cheater
Reputation: 0

Joined: 08 Feb 2008
Posts: 293

PostPosted: Sat Nov 29, 2008 1:14 pm    Post subject: Reply with quote

I do agree that ASM is faster and creates smaller programs. I know that as a fact. But that doesn't mean C is over rated. Many high-level languages now are derived from C. I'm not hating on any language here. Just proving that C is not over rated. ( I am a fan of ASM too and can program a little bit in it ).
_________________
Blog

Quote:
Rhys says:
you can be my maid
Rhys says:
ill buy you a french maid outfit
Tyler says:
Sounds good
Rhys says:
ill hold you to that
Back to top
View user's profile Send private message MSN Messenger
crayzbeef
Expert Cheater
Reputation: 0

Joined: 21 Jan 2007
Posts: 101

PostPosted: Sat Nov 29, 2008 2:00 pm    Post subject: Reply with quote

Overload wrote:
I do agree that ASM is faster and creates smaller programs. I know that as a fact. But that doesn't mean C is over rated. Many high-level languages now are derived from C. I'm not hating on any language here. Just proving that C is not over rated. ( I am a fan of ASM too and can program a little bit in it ).


Thought so.
Back to top
View user's profile Send private message
&Vage
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Jul 2008
Posts: 1053

PostPosted: Sat Nov 29, 2008 2:18 pm    Post subject: Reply with quote

You're a complete total retard. C is converted to native code. So therefore anything C related languages can do, ASM can do better and faster and efficient.

You say speed isn't important? Make a big app and compare the load up time and run time and clock speed. Fucking idiot.
Back to top
View user's profile Send private message
zDaniel365z
Cheater
Reputation: 0

Joined: 20 Sep 2007
Posts: 43

PostPosted: Sat Nov 29, 2008 2:26 pm    Post subject: Reply with quote

crazybeef ... do you know asm?
_________________


Failure. When your best just isn't good enough.
Cannibalism.When milk and cookies just aren't enough.
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat Nov 29, 2008 2:43 pm    Post subject: Reply with quote

crayzbeef wrote:
using ASM for a main language is just retarded, Other languages can do the same shit at just the same speed if you code it right and the end product is way less time. Rolling Eyes


SSE would like a word with you.
Back to top
View user's profile Send private message
tombana
Master Cheater
Reputation: 2

Joined: 14 Jun 2007
Posts: 456
Location: The Netherlands

PostPosted: Sat Nov 29, 2008 3:10 pm    Post subject: Reply with quote

I've made some programs completely in MASM, but then I started C++, and I noticed that it generated more optimized code than the code I made in MASM. I don't know about C, but C++ creates really fast code. The only downside is that the total size of an executable is a lot bigger in C++.

About SSE, are there any C or C++ compilers that generate code optimized with SSE instructions?
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat Nov 29, 2008 4:16 pm    Post subject: Reply with quote

tombana wrote:
I've made some programs completely in MASM, but then I started C++, and I noticed that it generated more optimized code than the code I made in MASM. I don't know about C, but C++ creates really fast code. The only downside is that the total size of an executable is a lot bigger in C++.

About SSE, are there any C or C++ compilers that generate code optimized with SSE instructions?


The Microsoft compiler will generate code for it, but it doesn't do any of the vectorization. The Intel one attempts to do that, but I'm not sure on how well it does.

The big exe is from the C run time. You don't have to use it, but you'll have to handle some things yourself, like creating the entry point.

A compiler will still never beat savagely hand optimized code, though.
Back to top
View user's profile Send private message
crayzbeef
Expert Cheater
Reputation: 0

Joined: 21 Jan 2007
Posts: 101

PostPosted: Sat Nov 29, 2008 4:35 pm    Post subject: Reply with quote

_void_ wrote:
You're a complete total retard. C is converted to native code. So therefore anything C related languages can do, ASM can do better and faster and efficient.

You say speed isn't important? Make a big app and compare the load up time and run time and clock speed. Fucking idiot.


The question is, can YOU do what i said above in ASM? i don't think so.
So you're saying you would rather make a, lets use as an example, Instant messenger, You would rather make it in ASM? I don't think so. Most programs today are made with C++, the industry standard, it's that way for a reason. Just because ASM makes your little maplestory hacks better and faster doesn't mean its a better language for every type of app.
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat Nov 29, 2008 6:14 pm    Post subject: Reply with quote

Anywhere speed is needed, you'll find ASM.

Raytracers, emulators, game engines, professional applications like CAD, Maya, etc.

Not only speed, but there are times when one will need to do some low level shit.

It's the language of the CPU, it's not going anywhere.
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sat Nov 29, 2008 6:28 pm    Post subject: Reply with quote

use MMX and compare your compiler-generated code to our hand-written and see what you have to say then..
Back to top
View user's profile Send private message
zDaniel365z
Cheater
Reputation: 0

Joined: 20 Sep 2007
Posts: 43

PostPosted: Sat Nov 29, 2008 6:29 pm    Post subject: Reply with quote

eh... crazybeef didnt answer my question... so he prolly doesnt know asm =O

dude just because you cant learn/understand asm doesnt mean its retarded/stupid/useless.... it actaully means vise versa you're retarded/stupid

>.> tempting to deny that?

_________________


Failure. When your best just isn't good enough.
Cannibalism.When milk and cookies just aren't enough.
Back to top
View user's profile Send private message
crayzbeef
Expert Cheater
Reputation: 0

Joined: 21 Jan 2007
Posts: 101

PostPosted: Sat Nov 29, 2008 6:35 pm    Post subject: Reply with quote

Even if ASM is faster, that doesn't mean you should write everything in ASM. The average application will not see any benefit out of things running 1% faster, and the productivity loss you take by doing everything in ASM will greatly outdo the performance increase, especially since if you write something in C++ you could take that extra time to profile your application, and rewrite the slowest parts using inline assembly.

Fucking a, pull your head out of ASM's ass and stop thinking its the best language to use in every situation
And slugsnack just shut up, you're an idiot.
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sat Nov 29, 2008 6:38 pm    Post subject: Reply with quote

stop changing your argument now. nobody said asm is the best in every situation or is the best language to use to solve every problem, only that it produces the fastest code. you were the idiot that attempted to argue otherwise.
Back to top
View user's profile Send private message
zDaniel365z
Cheater
Reputation: 0

Joined: 20 Sep 2007
Posts: 43

PostPosted: Sat Nov 29, 2008 6:41 pm    Post subject: Reply with quote

"Even if ASM is faster" <- that should be enough to show he doesnt know asm..... >.> so leave him alone..... or link him to some sites so he can learn
_________________


Failure. When your best just isn't good enough.
Cannibalism.When milk and cookies just aren't enough.
Back to top
View user's profile Send private message
crayzbeef
Expert Cheater
Reputation: 0

Joined: 21 Jan 2007
Posts: 101

PostPosted: Sat Nov 29, 2008 6:43 pm    Post subject: Reply with quote

zDaniel365z wrote:
"Even if ASM is faster" <- that should be enough to show he doesnt know asm..... >.> so leave him alone..... or link him to some sites so he can learn


Um.. You shouldn't be sticking your nose in topics you know nothing about. Please leave.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
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