• Lucid Dreaming - Dream Views




    Results 1 to 25 of 56

    Hybrid View

    1. #1
      Member Identity X's Avatar
      Join Date
      Mar 2004
      Gender
      Posts
      1,529
      Likes
      7
      Quote Originally Posted by ninja9578 View Post
      [good] assembly is always the fastest
      Yes, and the best assembly is written by GCC et al.

      I've done a course on compiler optimization and some of the techniques are astounding. Much of the code now generated by compilers is fantastic in its efficiency.
      Last edited by Identity X; 01-25-2008 at 07:54 PM.

    2. #2
      Your cat ate my baby Pyrofan1's Avatar
      Join Date
      Nov 2006
      Gender
      Posts
      720
      Likes
      3
      Assembly is one of the best languages you can learn. Even if you dont program in it, you learn more from assembly than any other language.
      i'm not bashing assembly, in fact it's my favorite language. i'm just saying it's not too useful today and if you want to get a programming job most companies won't ask you if you know assembly.

    3. #3
      Banned
      Join Date
      Jun 2006
      Posts
      547
      Likes
      0
      Well you shouldn't do something just so it looks good on your resume. Even if companies don't want it, hell, even if it's not useful at all, learning assembly will help you with in a lot of other aspects of computer science.

    4. #4
      I am become fish pear Abra's Avatar
      Join Date
      Mar 2007
      Location
      Doncha Know, Murka
      Posts
      3,816
      Likes
      542
      DJ Entries
      17
      As a follow-up, I'm now taking a course in Java, and what I've learned in C is helping. I like this stuff. Anyone know where to get me started on making shweet pixel graphics? Once we get to loops and what I like to call "getkey," I want to make me a simple game of some sort.
      Abraxas

      Quote Originally Posted by OldSparta
      I murdered someone, there was bloody everywhere. On the walls, on my hands. The air smelled metallic, like iron. My mouth... tasted metallic, like iron. The floor was metallic, probably iron

    5. #5
      Member Achievements:
      1 year registered Veteran First Class 5000 Hall Points

      Join Date
      Sep 2004
      Gender
      Location
      Seattle, WA
      Posts
      2,503
      Likes
      217
      SDL is a pretty easy way to go: http://libsdl.org

      Cross-platform, too!

    6. #6
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      I still recommend OpenGL, I know there is an API for Java. Pixel graphics means that you are directly manipulating the buffer instead of using OpenGL's primitives.

      Forget getkey, use a listener instead. GLUT has a listener built in called GlutKeyFunc(void keys())

      Again, OpenGL is best for C and other procedural oriented languages. For OOP most would use Allegro or DirectX. I've never used either, I've heard bad things about DirectX, but I've heard that Allegro was easy to use.

      EDIT: Oh, SDL uses OpenGL I guess it's a library for buffer manipulation?

    7. #7
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      SDL (Simple DirectMedia Layer) is an API container
      Very similar to what DirectX is

      DirectX is a container,
      comprising Microsoft's Direct3D, DirectDraw, DirectInput, DirectSound, Etc. Etc.

      SDL is the same, except you can switch & swap between different "inner API's"
      A program using SDL will use Direct3D when run on Windows, and OpenGL when run of *nix, for example

      Same program, same code
      translating to different API calls depending on platform
      (\_ _/)
      (='.'=)
      (")_(")

    Bookmarks

    Posting Permissions

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