[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: assembler [was: Re: cheers for gogo]



On Tue, Mar 14, 2000 at 06:59:55PM -0000, Foz wrote:
> > By the way, may I say a big Nelson Muntz (off the Simpsons ;) "Ha-ha" to
> > that poor person who said they had to do Modula-2?? :-)
> > 
> Dat was me - poor old me :-)) One thing that modula-2 is VERY 
> good at is the selection of library imports, so instead of importing 
> the entire standard IO block, when you will only use WriteString 
> and WriteLn, the compilation to .exe for Hello World is about 3k - a 
> very good idea - can C do that?

	AFAIK, compilers in more modern OSs do that
-rwxr-xr-x    1 jgomez   jgomez       4685 Mar 14 19:16 hello
$ strip hello
-rwxr-xr-x    1 jgomez   jgomez       2944 Mar 14 19:16 hello

	Which seems to suggest that not all of stadio.h is going into
the program :)

	Anyway, I had to suffer Modula 2 some years ago as well.

> Other than that for modula-2 it is dead and decrepid. But it does 
> work on the 386's, and works even better on the PIII 550's. So 
> rotating triangles with matrices, is possible with it for it to work at 

	Out of interest, I've seen Modula-3 around at some point...
What's this thing suppossed to be? Does anyone use it? It looks as a
OO version of Modula 2. Is it supposed to be a OO teaching language?

	Other than that, you might be interested in a Modula-2 compiler
for linux (mocka). Also, I was surprised that gdb's info file mentioned
M2 all over the place (and didn't mention fortran 77. It seems that M2
is better supported in gdb than f77. sigh!). It also looks as if someone
started a front-end for gcc at some point. Actually, I found the
bookmark (I knew I'd be able to use it at some point!):
<http://floppsie.comp.glam.ac.uk/>

	Regards
	José {feeling quite old by now}
-- 
José L Gómez Dans			PhD student
					Radar & Communications Group
					Department of Electronic Engineering
					University of Sheffield UK
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.