CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    Join Date
    Jul 2002
    Location
    Portsmouth. United Kingdom
    Posts
    2,727

    Re: Assembly code nowadays

    Quote Originally Posted by Lars(NL)
    There are two main reasons that I prefer ASM over any high level language.
    1) The lack of any form of "safe programming" conventions or any other conventions for that matter.
    In ASM you can create just what you want and the assembler does nothing but do what is possible to realize wish in which it is limited only by the Intel Architecture.
    ASM doesn't care if you use a pointer to directly access a buffer used internally in ntdll.dll if you know it's there or read data from your PEB.

    2) The freedom in use of datatypes.
    There are tons of datatypes in C++ which are in essence identical, yet distinguished between merely for the sake of preserving conventional programming.
    Interestingly it's for the same reasons that I was glad to start using a high level language after several years of writing in assembler.

  2. #17
    Join Date
    Oct 2006
    Posts
    55

    Re: Assembly code nowadays

    Quote Originally Posted by JohnW@Wessex
    Interestingly it's for the same reasons that I was glad to start using a high level language after several years of writing in assembler.
    Forgive me for saying but that really is bs.
    There is no way you could swap those two reasons over, stating that they are precisely the advantages of a HL language over assembler.

    It is not C++, not C# and not VB where you can treat everything as a byte, word or dword.

  3. #18
    Join Date
    Jul 2002
    Location
    Portsmouth. United Kingdom
    Posts
    2,727

    Re: Assembly code nowadays

    You're saying that type safety and high level constructs etc. can give the programmer no advantages over assembler when creating an application!!!

    Quote Originally Posted by Lars(NL)
    It is not C++, not C# and not VB where you can treat everything as a byte, word or dword.
    Exactly! I don't want to have to treat everything as a byte, word or dword, and I'm glad I don't have to anymore!

    It's a shame to think that the last few decades of high level language developement have been such a waste of time!
    Last edited by JohnW@Wessex; January 25th, 2007 at 12:14 PM.

  4. #19
    Join Date
    Nov 2004
    Posts
    34

    Re: Assembly code nowadays

    One of the attractions of HLA is that it allows for flexible data representation: types, records and classes. MASM also has built in support for structures.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured