home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / pascal / 7950 < prev    next >
Encoding:
Text File  |  1993-01-07  |  2.0 KB  |  42 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!cs.utexas.edu!uwm.edu!spool.mu.edu!umn.edu!doug.cae.wisc.edu!inconel!chris
  3. From: chris@inconel.uucp (Christian)
  4. Subject: Re: Faster Pascal
  5. Organization: U of Wisconsin-Madison College of Engineering
  6. Date: 7 Jan 93 13:14:33 CST
  7. Message-ID: <1993Jan7.131434.5405@doug.cae.wisc.edu>
  8. References: <mitchell.11@odie.ee.wits.ac.za> <765348d8119630t239@witsend.uucp>
  9. Lines: 31
  10.  
  11. In article <765348d8119630t239@witsend.uucp> "D. C. Sessions" <dcs@witsend.tnet.com> writes:
  12. >In <mitchell.11@odie.ee.wits.ac.za>, mitchell@odie.ee.wits.ac.za (MITCHELL JAMES)  wrote:
  13. ># Bascially, I'm trying to find a way to run Pascal code faster. I have access 
  14. ># to a 486 but this is woefully inadequate (for my needs at least). I was 
  15. ># wondering if a version of Pascal exists for platforms other than the DOS / 
  16. ># PC environment. If I could use a Unix environment for example, I would be 
  17. ># able to make use of a Sun workstation (which might be enough). If anyone has 
  18. ># experienced/solved the speed problem, I would greatly appreciate their 
  19. ># advice. Any replies can be mailed to me (address below) and I'll post a 
  20. ># summary of anything that turns up. 
  21. >
  22. >  You'll get some improvement from, let's say, a Sun over a 486DX2-66,
  23. >  but not great gobs.  If you're looking for really dramatic
  24. >  improvements the only way you'll get them is algorithmic improvement.
  25. >  If you're already using a known-best algorithm and have checked your
  26. >  code with a profiler & optimized the hotspots you probably might
  27. >  as well learn patience.
  28.  
  29. I beg to differ about a Sun being faster than a 486DX2/66. Ofcourse, it
  30. depends on which sun... let us say a SPARC Station2 (~30 mips, according
  31. to Sun.) 
  32.  
  33. My experience has shown that a 486DX2/66, 8 MB RAM, running Linux .99
  34. is about 2x as fast as a Sparc2 with 16 MB RAM. (I have run a popular
  35. ray-tracer on both systems, and the Intel box was done doing the same
  36. trace in less than 1/2 the time.)
  37.  
  38. So, I would suggest you get a pascal compiler for for Lunix, or shell
  39. out mega-bucks for a SPARC 10 with dual processors.
  40.  
  41. -Chris
  42.