home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / hp48 / 7247 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  2.0 KB

  1. Path: sparky!uunet!spool.mu.edu!yale.edu!newsserver.jvnc.net!netnews.upenn.edu!gynko!hoford
  2. From: hoford@gynko.circ.upenn.edu (John Hoford)
  3. Newsgroups: comp.sys.hp48
  4. Subject: Re: C compiler for HP48
  5. Message-ID: <106025@netnews.upenn.edu>
  6. Date: 21 Jan 93 19:57:35 GMT
  7. References: <books.196.0@fsunuc.physics.fsu.edu> <1jmjcfINN1cb@emmental.csv.warwick.ac.uk> <STEVEV.93Jan21105429@miser.uoregon.edu>
  8. Sender: news@netnews.upenn.edu
  9. Organization: Cardiothoracic Imaging Research Center
  10. Lines: 38
  11. Nntp-Posting-Host: gynko.circ.upenn.edu
  12.  
  13. In article <STEVEV.93Jan21105429@miser.uoregon.edu> stevev@miser.uoregon.edu (Steve VanDevender) writes:
  14.  
  15. > C is a reasonably good language
  16. >for developing larger applications, but it is also difficult,
  17. >arcane, and not designed for interactive, incremental program
  18. >development.  C has its place, but not on the HP 48.  System RPL
  19. >is by necessity the systems programming language of the HP 48,
  20. >and Saturn assembler the language of choice for the low-level and
  21. >time-critical applications.  You could write a C-like compiler
  22. >for the HP 48, but I do't think you could really implement ANSI C
  23. >well on its architecture.
  24.  
  25. I don't think thats what any one wants to do.
  26. What C does well is enable you to write efficent ,low level code 
  27. in a easily writable manner.
  28. That is the capability that I would like.
  29.  
  30. >
  31. >Just because a machine can be programmed in assembly language
  32. >doesn't mean that it can or should have a C compiler.  C is not
  33. >the be-all and end-all of programming languages, and any serious
  34. >programmer should be able to work in a variety of languages.
  35.  
  36. For Fast code the only choice on the 48 is assembly which is difficult
  37. for the same reason it is difficult to make a C compiler.
  38.  
  39. what would be ideal is :
  40. A C like compiler that is adapted to working in the
  41. 48 enviroment. 
  42. It's main is called with the stack an argument.
  43. it has access to all the functions of hpl. 
  44. It has functions for creating things on the stack
  45. IT has some Hi speed screen IO functions.
  46.  
  47. I know that I could use my HP more if I had something like this.
  48.  
  49. John D. Hoford
  50.  
  51.