PDA

Click to See Complete Forum and Search --> : Why Assembly?


Radames
Aug 22nd, 2001, 09:17 PM
Hello! Out of curiosity, are you people here because you like Assembly, are taking it in class, or work with Assembly.

Dillinger4
Aug 23rd, 2001, 02:09 AM
I know nothing about Assembly, but what i do no is that
an assembly program takes up less that half the file size of
a typical compiled program and runs twice as fast. This is why i want to learn it when i have the time. I think divice drivers are written mostly in Assembler and it's used in games alot running inline with C++ and OpenGL.

beachbum
Aug 23rd, 2001, 02:22 AM
Hi
yeah i have written in assembly years ago and even wrote my own assembler / disassembler. let's face it, although it is as fast as hell (my first ever prog moved an image across a screen row by row and i thought i made a mistake cos couldnt even see it! :p) it is extremely difficult to program in. I like the fact that with basic u can spend more time conceptualizing the whole design of ur app and not worry about dikky little routines and memory management. If u have a really intensive routine then u can go to a lower level language than basic but hell u gotta be keen to go to assembly :p
Regards
Stuart

Vlatko
Aug 23rd, 2001, 05:15 AM
Because it is a very low level language and you feel powerful cos you have control over everything.;)

Knight_Vision
Aug 23rd, 2001, 10:26 AM
beachbum -
You made your own Assembler????

Is it possible I could get ahold of it and your source to get some good pointers? I too am writting one. However, I am making all of my routines first before I start on it. I have made things like BASIC and LOCATE and END and COLOR and a few other commands. I am making more then just a compiler, it's and editor too. I have a lot of work to do, but I have to do it for my OS that I am making. You can see some of my stuff at my site.

Thanks guy..

Megatron
Aug 26th, 2001, 11:55 AM
I can't seem to download your library of ASM routines. Tripod keeps giving me a "File not found" error.

Jimbob42
Aug 27th, 2001, 08:54 AM
Well I already voted in the API vs MFC debate so I might as well do this one. I started doing asm just out of interest really, just to see how fast I could get a program to go - I started off in qbasic finding all the prime numbers up to 10000 in 6 minutes, and got it down to less than one clock tick for all up to 65535 (using trial division even), and I also made an instantaneous mandelbrot program. Why? Just for the hell of it I suppose!
And then win32 comes along and wipes out all of my effort with stupid slow SetPixelV().

Megatron
Aug 28th, 2001, 07:02 PM
It works great now. Thanks.

If you want, you can PM (Private Message) beachbum for a quicker reply.

Zaei
Aug 30th, 2001, 02:53 PM
I honestly think that any and all programmers should at least know the basic concepts of assembly(ie, what an if statement turns into, etc), to improve coding. Its also great to know what the compiler is doing with all that C++ code.

Z.

Zaei
Aug 30th, 2001, 09:26 PM
And writing compilers is fun =). I havent attempted an actual assembler, but script compilers are fun (especially when the scripting language looks a lot like assembly =).

Z.

Darkwraith
Jul 31st, 2003, 04:05 PM
Sorry about hitting this so late. :)

Define "work" in it.

Radames
Aug 1st, 2003, 12:22 PM
"So late" as in 2 years later? Dude!

Darkwraith
Aug 1st, 2003, 03:42 PM
Well, it takes me a little while to post. :D