Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #32405

Re: is the java compiler written in c

Path csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Eternal Hope <laughingspam99@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: is the java compiler written in c
Date Sat, 22 Aug 2015 12:56:32 +0100
Organization A noiseless patient Spider
Lines 38
Message-ID <mr9nu2$t8p$1@dont-email.me> (permalink)
References <893a1a37-881c-4e59-a069-38386dd1b0fd@googlegroups.com> <mr2ngt$i1a$1@dont-email.me> <7b5d28de-2f30-4db7-aec7-03bd9ce81d00@googlegroups.com> <mr6j27$4et$1@dont-email.me> <mr86ph$t22$1@news.albasani.net> <mr8ncn$ohc$1@speranza.aioe.org> <mr9mst$m9d$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Sat, 22 Aug 2015 11:54:42 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="2ab430ef8c6b5deb5816c858366218e1"; logging-data="29977"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DjIzd7L92ipM1fRhA8Mb93zm+yMN3TyQ="
User-Agent Mozilla/5.0 (Windows NT 6.3; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
In-Reply-To <mr9mst$m9d$1@dont-email.me>
Cancel-Lock sha1:Hx4Mhg6uuUp992o6+Ps+SXkO3UY=
Xref csiph.com comp.lang.java.programmer:32405

Show key headers only | View raw


On 22/08/2015 12:37, Martin Gregorie wrote:
> On Fri, 21 Aug 2015 22:39:18 -0400, Arne Vajhøj wrote:
>
>> On 8/21/2015 5:51 PM, BGB wrote:
>>> you can tighten it up in a way which works on most targets, say, making
>>> 'int' always be 32 bits, ...
>>
>> With C99 that should really not be necessary.
>>

<snip>

> In practise, the nonstandard functions were pretty easy to fix by writing
> a compatibility library that, e.g. provided a version of Borlands strmfe()
> function for use when porting code from the Borland compiler to one of
> the unices. You needed a library for each target, so I had/have three for
> moving code between Borland, OS-9 and Linux systems. On the bright side,
> these were small libraries and quite easy to write.
>
> This issue should have been fixed by the POSIX standard, but is this the
> case?

It's not just about non-standard functions and libraries though is it.
It's been a while but IIRC the GNU C compiler allowed/allows nested 
functions but the spec defined/defines no such thing.

Now that's a pretty fundamental 'feature' isn't it. It completely 
changes the architectural landscape.

No chance of a compliant compiler compiling that is there?

Never had any of these problems with Java :-)

Oh, don't forget to make your code portable.


-- 
Laughing Spam Fritter

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

is the java compiler written in c gdotone@gmail.com - 2015-08-19 12:41 -0700
  Re: is the java compiler written in c Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-08-19 16:06 -0400
    Re: is the java compiler written in c gdotone@gmail.com - 2015-08-19 16:12 -0700
      Re: is the java compiler written in c Martin Gregorie <martin@address-in-sig.invalid> - 2015-08-20 11:08 +0000
        Re: is the java compiler written in c Arne Vajhøj <arne@vajhoej.dk> - 2015-08-20 20:34 -0400
      Re: is the java compiler written in c Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-08-20 07:44 -0400
      Re: is the java compiler written in c e.d.programmer@gmail.com - 2015-08-20 06:36 -0700
        Re: is the java compiler written in c gdotone@gmail.com - 2015-08-20 18:58 -0700
          Re: is the java compiler written in c Arne Vajhøj <arne@vajhoej.dk> - 2015-08-20 22:13 -0400
            Re: is the java compiler written in c g g <gdotone@gmail.com> - 2015-08-20 19:57 -0700
              Re: is the java compiler written in c Arne Vajhøj <arne@vajhoej.dk> - 2015-08-21 21:25 -0400
      Re: is the java compiler written in c Eternal Hope <laughingspam99@gmail.com> - 2015-08-21 08:15 +0100
        Re: is the java compiler written in c e.d.programmer@gmail.com - 2015-08-21 06:56 -0700
          Re: is the java compiler written in c Eternal Hope <laughingspam99@gmail.com> - 2015-08-21 15:32 +0100
        Re: is the java compiler written in c BGB <cr88192@hotmail.com> - 2015-08-21 16:51 -0500
          Re: is the java compiler written in c Martin Gregorie <martin@address-in-sig.invalid> - 2015-08-21 23:32 +0000
            Re: is the java compiler written in c BGB <cr88192@hotmail.com> - 2015-08-21 23:35 -0500
          Re: is the java compiler written in c Arne Vajhøj <arne@vajhoej.dk> - 2015-08-21 22:39 -0400
            Re: is the java compiler written in c BGB <cr88192@hotmail.com> - 2015-08-21 22:42 -0500
              Re: is the java compiler written in c Martin Gregorie <martin@address-in-sig.invalid> - 2015-08-22 11:41 +0000
                Re: is the java compiler written in c BGB <cr88192@hotmail.com> - 2015-08-22 10:03 -0500
              Re: is the java compiler written in c Arne Vajhøj <arne@vajhoej.dk> - 2015-08-30 22:03 -0400
                Re: is the java compiler written in c BGB <cr88192@hotmail.com> - 2015-08-31 01:09 -0500
                Re: is the java compiler written in c Arne Vajhøj <arne@vajhoej.dk> - 2015-09-03 20:46 -0400
                Re: is the java compiler written in c BGB <cr88192@hotmail.com> - 2015-09-04 10:01 -0500
            Re: is the java compiler written in c Martin Gregorie <martin@address-in-sig.invalid> - 2015-08-22 11:37 +0000
              Re: is the java compiler written in c Eternal Hope <laughingspam99@gmail.com> - 2015-08-22 12:56 +0100
                Re: is the java compiler written in c Martin Gregorie <martin@address-in-sig.invalid> - 2015-08-22 18:04 +0000
                Re: is the java compiler written in c BGB <cr88192@hotmail.com> - 2015-08-22 14:27 -0500
              Re: is the java compiler written in c Arne Vajhøj <arne@vajhoej.dk> - 2015-08-30 22:06 -0400
          Re: is the java compiler written in c Eternal Hope <laughingspam99@gmail.com> - 2015-08-22 10:31 +0100
            Re: is the java compiler written in c BGB <cr88192@hotmail.com> - 2015-08-23 01:31 -0500
        Re: is the java compiler written in c Arne Vajhøj <arne@vajhoej.dk> - 2015-08-21 22:42 -0400
          Re: is the java compiler written in c Martin Gregorie <martin@address-in-sig.invalid> - 2015-08-22 11:53 +0000
            Re: is the java compiler written in c Eternal Hope <laughingspam99@gmail.com> - 2015-08-22 13:11 +0100
              Re: is the java compiler written in c Martin Gregorie <martin@address-in-sig.invalid> - 2015-08-22 17:55 +0000
                Re: is the java compiler written in c Eternal Hope <laughingspam99@gmail.com> - 2015-08-22 19:59 +0100
            Re: is the java compiler written in c Gene Wirchenko <genew@telus.net> - 2015-08-26 09:44 -0700
              Re: is the java compiler written in c Arne Vajhøj <arne@vajhoej.dk> - 2015-08-30 22:11 -0400
  Re: is the java compiler written in c Arne Vajhøj <arne@vajhoej.dk> - 2015-08-19 19:35 -0400

csiph-web