[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

336.0. "C compiling in RAM:" by WORDS2::BURTON (What world is this anyway?) Thu Feb 19 1987 13:00


	I'm using Lattice C with 512K and one drive.  The compiler
	takes FOREVER to compile and link.  I was going to get
	another drive but now I'm thinking about getting a RAM
	expansion board and using it as a drive.  My question is:
	If I copy the Lattice disk to a RAM disk and do my compiling
	and linking from RAM,  will it signifigantly reduce the
	time it takes to compile?  Can anyone give me some actual
	numbers on the time savings?

	Along the same line, is Borland going to release their C
	compiler (TURBO C) for the Amiga?  If so, when??

			
			Thanks much,
			Chris

T.RTitleUserPersonal
Name
DateLines
336.1RAM better than disksTLE::RMEYERSRandy MeyersThu Feb 19 1987 13:5324
Re: .0

I use my expansion ram as a disk during C development--I copy the compiler,
linker, libraries, and include files all to RAM:.  I keep the files that
make up my program on disk.

This does speed things up quite a bit.  (Nope, I don't have numbers.  I'll
try some benchmarks tonight.)

I very strongly believe that it is better to get more memory rather than
more disks.  More memory makes multitasking really come alive.

Don't hold your breath for Turbo C.  One of Borland's many sins of late
is "announcing" products that they never write.  I believe that Turbo C
was never written for any machine.

On the other hand, Turbo Pascal for the Amiga might come about.  Originally,
Borland was going to release a version of Turbo Pascal for the Amiga and
took out full page ads in AmigaWorld to that effect.  A few months go by,
and Borland starts sending out letters saying that they had reconsidered,
and were no longer going to do an Amiga version.  Lately, Borland has been
claiming that they are (again) going to do an Amiga version.  (They just
released the Mac version of Turbo Pascal, so now, at least, they do have
a 68000 code generator.)  Who knows what they are going to do?
336.2RAM Compile TimesTLE::RMEYERSRandy MeyersFri Feb 20 1987 14:5315
I did a test compile of a reasonably good sized file.  I compiled it
twice:  the first time was with Lattice C, all the supplied include files,
all my include files, and the source program all in ram.  The second time
was with all the proceeding on disk.

The times were:

	All ram		57 seconds
	All disk       139 seconds

Or the disk compile was 2.45 times longer.

I didn't time any link-times.  They should be speeded up by a large factor
as well.  Linking is a two pass process:  all the object files are read
twice.
336.3Raise DeadTLE::RMEYERSRandy MeyersMon Feb 23 1987 19:167
I just found out that Borland sort of announced Turbo C for true IBM
compatible machines.  They are claiming that the product will be
available in a few months.

So, I was wrong in claiming that Turbo C was a product that Borland
promised a year or two ago but now had no plans to produce.  It looks
like Turbo C may be back from the dead.