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


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

Re: Java 7 vs 8 speed issues on Win7?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Java 7 vs 8 speed issues on Win7?
Date Thu, 06 Nov 2014 17:21:51 -0500
Organization A noiseless patient Spider
Lines 34
Message-ID <m3gs9q$6gr$1@dont-email.me> (permalink)
References <m28osf$b1i$1@dont-email.me> <ac6k5ahi1h95romsnq52kus20rvbi3psel@4ax.com> <m3ditj$8bd$1@dont-email.me> <m3dus5$q4d$1@news.albasani.net> <m3ej2t$9ae$1@dont-email.me> <m3emtc$bd2$1@dont-email.me> <m3erpb$qt5$1@dont-email.me> <m3etjs$b9$1@dont-email.me> <m3fvet$ko3$1@news.albasani.net> <m3g1qp$m3j$1@dont-email.me> <m3gam2$dp7$1@news.albasani.net> <m3gr7o$h5o$1@news.albasani.net>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Thu, 6 Nov 2014 22:21:46 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="bd4e1cba8d8592bec5d5ed9e4537fbfd"; logging-data="6683"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19liA9STrMAQinc7lmUp9rP"
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
In-Reply-To <m3gr7o$h5o$1@news.albasani.net>
Cancel-Lock sha1:B8+u2RKVvoDy5Myg+QRmnEflpgQ=
Xref csiph.com comp.lang.java.programmer:30298

Show key headers only | View raw


On 11/6/2014 5:03 PM, Jan Burse wrote:
> Jan Burse schrieb:
>>>  Thought experiment: If the next JVM patch improves the JIT so
>>> sparse `switch' blocks on `char' values are compiled more efficiently,
>>> is that a change in the "semantics" of `switch'?
>>
>> Yes its a bigger potato than before. The potato
>> has changed. For example the compiler will accept
>> certain programs which he didn't accept before.
>> [...]
> Oops, correction. I was reading "char" as string.
> No compiler optimizations are usually semantics
> preserving. Are not really considered as semantic
> changes of a language construct.

     Thanks for the correction; you had me even more confused
than is my default state.

     However, the correction leaves me wondering just what *does*
constitute a "semantic" change, in your estimation.  On the one
hand you maintain that a change in the `private' behavior of
String is a "semantic" change, although its only externally-
visible effect is on performance, not on function.  On the other,
you hold that a hypothetical change to `switch' would *not* be a
"semantic" change, since it only affects performance but does not
change the outcome.  I cannot see what distinguishes the two cases,
why one function-preserving-but-performance-altering change is
"semantic" and the other is not.

     Perhaps, as you suggest, it's just "potato" versus "spud."

-- 
esosman@comcast-dot-net.invalid
"Don't be afraid of work. Make work afraid of you." -- TLM

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


Thread

Java 7 vs 8 speed issues on Win7? Knute Johnson <eternal@knutejohnson.com> - 2014-10-22 10:18 -0700
  Re: Java 7 vs 8 speed issues on Win7? Silvio <silvio@internet.com> - 2014-10-24 11:10 +0200
  Re: Java 7 vs 8 speed issues on Win7? Roedy Green <see_website@mindprod.com.invalid> - 2014-11-05 04:36 -0800
    Re: Java 7 vs 8 speed issues on Win7? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2014-11-05 08:23 -0800
      Re: Java 7 vs 8 speed issues on Win7? Jan Burse <janburse@fastmail.fm> - 2014-11-05 20:47 +0100
        Re: Java 7 vs 8 speed issues on Win7? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2014-11-05 17:32 -0800
          Re: Java 7 vs 8 speed issues on Win7? Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-11-05 21:37 -0500
            Re: Java 7 vs 8 speed issues on Win7? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2014-11-05 20:00 -0800
              Re: Java 7 vs 8 speed issues on Win7? Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-11-05 23:32 -0500
                Re: Java 7 vs 8 speed issues on Win7? Robert Klemme <shortcutter@googlemail.com> - 2014-11-06 08:48 +0100
                Re: Java 7 vs 8 speed issues on Win7? Jan Burse <janburse@fastmail.fm> - 2014-11-06 15:09 +0100
                Re: Java 7 vs 8 speed issues on Win7? Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-11-06 09:50 -0500
                Re: Java 7 vs 8 speed issues on Win7? Jan Burse <janburse@fastmail.fm> - 2014-11-06 18:21 +0100
                Re: Java 7 vs 8 speed issues on Win7? Jan Burse <janburse@fastmail.fm> - 2014-11-06 18:34 +0100
                Re: Java 7 vs 8 speed issues on Win7? Jan Burse <janburse@fastmail.fm> - 2014-11-06 23:03 +0100
                Re: Java 7 vs 8 speed issues on Win7? Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-11-06 17:21 -0500
                Re: Java 7 vs 8 speed issues on Win7? Jan Burse <janburse@fastmail.fm> - 2014-11-07 00:07 +0100
                Re: Java 7 vs 8 speed issues on Win7? "Bob(but not" THAĊ˘ "Bob)" <nobody@nowhere.net> - 2014-11-07 08:48 +0000
                Re: Java 7 vs 8 speed issues on Win7? Jan Burse <janburse@fastmail.fm> - 2014-11-08 11:28 +0100
        Re: Java 7 vs 8 speed issues on Win7? Roedy Green <see_website@mindprod.com.invalid> - 2014-11-20 03:12 -0800
          Re: Java 7 vs 8 speed issues on Win7? Silvio <silvio@internet.com> - 2014-11-20 13:24 +0100
            Re: Java 7 vs 8 speed issues on Win7? Robert Klemme <shortcutter@googlemail.com> - 2014-11-20 19:06 +0100
              Re: Java 7 vs 8 speed issues on Win7? Silvio <silvio@internet.com> - 2014-11-20 22:54 +0100
                Re: Java 7 vs 8 speed issues on Win7? Brixomatic <brixomatic@yahoo.com> - 2014-11-22 08:54 +0100
                Re: Java 7 vs 8 speed issues on Win7? Brixomatic <brixomatic@yahoo.com> - 2014-11-22 09:19 +0100
    Re: Java 7 vs 8 speed issues on Win7? Fredrik Jonson <fredrik@jonson.org> - 2014-11-29 07:44 +0000

csiph-web