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


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

Re: is the java compiler written in c

Path csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail
From BGB <cr88192@hotmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: is the java compiler written in c
Date Sat, 22 Aug 2015 14:27:14 -0500
Organization albasani.net
Lines 34
Message-ID <mrains$d44$1@news.albasani.net> (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> <mr9nu2$t8p$1@dont-email.me> <mradjc$468$2@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net AVBSqxxZ9pKdOPAH0Yl7F2QwUlfajd6hFOCxgoGjsqO/zG4CRGwYEvq3k/8jOBHWJf7K3H7StDmRj0gVChxwB4XqxupUEtdkbR7QW2H8LWWN+XZERmqjhfD55sRq7P/V
NNTP-Posting-Date Sat, 22 Aug 2015 19:32:12 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="U2jVvSSptfuNxBeaNNkI1oliIZQMxgC2vfBhEqSOi6lgFt9uYRzSbj5/7nZdHxdlqBvDst15EQw4uyvf+58vrETGvJsVyaAKqVvQQAGXYd05aNbffSzCUP+k4mCRimIZ"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
In-Reply-To <mradjc$468$2@dont-email.me>
Cancel-Lock sha1:Ra0xpWBByWJ3k8/OFYQ5YuGtmm8=
Xref csiph.com comp.lang.java.programmer:32413

Show key headers only | View raw


On 8/22/2015 1:04 PM, Martin Gregorie wrote:
> On Sat, 22 Aug 2015 12:56:32 +0100, Eternal Hope wrote:
>
>> 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.
>>
> Indeed, and I've never seen or attempted to use nested functions in C.
> Maybe I don't delve into dark corners, but this is the first time I've
> ever heard nested function declarations mentioned in the same breath as C.
>

most people don't use them, as they are compiler specific.

it is like using lambda blocks. they exist on some compilers, but are 
pretty much a novelty item best to be avoided.


>> Oh, don't forget to make your code portable.
>>
> Quite. And don't use C-spells or any other too-clever-by-half tricks that
> serve more to obfuscate than to make code run faster now we've got decent
> optimising compilers.
>

one mans' obfuscation is another mans' coding convention.

but, I guess it depends on what practices are in question.
I have seen the "obfuscation" argument used to try to attack things like 
people doing arithmetic using shift operators, but pretty much anyone 
who has been doing programming for a while is likely to be well-versed 
as to what the shift operators are and do (as well as the use of bitwise 
operators and hexadecimal).

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