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

From BGB <cr88192@hotmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: is the java compiler written in c
Date 2015-08-22 14:27 -0500
Organization albasani.net
Message-ID <mrains$d44$1@news.albasani.net> (permalink)
References (4 earlier) <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>

Show all headers | 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