CAD CAM EDM DRO - Yahoo Group Archive

Re: EMC C Code

Posted by paul@x...
on 1999-06-13 09:51:28 UTC
>
> From: "Robert N. Ash" <esccmail@...>
>
> Thanks
>
> My misunderstanding as to the real meaning of "code portability of C and
> C++". JAVA version would be a platform independent software maybe but still
> need a RT OS???

The Java program did not do real time machine control.

There is a vast difference between being able to compile code on a
platform and actually being able to execute it. With some work, you
could probably compile the EMC code using the Borland compiler. However,
you would not have all of the operating system real time calls that
the code depends on. To be able to run the program, you would need
to build all of the required functionality that is missing on Windows.
Practically speaking, this is not realistic.

Programs can be written to be platform independant, but this involves either
writing for the lowest common denominator of OS services, or writing
emulation libraries to supply missing functionality across systems.

This does not work for something like EMC which relies on real time
scheduling support from the OS. This is not something that can be
grafted on later, but must be part of the running OS.

> -----Original Message-----
> From: Jon Elson <jmelson@...>
> To: CAD_CAM_EDM_DRO@onelist.com <CAD_CAM_EDM_DRO@onelist.com>
> Date: Sunday, June 13, 1999 1:22 AM
> Subject: Re: [CAD_CAM_EDM_DRO] EMC C Code
>
>
>
> >> From: "Robert N. Ash" <esccmail@...>
> >> Can the c source be used with a compiler for windows such as Borland TC
> 4.
>
> >Generally, NO WAY! Consider that this is about 50,000 lines of mostly C++,
> SNIPPED>>
> >
> >Jon
> >
>




--
Paul Amaranth | Rochester MI, USA
Aurora Group, Inc. | Software Development
paul@... | Unix / C / Tcl-Tk

Discussion Thread

Robert N. Ash 1999-06-12 06:37:05 UTC Re: EMC C Code Jon Elson 1999-06-12 22:27:02 UTC Re: EMC C Code Robert N. Ash 1999-06-13 05:49:33 UTC Re: EMC C Code paul@x... 1999-06-13 09:51:28 UTC Re: EMC C Code Jon Elson 1999-06-13 22:14:04 UTC Re: EMC C Code Jon Elson 1999-06-13 22:51:09 UTC Re: EMC C Code Matt Shaver 1999-06-14 00:24:00 UTC Re: EMC C Code paul@x... 1999-06-14 05:02:00 UTC Re: EMC C Code shackle@x... 1999-06-14 05:59:29 UTC Re: EMC C Code