65K Lines of Code
-
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
-
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
I was a little frightened to open this message... I thought it might contain 65K lines of code. :)
-
I was a little frightened to open this message... I thought it might contain 65K lines of code. :)
-
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
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.
-
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
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.
-
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.
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.
-
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.
-
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.
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.
-
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.
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 ;)
-
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 ;)
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
-
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