home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / apl / 1195 < prev    next >
Encoding:
Text File  |  1992-11-19  |  3.4 KB  |  81 lines

  1. Newsgroups: comp.lang.apl
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!jato!csi!sam
  3. From: sam@csi.jpl.nasa.gov (Sam Sirlin)
  4. Subject: Re: Saplpc vs Inverson vs J
  5. Message-ID: <1992Nov19.224832.28873@csi.jpl.nasa.gov>
  6. Originator: sam@kalessin
  7. Sender: usenet@csi.jpl.nasa.gov (Network Noise Transfer Service)
  8. Nntp-Posting-Host: kalessin
  9. Organization: Jet Propulsion Laboratory, Pasadena, CA
  10. References:  <1992Nov19.203203.11732@mnemosyne.cs.du.edu>
  11. Date: Thu, 19 Nov 1992 22:48:32 GMT
  12. Lines: 67
  13.  
  14.  
  15. In article <1992Nov19.203203.11732@mnemosyne.cs.du.edu>, alaroy@nyx.cs.du.edu (Andrew LaRoy) writes:
  16.  
  17. |> What differences (other than speed and documenttion, as mentioned in the
  18. |> guide to low cost apl's a while back) are there between saplpc and the
  19. |> inversion version.  I am interested in whether or not the extra expense is
  20. |> worth it.  
  21.  
  22. The major difference I can see is  in available ws size. Is making the
  23. ws limit equal to what the machine has worth $30? I'd say so.
  24. Especially since APL programming style tends to lead to large arrays. 
  25.  
  26. |> Also, other than the fact that the keyboard is not goofey (at
  27. |> least to a new apl user) what are the advantages / disadvantages of J as
  28. |> opposed to apl.
  29. |> The applications I forsee using apl for are physics lab computations
  30. |> (which I currently complete on a spreadsheet - yuck) and integration of
  31. |> ugly intigrals using brute force.
  32.  
  33. APL or J can easily do these. Here are some comments:
  34.  
  35. Advantages of J
  36.  
  37. availability: source, compiles on probably any machine with C.
  38. portability: the basic program and data storage can be readable ASCII
  39.  script  files, which can be sent anywhere (well,... taking special
  40.  precautions  for IBM mainframes...).
  41. cost: this is probably a wash for pc's, but not so for anything else -
  42.  APLs are typically $Ks for sun's, while J is still free.
  43. standardization: there's only one J I know of, but when it comes to
  44.  arrays of arrays, most apls dissagree (on many other less fundamental
  45.  things as well). This obviously has a big  impact on portability.
  46.  
  47. Dissadvantages of J
  48.  
  49. character set: it isn't very nice compared to APL's. I really miss
  50.  times and divide...
  51. speed: I'd guess APLI386 is faster. I haven't tested them though...
  52. programming style: this could be an advantage or dissadvantage
  53.  depending on your point of view. I'd say it's much more
  54.  foreign to a new user than "normal" APL (e.g. selective reassignment
  55.  doesn't exist in J).  
  56. available code: there's more existing stuff written in APL.
  57.  On the other hand it may not be easy to get ahold of electronically. 
  58. available literature: lots more for APL. 
  59. stability: J is still evolving, so current features may dissapear,
  60.  or change, others appear, etc.
  61.  
  62. Recommendation:
  63. (I assume you have a 386 box)
  64. If you're balking at $30, go for the free APLs and borrow some books
  65. from the library to learn to use them. Ask someone local to help get
  66. you started if you can find an APLer. If you find you can't stand APL,
  67. then you're not out anything, and you probably won't like J either. 
  68.  
  69. If you a little money, go for APLI386 next if you find yourself
  70. somewhat cramped. Only once you are familiar with APL and if you
  71. really like "neat" mathematical things that take some effort (do you
  72. like Rubick's cube? [this is probably a prerequisite for likeing APL
  73. as well]) would I recommend you get J (definitely get all the
  74. documentation as well though).  
  75.  
  76. I guess that's enough for now...
  77. -- 
  78. Sam Sirlin
  79. Jet Propulsion Laboratory         sam@kalessin.jpl.nasa.gov
  80.  
  81.