View RSS Feed

Niteshifter

  1. Compiling compilers

    Recently, I've tasked myself with making a compiler. For those who are into programming, this is a whole new world to get into. I've found that compilers are a lot different to go through than applications or games. With a small application or game, it can be broken down into 3 steps: Events, Game mechanics, Render, rinse and repeat. Knowing this, everything from an iPhone app to a computer game is very easy break down what goes where.

    Compilers are a different story. You have a tokeniser, ...
    Categories
    Uncategorized
  2. My Adventures in Computer Architecture Part 3

    Last time, I had built the assembler and was on to making the Virtual Machine (VM) translator. What the VM Translator does is it creates a sort of middle tier in between the assembly and high-level languages. The reason for this is because there are many different kinds of processors which would have their own instruction sets and therefore, assembly languages. The usefulness of a VM language is that the high-level language can translate to the VM language and then the VM language goes to the assembly ...
    Categories
    Uncategorized
  3. A request/proposal to what Fortress should be

    I've always knew what Fortress was supposed to be: a communication tool between corps/squadrons, CSTCs, regions, etc. to replace the previous way of doing things which was by mail. However, only recently (about 3 weeks ago) the news came to me while idly talking to one of my officers that it was a complete clustered mess that wasn't made well at all. There were things that made me as a programmer and developer shudder.

    I heard of what Fortress was supposed to be like when it first ...
    Categories
    Uncategorized
  4. My Adventures in Computer Architecture Part 2

    After a long time, I've finally finished both the assembly language projects as well as the assembler itself, so now I can write the assembly language and it can translate it into the machine code.

    The book tells you that you are to use the programming language of your choice and so I chose C++ to do this. The way that the assembler works is it can be broken down into 3 different modules. The first one is the parsing module, the second is the code module and the final one is the symbol ...
    Categories
    Uncategorized
  5. My Adventures in Computer Architecture Part 1

    I recently got this book "Elements of Computing Systems" which pretty much tells you how a computer is built from the ground up. The book has been implemented in several Universities such as Stanford and has been named "From Nand Gates to Tetris in 12 Steps". The book is 12 Chapters long (actually 13, but the 13th one is more of a "where to go from here", so it doesn't count as much) and has a project at the end of each chapter.

    Chapter 1 tells about ...
    Categories
    Uncategorized
Page 1 of 3 1 2 3 LastLast