home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / forth / 3122 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  2.2 KB

  1. Path: sparky!uunet!pmafire!news.dell.com!swrinde!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!messua!dak
  2. From: dak@messua.informatik.rwth-aachen.de (David Kastrup)
  3. Newsgroups: comp.lang.forth
  4. Subject: Block versus file
  5. Message-ID: <dak.716483390@messua>
  6. Date: 14 Sep 92 15:09:50 GMT
  7. Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
  8. Organization: Rechnerbetrieb Informatik  /  RWTH Aachen
  9. Lines: 34
  10. Nntp-Posting-Host: messua
  11.  
  12. There is some discussion going on block versus free formatted input
  13. in Forth.
  14.  
  15. The use of blocks has one advantage: simplicity of implementation.
  16. Editors are fast to write, line allocation is of no matter, I/O
  17. is simple to implement etc. Any custom disk structures for databases
  18. cleverly impressed on a block-system will always be superior to
  19. file-based systems. period. The I/O is so simple that on small evaluation
  20. systems the editor and I/O fits into the Eproms. Period.
  21. As a minimal stand alone system study (firmware design) block-based Forth
  22. is not blown up with editor code. Period.
  23.  
  24. Now let's turn to real world. Development is usually done for PC
  25. software on PCs. There already is an operating system working with
  26. a file structure. Any block structure imposed artificially on the
  27. top of the file system will be SLOWER than fully utilizing the
  28. file system. Users will work usually with their favorite, complex
  29. editors with which they have developped productiveness.
  30.  
  31. Writing a small OS on an embedded system which gets code fragments
  32. over serial (or other) lines is easy. THERE IS NO MORE REASON to
  33. artificially restrict one to the old block systems, since NOTHING,
  34. I repeat NOTHING, can be gained anymore by it unless your only
  35. computer is a pocket calculator.
  36.  
  37. If you like to have your hands at the heartbeat of a computer, do it.
  38. If you enjoy scraping paint off the wall with a nailfile because
  39. you need no electric outlet to do so, enjoy yourself. But remember,
  40. what for you is a source of pride, discipline, and enjoyment, may for
  41. others just be a nuisance. Do not blame them for that, just be sad
  42. that so few others see the wonders of your way.
  43.  
  44. Flames directed at me personally will not get appropriate attention,
  45. so interesting thoughts should be rather posted.
  46.