Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. 65K Lines of Code

65K Lines of Code

Scheduled Pinned Locked Moved The Weird and The Wonderful
11 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    ch3ckmat3
    wrote on last edited by
    #1

    I remember in around 1993 I was on an assembly language final project when I wrote around 65 thousand lines of code to replicate a text editor of Norton Commander. I successfully copied 98% of the functionality and 100% of the look and feel that NC Editor offered... and yes I got full marks on my project ;P The coding horror part: I didn't know the "jump far" instruction :| yes! imaging that! and I had to jump through a chain of labels to go far in my code! It was only when my brilliant professor[^] told me in the final presentation and viva, that I could have used the "jump far" instruction to tidy up the code. I had backup of the code on a 3.5" floppy which i don't know where i lost in time, but i still have a print out of the code in the Project Report file. Good ol' days! :-D Sohail Iqbal

    A C S 3 Replies Last reply
    0
    • C ch3ckmat3

      I remember in around 1993 I was on an assembly language final project when I wrote around 65 thousand lines of code to replicate a text editor of Norton Commander. I successfully copied 98% of the functionality and 100% of the look and feel that NC Editor offered... and yes I got full marks on my project ;P The coding horror part: I didn't know the "jump far" instruction :| yes! imaging that! and I had to jump through a chain of labels to go far in my code! It was only when my brilliant professor[^] told me in the final presentation and viva, that I could have used the "jump far" instruction to tidy up the code. I had backup of the code on a 3.5" floppy which i don't know where i lost in time, but i still have a print out of the code in the Project Report file. Good ol' days! :-D Sohail Iqbal

      A Offline
      A Offline
      AspDotNetDev
      wrote on last edited by
      #2

      I was a little frightened to open this message... I thought it might contain 65K lines of code. :)

      [Forum Guidelines]

      C 1 Reply Last reply
      0
      • A AspDotNetDev

        I was a little frightened to open this message... I thought it might contain 65K lines of code. :)

        [Forum Guidelines]

        C Offline
        C Offline
        ch3ckmat3
        wrote on last edited by
        #3

        LOLz :-D

        1 Reply Last reply
        0
        • C ch3ckmat3

          I remember in around 1993 I was on an assembly language final project when I wrote around 65 thousand lines of code to replicate a text editor of Norton Commander. I successfully copied 98% of the functionality and 100% of the look and feel that NC Editor offered... and yes I got full marks on my project ;P The coding horror part: I didn't know the "jump far" instruction :| yes! imaging that! and I had to jump through a chain of labels to go far in my code! It was only when my brilliant professor[^] told me in the final presentation and viva, that I could have used the "jump far" instruction to tidy up the code. I had backup of the code on a 3.5" floppy which i don't know where i lost in time, but i still have a print out of the code in the Project Report file. Good ol' days! :-D Sohail Iqbal

          C Offline
          C Offline
          ChandanPatra
          wrote on last edited by
          #4

          I am very much new to this forum, Just wanted to salute you for the fact that U had managed to learn Assembly. I know C, but assembly was never my cup of tea. Maybe I didn't try it that much. Now-a-days, companies usually look for only high level language programmers. I work on Vb6, but .NET is almost everywhere. There's no end to learning. Hope u are into system programming. Would like to hear more from you in order to learn. Thanks.

          C 1 Reply Last reply
          0
          • C ch3ckmat3

            I remember in around 1993 I was on an assembly language final project when I wrote around 65 thousand lines of code to replicate a text editor of Norton Commander. I successfully copied 98% of the functionality and 100% of the look and feel that NC Editor offered... and yes I got full marks on my project ;P The coding horror part: I didn't know the "jump far" instruction :| yes! imaging that! and I had to jump through a chain of labels to go far in my code! It was only when my brilliant professor[^] told me in the final presentation and viva, that I could have used the "jump far" instruction to tidy up the code. I had backup of the code on a 3.5" floppy which i don't know where i lost in time, but i still have a print out of the code in the Project Report file. Good ol' days! :-D Sohail Iqbal

            S Offline
            S Offline
            supercat9
            wrote on last edited by
            #5

            What processor were you using that had a "jump far" instruction whose effect could be simulated with many shorter jumps? Were you using a 68000 and with the "bra" instruction rather than "jmp"? The "near jmp" instruction on the 8088 can't go between segments; were you using something else? BTW, I have done some creative code-rearranging on some cycle-critical stuff for processors where conditional branches were limited to +/-127 instructions and I couldn't afford excessive jmp's. From a design standpoint, a horror, but it made things work which would otherwise take too long.

            C 1 Reply Last reply
            0
            • C ChandanPatra

              I am very much new to this forum, Just wanted to salute you for the fact that U had managed to learn Assembly. I know C, but assembly was never my cup of tea. Maybe I didn't try it that much. Now-a-days, companies usually look for only high level language programmers. I work on Vb6, but .NET is almost everywhere. There's no end to learning. Hope u are into system programming. Would like to hear more from you in order to learn. Thanks.

              C Offline
              C Offline
              ch3ckmat3
              wrote on last edited by
              #6

              Thank you ChandanPatra, much appreciated :) Well i am a software architect now, (and yes, still happily coding) and this was some 16-17 years ago. I have been extensively coding in C those days and C# and is my first choice now. I only used assembly as a learning tool for to know goes on under-the-hood when you use high level languages. Even in doing micro-controller programming, I have used C and not much assembly as it takes much time and effort to do even basic tasks. Assembly is easy to learn if you are determined, and there are many resources online to get started. And you are right, companies look for high-level language programmers because they want to make things happen fast. More than 90% of developers are coding for business oriented applications using high-level languages and RAD tools and only a few select groups use low-level languages, mostly for research oriented projects, for example super fast algorithms. I'm mostly into integration-specific projects now but will be happy to share my experiences if anyone asks :) Cheers.

              C 1 Reply Last reply
              0
              • S supercat9

                What processor were you using that had a "jump far" instruction whose effect could be simulated with many shorter jumps? Were you using a 68000 and with the "bra" instruction rather than "jmp"? The "near jmp" instruction on the 8088 can't go between segments; were you using something else? BTW, I have done some creative code-rearranging on some cycle-critical stuff for processors where conditional branches were limited to +/-127 instructions and I couldn't afford excessive jmp's. From a design standpoint, a horror, but it made things work which would otherwise take too long.

                C Offline
                C Offline
                ch3ckmat3
                wrote on last edited by
                #7

                We were using 8088 Assembly and i was using simple "jmp" instruction which has limitation to +/- 127 bytes. And i forgot to mention that my this 65K lines of code produced an executable of only 3.5K bytes... how about that? :-D Cheers

                1 Reply Last reply
                0
                • C ch3ckmat3

                  Thank you ChandanPatra, much appreciated :) Well i am a software architect now, (and yes, still happily coding) and this was some 16-17 years ago. I have been extensively coding in C those days and C# and is my first choice now. I only used assembly as a learning tool for to know goes on under-the-hood when you use high level languages. Even in doing micro-controller programming, I have used C and not much assembly as it takes much time and effort to do even basic tasks. Assembly is easy to learn if you are determined, and there are many resources online to get started. And you are right, companies look for high-level language programmers because they want to make things happen fast. More than 90% of developers are coding for business oriented applications using high-level languages and RAD tools and only a few select groups use low-level languages, mostly for research oriented projects, for example super fast algorithms. I'm mostly into integration-specific projects now but will be happy to share my experiences if anyone asks :) Cheers.

                  C Offline
                  C Offline
                  ChandanPatra
                  wrote on last edited by
                  #8

                  Thanks for ur beautiful reply. My name is Chandan Patra, I stay at Kolkata, India, I am almost a novice in true sense, being a Commerce Graduate I still find programming a great entertainer, and I just love it. I had Learned C some five years back, but got a job in Life Insurance industry [far away from programming].. Now desperately trying to come back to join the IT at this age of 30.. but opportunities are only for Computer engineers. But I want to start it over again... Now joined a company where I do some VB6 coding, Revising my C/C++ books.. need suggestion from your end... What I should be learning immediately in order to survive and be a part of good programmers community? Really looking forward to your answers.

                  C 1 Reply Last reply
                  0
                  • C ChandanPatra

                    Thanks for ur beautiful reply. My name is Chandan Patra, I stay at Kolkata, India, I am almost a novice in true sense, being a Commerce Graduate I still find programming a great entertainer, and I just love it. I had Learned C some five years back, but got a job in Life Insurance industry [far away from programming].. Now desperately trying to come back to join the IT at this age of 30.. but opportunities are only for Computer engineers. But I want to start it over again... Now joined a company where I do some VB6 coding, Revising my C/C++ books.. need suggestion from your end... What I should be learning immediately in order to survive and be a part of good programmers community? Really looking forward to your answers.

                    C Offline
                    C Offline
                    ch3ckmat3
                    wrote on last edited by
                    #9

                    Hello again, Chandan, and sorry for a late reply. Its good to know that you are coming back to programming, and don't worry about your age, it doesn't matter here, you can always do something which you love :) If you have done C/C++ in past then you should really jump into C# as soon as you can. Just take *ANY* C# book and read it all, from title to index. Then you need a copy of C# Black Book (http://www.amazon.com/Black-Book-Comprehensive-Problem-Paraglyph/dp/1932111174) on you desk when you start coding... and when you are fluent with the language, you wont possibly need anything, there is plenty of help and this huge community on internet to solve *any* problem you might have. Get a copy of VS 2010 Express and you are in! good luck ;)

                    C 1 Reply Last reply
                    0
                    • C ch3ckmat3

                      Hello again, Chandan, and sorry for a late reply. Its good to know that you are coming back to programming, and don't worry about your age, it doesn't matter here, you can always do something which you love :) If you have done C/C++ in past then you should really jump into C# as soon as you can. Just take *ANY* C# book and read it all, from title to index. Then you need a copy of C# Black Book (http://www.amazon.com/Black-Book-Comprehensive-Problem-Paraglyph/dp/1932111174) on you desk when you start coding... and when you are fluent with the language, you wont possibly need anything, there is plenty of help and this huge community on internet to solve *any* problem you might have. Get a copy of VS 2010 Express and you are in! good luck ;)

                      C Offline
                      C Offline
                      ChandanPatra
                      wrote on last edited by
                      #10

                      Dear checkmate, I really appreciate ur such a nice mail. I was a bit down finding no reply from ur end, thinking that advanced users like U may be wasting ur time after me. I am truly glad that u replied. I accepted all ur suggestions, will surely do it. Thanks and regards .. Chandan

                      C 1 Reply Last reply
                      0
                      • C ChandanPatra

                        Dear checkmate, I really appreciate ur such a nice mail. I was a bit down finding no reply from ur end, thinking that advanced users like U may be wasting ur time after me. I am truly glad that u replied. I accepted all ur suggestions, will surely do it. Thanks and regards .. Chandan

                        C Offline
                        C Offline
                        ch3ckmat3
                        wrote on last edited by
                        #11

                        You are welcome friend :) Happy coding.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups