l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Jun 30 12:06

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Compiling C into Java bytecode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Compiling C into Java bytecode?

On Mon, Jun 30, 2003 at 10:37:15AM -0700, Rod Roark wrote:
> On Monday 30 June 2003 10:07 am, Micah J. Cowan wrote:
> > On Sun, Jun 29, 2003 at 06:27:08PM -0700, Rod Roark wrote:
> > > On Sunday 29 June 2003 02:06 pm, Ken Bloom wrote:
> > > > Second, their
> > > > standard libraries have very different names for most things (even
> > > > something so simple as the sine function has two different incompatible
> > > > lines to call it in the two different languages - in c it's sin() , and
> > > > in java it's Math.sine() ). So I can't even copy/paste strictly
> > > > mathematical functions between the two languages.
> > >
> > > Technically, libraries are not part of the language.
> >
> > Not from the standpoint of your typical language spec (at least for
> > C). The C standard specifies the standard library as part of the
> > language; though I seem to recall that C++ seperates them more
> > distinctly in the language.
> Do you have a reference for that?  I always thought that
> language by definition does not include libraries.  Perhaps
> the standard you are referring to covers more than just the
> language.

The usual reference the first sentence of the first paragraph of the
first section ("Scope") of the standard, which states:

  This International Standard specifies the form and establishes the
  interpretation of programs written in the C programming language.

Yet, this standard provides a clause detailing all standard C library
facilities. It is generally accepted among comp.lang.c regulars that
the standard C library is part of the language itself, according to
the language of the standard.

For corroborations from respected regulars of comp.lang.c, including
Dan Pop, who while sometimes rather rude has the reputation of
near-inscrutability in issues regarding the C language and standard
(pick arguments with him at your own risk: he tends to fight dirty,
and he's nearly always right); and Chris Torek, responsible for
writing huge portions of the FreeBSD C and system libraries:





vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.