Is this a philosophical question?

From: name (user_at_host.domain)
Date: 08/28/04


Date: Sat, 28 Aug 2004 19:29:24 -0000

I've asked this question more specifically in a specifically appropriate
forum, and all due apologies are offered for this 'multi-post' (?). But now
I'm curious about the more general issues:

I must presume that any program written in any language will have some
portability problems, even though some languages are "guaranteed" to be
universally portable. How is this handled?

In my case, I cobbled up a small C application which will require a wrapper
script of some sort to be useful, unless implementation specific code is
added. In the spirit of C purity, I've decided against the latter course.
So there will be two levels of code, where the core will remain untouched
and platform adaptability will be handled in the outer script.

Now, I know that one of the criticisms of C is that it doesn't "do"
implementation specific stuff, that such things are added by any given
implementation. I'm also given to understand that other languages address
this successfully, and so one presumes all code is write once, compile
anywhere.

But what if this turns out not to be the case. Does one modify the code
itself, or does one add implementation specific code at a separate level, or
as a sort of plug-in, or what?

All rants and flames and oratory and proclamations and pontifications and
... are welcome, and I'll probably just lurk-'n-learn.

Thanks for reading and all replies are appreciated!

-- 
Email is wtallman at olypen dot com


Relevant Pages

  • Re: WHY
    ... wtf why would i want to sort in an application, i can sort everything i need ... on the database side. ... > structure in Perl and most other scripting languages. ... If all you speak is English and you lack the intelligence ...
    (microsoft.public.excel)
  • Re: How to make Forth interesting?
    ... For lots of things specialized languages may have the easiest ... We could use an iTV card as a sort of Forth stamp and host web pages ... I was just joking about the insanely complicated way that you ... Naturally scripts that are simple in scripting languages are suppose ...
    (comp.lang.forth)
  • Re: A case for HTML as a programming language
    ... matching) or variables (functional languages, ... No HTML ... the user performs the algorithm; ... You can even watch it sort them. ...
    (comp.programming)
  • Re: How many languages dont have "until"
    ... is no recursion. ... This in my view means that one is sort of forced ... to think differently while conversing than people in languages with ... Why doesn't he just ask the kid to translate? ...
    (sci.lang)
  • Re: Where do I start?
    ... >> Always thought python was a sort of snake.... ... >> Is not a text editor enough to edit ANY source code? ... fragments of some other languages. ... And proper indentation in C! ...
    (comp.os.linux.development.apps)