home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / programm / 7244 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  2.5 KB

  1. Path: sparky!uunet!stanford.edu!rutgers!news.columbia.edu!cunixb.cc.columbia.edu!ta-aca
  2. From: ta-aca@cunixb.cc.columbia.edu (Andrew C. Athan)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Re: The solution to FatBinaries.
  5. Message-ID: <1992Nov16.044844.11537@news.columbia.edu>
  6. Date: 16 Nov 92 04:48:44 GMT
  7. References: <83163@ut-emx.uucp> <1992Nov10.083524.22378@urz.unibas.ch>
  8. Sender: usenet@news.columbia.edu (The Network News)
  9. Reply-To: ta-aca@cunixb.cc.columbia.edu (Andrew C. Athan)
  10. Organization: Columbia University
  11. Lines: 44
  12. Nntp-Posting-Host: cunixb.cc.columbia.edu
  13.  
  14.  
  15. In article <83163@ut-emx.uucp>  writes:
  16. > OK, NeXT is using FatBinaries to do machine code for each processor.
  17. > The bad thing about this is when NeXTStep runs on other processors,
  18. > binaries must be compiled and included with the release.  P-Code is
  19. > too S----L----O----W, and interpreting binaries is slllloooowwww also.
  20. > My solution:
  21. > NeXT code
  22. > Here is how it works:
  23. > 1:  Programmer codes his "killer app"
  24. > 2:  C-compiler compiles the code into NeXTCode which is machine
  25. >     independant, similar to Microsoft's P-code.
  26. > 3:  When program gets to the user, the user uses an installer/
  27. >     "compiler" to convert the NeXTCode to native machine code for
  28. >     his processor.
  29.  
  30. Perhaps the intermediate code generated by gnu-cc (used on NeXTs) could be
  31. used...it is general enough for use with all the machines gcc runs on...
  32. However, I don't know enough about the issues (or about gcc intermediate
  33. code) at this point to know for sure.
  34.  
  35. I do suspect that software developers will not easily go for "NeXT code" as a
  36. distribution medium, however.  For one thing, "NeXT code" would -probably- be
  37. (by its very nature) very open.  This is excellent for debugging and
  38. development, but few developers (except perhaps gnu) want to give something
  39. that close to source code away.
  40.  
  41. That issue does have solutions, though.  For example, if the language is more
  42. like the gcc intermediate code (which is relatively low level) and all
  43. symbols not needed for run-time-linking (rld_* functions) can be stripped or
  44. represented in some encoded format, this is less of an issue.
  45.  
  46. Already, developers have to go to relatively great lengths to protect things
  47. like licensing code from prying eyes.  Standardized approaches to hiding
  48. information are prime targets for hackers, since the rewards reaped are that
  49. much bigger.  Making something like NeXT code work--both from a technical and
  50. a marketing standpoint--will not be so easy.
  51.  
  52. Andrew Athan
  53. Objective Technologies, Inc.
  54.