Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Apl > Re: APL - Alive...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 31 of 47 Topic 1013 of 1081
Post > Topic >>

Re: APL - Alive and Well!

by Gosi <gosinn@[EMAIL PROTECTED] > May 14, 2008 at 09:13 AM

On May 14, 3:49=A0pm, "David Liebtag" <DavidLieb...@[EMAIL PROTECTED]
>
wrote:
> > I thought that since APL2 runs under Linux that Linux would take care
> > of the hardware issues.
>
> Conceptually, operating systems are standardized sets of services for
doin=
g
> system level things like reading and writing files and registering and
> waiting for types of events. =A0Some of these things are hardware
related =
and
> Linux does indeed handle them identically on all hardware platforms.
>
> However, CPU instructions are at a lower level than the operating
system.
> For example, most CPUs sup****t some kind of instruction for copying
bytes
> from one location to another. =A0But, the actual instructions processed
by=

> different CPUs may be different binary values. =A0As a made-up example,
on=
 one
> system the copy-bytes instruction may be four bytes containing the value
> 0x12345678 followed by 2 four byte addresses followed by a four byte
lengt=
h.
> On another system the copy-bytes instruction may be eight bytes
containing=

> the value 0x8765432112345678 followed by 2 eight byte addresses followed
b=
y
> an eight byte length. =A0The compiler is responsible for converting the
ca=
ll
> to the C runtime library's memcpy routine into the binary instruction
that=

> is appropriate for the target system. =A0If you compile on the system
that=

> uses the two byte 0x5734 instruction, the resulting binary module will
not=

> run on the system that expects to see the four byte 0x34126756
instruction=
..
>
> At a real world level, the biggest difference between Linux on Intel PCs
a=
nd
> Linux on z/VM is that Intel machines use ASCII and z/VM uses EBCDIC.
=A0Th=
is
> means that they use different byte values to encode characters. =A0For
> example, in ASCII, blank characters are encoded as the binary value
0x20; =
in
> EBCDIC blanks are 0x40. =A0I'm pretty sure you can run Linux in ASCII
mode=
 on
> z/VM. =A0But, since many files on z/VM already contain EBCDIC data, it
may=
 be
> more useful to run it in EBCDIC mode. =A0So, if you compile a program,
lik=
e
> APL2, to run on Intel PCs and to use ASCII, if you tried to run it on
z/VM=

> in EBCDIC mode (which you can't because the intrsuction sets are
different=
)
> the program would almost certainly get very confused because all the
input=

> data that it is written to accept in ASCII would arrive in EBCDIC.
=A0Thes=
e
> are the kinds of issues that one has to consider when ****ting to various
> hardware platforms.
>
> Don't you love being an APLer so you don't have to worry about this
crap?
> :-)
>
> David Liebtag
> IBM APL Products and Services

So one of the biggest obstacle (ASCII vs EBCDIC) should be eliminated
once everything is Unicode - right?

It is not just APL that has(/had?) characterset problems.

I have been fighting codepages/characters/fonts kind of problem for a
very long time and have been/am looking forward for Unicode to solve
them for decades now.

I do not know how many utilities I have to change codes between
codepages.

J, Dialog and APL2 all have sup****t for Unicode so the APL community
is yet again long way ahead of everyone else.
 




 47 Posts in Topic:
