POV-Ray : Newsgroups : povray.off-topic : LOL'd at myself : Re: LOL'd at myself Server Time
6 Sep 2024 03:15:37 EDT (-0400)
  Re: LOL'd at myself  
From: Warp
Date: 11 May 2009 13:42:05
Message: <4a08636d@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Warp wrote:
> >   I still fail to see the relevant difference.

> First, quake was C, not C++, so that had to be ported.

  There are only a few incompatibilities between C and C++, and it's really
rare for a C program to use something which would make it illegal C++
(although, admittedly, using a variable named eg. "class" in a C program
might not be unheard of, but I still think it's rare).

> Second, it means you 
> can interact with other .NET libraries to add stuff to the game.

  You *can*, but you don't *have to*. I fail to see how compiling a C (or
C++) program as a C++.net program would be difficult. Maybe the startup
routines (the main function, launching the main window...) might need to
be different, but it doesn't sound very drastic.

  On the contrary: The *less* you add .net code to the program, the *easier*
it will be to compile as a C++.net program.

  (One thing which I don't really understand is what's the point: If you
already have a working C/C++ program, why deliberately make it C++.net?
The only thing you will achieve is that you will be forcing people who
want to use the program to install the necessary .net libraries. And no,
they don't always come with Windows by default, especially if you use
a newer version of .net than 1.x.)

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.