home *** CD-ROM | disk | FTP | other *** search
- 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
- From: dak@messua.informatik.rwth-aachen.de (David Kastrup)
- Newsgroups: comp.lang.forth
- Subject: Block versus file
- Message-ID: <dak.716483390@messua>
- Date: 14 Sep 92 15:09:50 GMT
- Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
- Organization: Rechnerbetrieb Informatik / RWTH Aachen
- Lines: 34
- Nntp-Posting-Host: messua
-
- There is some discussion going on block versus free formatted input
- in Forth.
-
- The use of blocks has one advantage: simplicity of implementation.
- Editors are fast to write, line allocation is of no matter, I/O
- is simple to implement etc. Any custom disk structures for databases
- cleverly impressed on a block-system will always be superior to
- file-based systems. period. The I/O is so simple that on small evaluation
- systems the editor and I/O fits into the Eproms. Period.
- As a minimal stand alone system study (firmware design) block-based Forth
- is not blown up with editor code. Period.
-
- Now let's turn to real world. Development is usually done for PC
- software on PCs. There already is an operating system working with
- a file structure. Any block structure imposed artificially on the
- top of the file system will be SLOWER than fully utilizing the
- file system. Users will work usually with their favorite, complex
- editors with which they have developped productiveness.
-
- Writing a small OS on an embedded system which gets code fragments
- over serial (or other) lines is easy. THERE IS NO MORE REASON to
- artificially restrict one to the old block systems, since NOTHING,
- I repeat NOTHING, can be gained anymore by it unless your only
- computer is a pocket calculator.
-
- If you like to have your hands at the heartbeat of a computer, do it.
- If you enjoy scraping paint off the wall with a nailfile because
- you need no electric outlet to do so, enjoy yourself. But remember,
- what for you is a source of pride, discipline, and enjoyment, may for
- others just be a nuisance. Do not blame them for that, just be sad
- that so few others see the wonders of your way.
-
- Flames directed at me personally will not get appropriate attention,
- so interesting thoughts should be rather posted.
-