× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: An introduction to MI by example II (part B)...
  • From: Blair Wyman <wyman@xxxxxxxxxxxx>
  • Date: Tue, 23 Nov 1999 10:41:22 -0600 (CST)

Excerpts from mi400: 22-Nov-99 Re: An introduction to MI b.. Francesco
Scafi@tin.it (1042*) 

> which are the reasons for the closing to user use of W-code?  

I don't know of any "official" reasons (or price tags ;-), but would
*guess* that one basic reason is that if W-code were externalized then
it would have to work...  in its entirety...  every single combination
of opcodes, etc....  forever...  That implies a significant expenditure
of resource to "harden" and "exhaustively test" the W-code... 

Now, compilers typically use a subset of a given representation's
possible opcode permutations, and frankly I'd be surprised if W-code
"plugged all the holes" that an enterprising assembler programmer could
find.  Compilers, given a sequence of HLL statements, are predictable. 
Programmers are less predictable, at least in my experience.  <g>  So,
if something goes wrong with a W-code stream today, it's an APAR to the
compiler developer - if something went wrong with a hand-coded W-code
program there would be no "safety net" to catch the hapless developer. 

>From a pragmatic standpoint, you certainly would _not_ want to try to
manually code W-code.  W-code is positioned as an
automatically-generated intermediate representation of a program or
module, created by a compiler front-end and consumed by a compiler
back-end/code-generator.  In that respect, it is very much like the MI. 
However, the fundamental model of W-code is that of a "stack" machine,
as opposed to MI's "storage-to-storage" model. 

I know a lot of programmers, but I don't know anybody who hand codes
W-code -- even the programming masochists shy away from it, preferring
alternate esoteric fare (such as MI, for example  - <g>). 

  ___   _           Blair Wyman                  IBM Rochester 
 ( /_)  /  _  ' _   (507)253-2891            blairw@us.ibm.com 
__/__)_/_<_/_/_/_'  Opinions expressed may not be those of IBM 



+---
| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.