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


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

Re: back to .Net? lesser of two evils?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail
From BGB <cr88192@hotmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: back to .Net? lesser of two evils?
Date Wed, 09 Nov 2011 09:25:24 -0700
Organization albasani.net
Lines 47
Message-ID <j9e9hl$f62$1@news.albasani.net> (permalink)
References <opqdnQnjSeY2jTbTnZ2dnUVZ_u-dnZ2d@giganews.com> <4eb0a862$0$294$14726298@news.sunsite.dk> <j8qkqm$pvh$1@news.albasani.net> <j8rnie$16h$1@dont-email.me> <j8rt6b$i78$1@news.albasani.net> <j8ru2g$h0j$1@dont-email.me> <j8scuj$nuq$1@news.albasani.net> <4582482.388.1320279654255.JavaMail.geo-discussion-forums@prog16> <j8t5kr$1mj$1@news.albasani.net> <4eb3387f$0$294$14726298@news.sunsite.dk>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 8bit
X-Trace news.albasani.net kvFSZ0AwxRLbDFkCLQUsVjlQfUOKid1+8roYetbFnfdjZyYGkenfghLw6E855egRWQu4l44vvMA9cyngyJHgUw==
NNTP-Posting-Date Wed, 9 Nov 2011 16:25:25 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="QcHdFXcBybh0i3pxVb/K/nlS5NeSM23wweT5vzbGXUjuQ5PytZByTr+8oW/8A4K0rnf4aYWh0IOr6awhIauVQ2a2EXiAFWIGFA/BKCivzo5QD4JXp4SoLU2E4RAR8bXw"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20110812 Thunderbird/6.0
In-Reply-To <4eb3387f$0$294$14726298@news.sunsite.dk>
Cancel-Lock sha1:6zwzVhTL0HFqF933dR/tpx0h9hc=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:9798

Show key headers only | View raw


On 11/3/2011 5:57 PM, Arne Vajhøj wrote:
> On 11/3/2011 12:34 AM, BGB wrote:
>> On 11/2/2011 5:20 PM, Lew wrote:
>>> BGB wrote:
>>>> markspace wrote:
>>>>> BGB wrote:
>>>>>> for example, someone could make an extended form of Java
>>>>>> which adds ifdef's...
>>>>>
>>>>> I rest my case. :-)
>>>>>
>>>>
>>>> but, ifdef is a useful and powerful feature...
>>>
>>> Only useful for a non-portable language.
>>>
>>
>> C and C++ apps run on plenty enough targets to demonstrate that they are
>> useful for portable code.
>
> There are a lot of C/C++ apps that runs on many platforms.
>
> But portability for Java and portability for those does not
> mean the same thing.
>
> Java portability mean that you upload the jar file and
> run it as is.
>
> C/C++ portability means that you do the proper defines, often
> add some new ifdef sections and then rebuild the code for
> the target platform.
>

yep, this is an advantage of a bytecoded program representation vs a 
traditional precompiled binary.

my case is sort of a hybrid:
generic HLL code should presumably be (reasonably) portable;
but, the program may still use ifdefs for OS-specific stuff (and may or 
may not be limited to targets with a compatible combination of ifdefs).

however, for the most part HLL code will likely depend some on the 
underlying app, so will generally only be as portable as the underlying 
app. Java, OTOH, is designed mostly for creating standalone apps (so, 
its portability is mostly bound by library and run-time features...).

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


Thread

Re: back to .Net? lesser of two evils? Arne Vajhøj <arne@vajhoej.dk> - 2011-11-01 22:18 -0400
  Re: back to .Net? lesser of two evils? BGB <cr88192@hotmail.com> - 2011-11-01 22:35 -0700
    Re: back to .Net? lesser of two evils? Cindy <c.thurston@frell.okb.uwa.edu> - 2011-11-02 03:17 -0400
      Re: back to .Net? lesser of two evils? BGB <cr88192@hotmail.com> - 2011-11-02 07:58 -0700
        Re: back to .Net? lesser of two evils? Arne Vajhøj <arne@vajhoej.dk> - 2011-11-02 18:06 -0400
          Re: back to .Net? lesser of two evils? BGB <cr88192@hotmail.com> - 2011-11-03 00:01 -0700
            Re: back to .Net? lesser of two evils? Arne Vajhøj <arne@vajhoej.dk> - 2011-11-03 20:48 -0400
            Re: back to .Net? lesser of two evils? Arne Vajhøj <arne@vajhoej.dk> - 2011-11-03 20:52 -0400
              Re: back to .Net? lesser of two evils? BGB <cr88192@hotmail.com> - 2011-11-09 07:21 -0700
                Re: back to .Net? lesser of two evils? Arne Vajhøj <arne@vajhoej.dk> - 2011-11-09 20:30 -0500
                Re: back to .Net? lesser of two evils? BGB <cr88192@hotmail.com> - 2011-11-09 22:48 -0700
      Re: back to .Net? lesser of two evils? coder <j-code@speak.invalid> - 2011-11-02 17:36 -0400
        Re: back to .Net? lesser of two evils? Lew <lewbloch@gmail.com> - 2011-11-02 17:13 -0700
        Re: back to .Net? lesser of two evils? Cindy <c.thurston@frell.okb.uwa.edu> - 2011-11-03 00:49 -0400
          Re: back to .Net? lesser of two evils? BGB <cr88192@hotmail.com> - 2011-11-03 00:10 -0700
            Re: back to .Net? lesser of two evils? Cindy <c.thurston@frell.okb.uwa.edu> - 2011-11-03 04:41 -0400
              Re: back to .Net? lesser of two evils? BGB <cr88192@hotmail.com> - 2011-11-03 05:36 -0700
        Re: back to .Net? lesser of two evils? thoolen <tholen01@gmail.com> - 2011-11-02 23:13 -0700
    Re: back to .Net? lesser of two evils? markspace <-@.> - 2011-11-02 08:28 -0700
      Re: back to .Net? lesser of two evils? BGB <cr88192@hotmail.com> - 2011-11-02 10:04 -0700
        Re: back to .Net? lesser of two evils? markspace <-@.> - 2011-11-02 10:19 -0700
          Re: back to .Net? lesser of two evils? BGB <cr88192@hotmail.com> - 2011-11-02 14:32 -0700
            Re: back to .Net? lesser of two evils? Lew <lewbloch@gmail.com> - 2011-11-02 17:20 -0700
              Re: back to .Net? lesser of two evils? BGB <cr88192@hotmail.com> - 2011-11-02 21:34 -0700
                Re: back to .Net? lesser of two evils? Arne Vajhøj <arne@vajhoej.dk> - 2011-11-03 20:57 -0400
                Re: back to .Net? lesser of two evils? BGB <cr88192@hotmail.com> - 2011-11-09 09:25 -0700
                Re: back to .Net? lesser of two evils? Arne Vajhøj <arne@vajhoej.dk> - 2011-11-09 20:25 -0500
                Re: back to .Net? lesser of two evils? BGB <cr88192@hotmail.com> - 2011-11-09 23:05 -0700
    Re: back to .Net? lesser of two evils? Arne Vajhøj <arne@vajhoej.dk> - 2011-11-02 17:26 -0400
      Re: back to .Net? lesser of two evils? BGB <cr88192@hotmail.com> - 2011-11-02 15:01 -0700
        Re: back to .Net? lesser of two evils? Arne Vajhøj <arne@vajhoej.dk> - 2011-11-02 18:18 -0400
          Re: back to .Net? lesser of two evils? Arne Vajhøj <arne@vajhoej.dk> - 2011-11-02 18:20 -0400
          Re: back to .Net? lesser of two evils? BGB <cr88192@hotmail.com> - 2011-11-02 22:30 -0700
            Re: back to .Net? lesser of two evils? Arne Vajhøj <arne@vajhoej.dk> - 2011-11-03 21:30 -0400
            Re: back to .Net? lesser of two evils? Arne Vajhøj <arne@vajhoej.dk> - 2011-11-03 21:40 -0400

csiph-web