home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / programm / 7080 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.6 KB

  1. Path: sparky!uunet!ukma!wupost!zaphod.mps.ohio-state.edu!cs.utexas.edu!ut-emx!cc.utexas.edu
  2. From: ifbb657@cc.utexas.edu (Douglas Floyd)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: The solution to FatBinaries.
  5. Message-ID: <83163@ut-emx.uucp>
  6. Date: 6 Nov 92 22:18:37 GMT
  7. Sender: news@ut-emx.uucp
  8. Lines: 46
  9.  
  10. OK, NeXT is using FatBinaries to do machine code for each processor.
  11. The bad thing about this is when NeXTStep runs on other processors,
  12. binaries must be compiled and included with the release.  P-Code is
  13. too S----L----O----W, and interpreting binaries is slllloooowwww also.
  14.  
  15. My solution:
  16.  
  17. NeXT code
  18.  
  19. Here is how it works:
  20.  
  21. 1:  Programmer codes his "killer app"
  22. 2:  C-compiler compiles the code into NeXTCode which is machine
  23.     independant, similar to Microsoft's P-code.
  24. 3:  When program gets to the user, the user uses an installer/
  25.     "compiler" to convert the NeXTCode to native machine code for
  26.     his processor.
  27.  
  28. Pros:
  29.  
  30. o Only one binary needed, no FatBinaries or ObeseBinaries
  31. o Runs LOTS faster than P-code or interpreted code
  32. o Easy to do
  33.  
  34. Cons:
  35.  
  36. Maybe some inefficency, but _very_ little.
  37.  
  38. Notes:
  39.  
  40. A special debugger can be produced to modify NeXTCode at the source
  41. for optomization
  42.  
  43. Patches to NeXTcode for different processors can be stored with the code
  44.  
  45. NeXT will have something no other computer has dreamed of offering :-)
  46.  
  47. COMMENTS ARE WELCOME- I would like to work on this as a discussion.
  48.  
  49. PS:  If NeXT is listening, and this helps, I am looking for a NeXT for
  50. my use to program some stuff :-).
  51. --
  52. ******* ifbb657@ccwf.cc.utexas.edu (Douglas R. Floyd) ******
  53.             Disclaimer: I speak for myself.
  54.  
  55.             Please, no NeXTMail at this time.
  56.