home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.forth      Forth programmers eat a lot of Bratwurst      117,927 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 116,429 of 117,927   
   albert@spenarnc.xs4all.nl to Anton Ertl   
   Re: Application benchmark suite appbench   
   21 Apr 24 18:02:11   
   
   In article <2024Apr20.232643@mips.complang.tuwien.ac.at>,   
   Anton Ertl  wrote:   
   >mhx@iae.nl (mhx) writes:   
   >>Anton Ertl wrote:   
   >>[..]   
   >>> iForth-5.1-mini does not occur in the table, because not a single   
   >>> benchmark runs on it, because this system does not support relative   
   >>> file names, not even in the working-directory-relative way that other   
   >>> commercial systems support (at least in my installation, and my   
   >>> impression when I asked about that is that this is the way Marcel   
   >>> Hendrix intends it to be).   
   >>   
   >>Can you refresh my memory, and/or define "working-directory-relative"   
   >>file naming?   
   >   
   >A relative file name is not absolute, i.e., does not start with "/"   
   >(or, on DOS-derived OSs, with stuff like "C:\").   
   >   
   >What is it relative to?  In some cases, it's relative to the working   
   >directory (the thing you change with cd or chdir).  However, this   
   >means that when you INCLUDE/REQUIRE from within a file, you either   
   >have to specify an absolute file name or your INCLUDE is only correct   
   >if the working directory is in a specific directory; so for specifying   
   >other source files from a source file, it's better to make relative   
   >filenames mean relative to the (directory immediately containing) the   
   >source file.  Unfortunately, the Forth community could not agree even   
   >on the most basic things about portable file names, such as directory   
   >separators.   
      
   The Forth community has no business with directory separators.   
   If I sit in a directory with a subdirectory junk containing hello.frt   
   I expect to do   
       INCLUDE junk/hello.frt   
   in linux and   
       INCLUDE junk\hello.frt   
   on ms-windows.   
   Who is the Forth community to force compatibility between Bill Gates   
   and Linus Torvalds?   
   How could possibly solve the problem with 8.3 filenames or case   
   insensitive filenames?   
      
   The solution for benchmarks is not to mess with directories.   
      
   >Anyway, some years ago I reported that iForth-5.1-mini INCLUDEing only   
   >works for absolute file names, and you wrote that that's the   
   >intention.   
   Absolute file names is a boon for simple Forth's.   
   If I install lina , at the same time I burn the absolute path   
   of the library file into it.   
      
   >- anton   
      
   Groetjes Albert   
   --   
   Don't praise the day before the evening. One swallow doesn't make spring.   
   You must not say "hey" before you have crossed the bridge. Don't sell the   
   hide of the bear until you shot it. Better one bird in the hand than ten in   
   the air. First gain is a cat purring.            - the Wise from Antrim -   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca