Re: Attempting to learn

From: B. v Ingen Schenau (bart_at_ingen.ddns.info)
Date: 10/25/03


Date: Sat, 25 Oct 2003 10:15:39 +0200

Jumbo wrote:

>
> "Josh Sebastian" <curien@cox.net> wrote in message
> news:pan.2003.10.19.22.01.32.828290@cox.net...
>> Unfortunately, that is not quite as simple as one would think. Most
>> BASICs (especially VB) and Java are fairly well-tied to their host
>> system. C and C++, OTOH, makes a great effort to /not/ be tied to any
>> particular platform (which is why it can exist on so many different
>> platforms). Undoubtedly, your compiler or OS has extensions which can tie
>> a C or C++ program to the system (such as an API), but such things are
>> off-topic here (because they're not part of the language per se). You
>> should ask in a group for your compiler and/or OS.
>>
>> Josh
>
> I think you'll find that Java makes a big effort not to be tied to any
> host system too,

On the contrary, Java is tied to exactly one platform, namely the Java
virtual machine.
The fact that the Java VM has been ported to a number of host platforms
does not alter this reality.

> after all Java is on Mars and you can't say that for C or C++ :-)

I wouldn't be too sure of that. Especially C is soo widely used that I
can't imagine that it is not used in any spacecraft.

Bart v Ingen Schenau

-- 
a.c.l.l.c-c++ FAQ: http://www.snurse-l.org/acllc-c++/faq.html
a.c.l.l.c-c++ FAQ mirror: http://nullptr.merseine.nu:8080/acllcc++.html
c.l.c FAQ: http://www.eskimo.com/~scs/C-faq/top.html
c.l.c++ FAQ: http://www.parashift.com/c++-faq-lite/


Relevant Pages

  • Re: Where is the FAQ?
    ... Many thanks to Greg! ... >the final URL for the FAQ will change. ... but without it becoming platform specific. ... >put up some web pages with common platform related problems (getting ...
    (alt.comp.lang.learn.c-cpp)
  • Re: threads without threads
    ... > I have a counter loop which actually executes in a different thread. ... Does ANSI C provide any inherent function ... you _could_ write a wrapper function for your platform ... C++ Faq: http://www.parashift.com/c++-faq-lite ...
    (comp.lang.c)
  • Re: exe to C++ source code
    ... Many compilers, which compile to different ... platform specific instructions. ... C++ Faq: http://www.parashift.com/c++-faq-lite ...
    (comp.lang.cpp)
  • Re: Getting selected text from last active program
    ... The output facilities ... Anything else depends on the platform. ... Some platforms provide "clipboards" for passing data between ... C++ Faq: http://www.parashift.com/c++-faq-lite ...
    (comp.programming)
  • Re: traumatized by pointer casting
    ... > Since this is the platform I am dealing with, ... physical source to as few places as possible. ... Also, dealing with a structure ... C++ Faq: http://www.parashift.com/c++-faq-lite C Faq: http://www.eskimo.com/~scs/c-faq/top.html alt.comp.lang.learn.c-c++ faq: ...
    (comp.lang.c)