- TalkBack 10 of 34:
- Next »
- « Previous
- Thread View
- Flat View
- Productivity writing assembler?
-
Yes, you can do things in handmade assembler that languages don't because compilers have very specific code generators that do not give you every permutation and combination of assembler instructions.
Of course, every program must eventually run as a sequence of machine instructions. So there is a temptation to adulate assembler as the "true" essence of programming. But the romance truly wears off quickly.
I started writing assembler on an IBM system, then Data General 16-bit and 32-bit processors, then for Motorola 88Ks, then for SUN boxes, then for Power PCs. Even if you write a brilliant, perfect program for one platform, you need to learn the assmembly language for a new CPU and start all over again. Talk about lack of portability.
Maintenance of an assembly language program is a nightmare. The DG assemblers were all written is assembly, and if it weren't for the comments augmenting the code, it would take a person a long, long time (maybe never) to figure out what page after page after page of machine instructions is actually doing.
And besides, there are tricks you can play in assembler that can lead maintainers far astray.
Like making data look like instructions - a nonsensical, seemingly random sequence of instructions. So who wants to make sure there is never a branch to those instructions? And assembler has no clues as to such things as volatile values. If one decides to optimize an assembly program for instruction scheduling, you can break critical portions of code by moving loads and stores out of the critical range. The list goes on.
Extolling assembly language is kind of like extolling the virtues of elementary chemistry. One could probably build a better app by meticulously composing an assembly language program, but a person could also use carbon, hydrogen, nitrogen, phosphorous, etc., to build more attractive and smarter spouse. - Posted by: cgraham_z Posted on: 11/03/05 You are currently: a Guest | Members login | Terms of Use
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
What do you think?
SponsoredWhite Papers, Webcasts, and Downloads
- Virtualization: Architectural Considerations And Other Evaluation Criteria VMware Of the many approaches to x86 systems virtualization available in the ... Download Now
- Building the Virtualized Enterprise with VMware Iinfrastructure VMware VMware virtualization software has been adopted by over 120,000 enterprise ... Download Now
- VMware Infrastructure: A Guide to Bottom-Line Benefits VMware Frustrated by the costs of maintain ever larger data centers?or building ... Download Now
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
- Microsoft Dynamics CRM Online - Free Six-Month Trial for Eligible Organizations
-
Microsoft Dynamics CRM Online provides fast online access, simple contact management and better sales performance for a low monthly cost - the best value on the market today.

- Learn more about the free, six-month trial offer>>
- The best support in the Linux business
-
If Linux is going to power your mission-critical applications, you'd better have the best support known to business. Novell was rated the top provider of Linux technical support.
- Learn more >>
- Keep Up With The Latest In Document Management with The DocuMentor.
-
Doc delivers the scoop on today's enterprise content management, printer maintenance, and all other issues related to document management. It's the DocuMentor Blog.
- Learn more >>
- New Online Dashboard for IT Leaders
-
Read about top issues IT decision-makers face every day, plus get cost-effective solutions to real-life IT problems.
- Learn more >>
-
-
Smart Tech
Expert advice on innovations in healthcare and the green technologies that make it happen.
Find out more
-
Smart Business
Discussion and advice on management issues that revolve around making your world smarter and more useful.
More Smart Advice
-
Smart People
The best and worst moves in the management and strategy trenches.
Learn More