APL - Alive and Well!
Morten Kromberg <mkrom  2008-05-11 06:14:49 
Re: APL - Alive and Well!
Gosi <gosinn@[EMAIL PR  2008-05-11 07:00:23 
Re: APL - Alive and Well!
Steve <steve@[EMAIL PR  2008-05-11 10:24:01 
Re: APL - Alive and Well!
Dick Bowman <dick@[EMA  2008-05-12 06:38:09 
Re: APL - Alive and Well!
Dick Bowman <dick@[EMA  2008-05-12 08:21:00 
Re: APL - Alive and Well!
MikeJ <nialsys@[EMAIL   2008-05-12 12:11:05 
Re: APL - Alive and Well!
"David Liebtag"  2008-05-12 15:15:22 
Re: APL - Alive and Well!
Ted Edwards <Ted_Espam  2008-05-14 00:23:43 
Re: APL - Alive and Well!
Jack <jgrudd@[EMAIL PR  2008-05-12 21:53:55 
Re: APL - Alive and Well!
Gosi <gosinn@[EMAIL PR  2008-05-13 00:43:15 
Re: APL - Alive and Well!
Steve <steve@[EMAIL PR  2008-05-13 06:13:00 
Re: APL - Alive and Well!
"David Liebtag"  2008-05-13 11:16:50 
Re: APL - Alive and Well!
"David Liebtag"  2008-05-14 16:46:39 
Re: APL - Alive and Well!
Gosi <gosinn@[EMAIL PR  2008-05-13 08:47:45 
Re: APL - Alive and Well!
microapl@[EMAIL PROTECTED  2008-05-13 09:49:59 
Re: APL - Alive and Well!
Gosi <gosinn@[EMAIL PR  2008-05-13 10:39:14 
Re: APL - Alive and Well!
Jane Sullivan <jane@[E  2008-05-13 22:35:09 
Re: APL - Alive and Well!
"David Liebtag"  2008-05-13 23:00:05 
Re: APL - Alive and Well!
Steve <steve@[EMAIL PR  2008-05-13 17:34:30 
Re: APL - Alive and Well!
Gosi <gosinn@[EMAIL PR  2008-05-13 17:36:22 
Re: APL - Alive and Well!
tom7777777 <tom7777777  2008-05-14 00:11:22 
Re: APL - Alive and Well!
phil chastney <user@[E  2008-05-19 11:44:53 
Re: APL - Alive and Well!
Gosi <gosinn@[EMAIL PR  2008-05-14 01:29:32 
Re: APL - Alive and Well!
"David Liebtag"  2008-05-14 07:41:45 
Re: APL - Alive and Well!
Gosi <gosinn@[EMAIL PR  2008-05-14 07:17:22 
Re: APL - Alive and Well!
"David Liebtag"  2008-05-14 11:49:18 
Re: APL - Alive and Well!
phil chastney <phil.ha  2008-05-15 19:20:18 
Re: APL - Alive and Well!
me@[EMAIL PROTECTED]   2008-05-14 10:33:33 
Re: APL - Alive and Well!
Gosi <gosinn@[EMAIL PR  2008-05-14 07:53:49 
Re: APL - Alive and Well!
me@[EMAIL PROTECTED]   2008-05-14 11:41:42 
Re: APL - Alive and Well!
Gosi <gosinn@[EMAIL PR  2008-05-14 09:13:53 
Re: APL - Alive and Well!
"David Liebtag"  2008-05-14 12:31:47 
Re: APL - Alive and Well!
phil chastney <phil.ha  2008-05-15 19:42:57 
Re: APL - Alive and Well!
Gosi <gosinn@[EMAIL PR  2008-05-14 09:58:38 
Re: APL - Alive and Well!
"jk" <aqxqy@  2008-05-14 19:24:21 
Re: APL - Alive and Well!
Steve <steve@[EMAIL PR  2008-05-14 18:04:58 
Re: APL - Alive and Well!
"David Liebtag"  2008-05-14 21:18:05 
Re: APL - Alive and Well!
Bob Cain <arcane@[EMAI  2008-05-20 01:08:01 
Re: APL - Alive and Well!
Gosi <gosinn@[EMAIL PR  2008-05-15 01:51:12 
Re: APL - Alive and Well!
Steve <steve@[EMAIL PR  2008-05-15 04:50:20 
Re: APL - Alive and Well!
"David Liebtag"  2008-05-15 08:01:18 
Re: APL - Alive and Well!
"Curtis A. Jones&quo  2008-05-15 09:31:31 
Re: APL - Alive and Well!
Gosi <gosinn@[EMAIL PR  2008-05-15 12:41:29 
Re: APL - Alive and Well!
phil chastney <phil.ha  2008-05-15 19:51:28 
Re: APL - Alive and Well!
Jack <jgrudd@[EMAIL PR  2008-05-15 22:05:50 
Re: APL - Alive and Well!
Gosi <gosinn@[EMAIL PR  2008-05-16 00:20:38 
Re: APL - Alive and Well!
Gosi <gosinn@[EMAIL PR  2008-05-20 01:50:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 2:04:55 CDT 2008.