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: Darren New
Date: 11 May 2009 14:18:10
Message: <4a086be2$1@news.povray.org>
Warp wrote:
>   There are only a few incompatibilities between C and C++,

I think you'd need to read that link, where they list the incompatibilities.

> 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).

Read the link. It's not long. There are a bunch of things about types that 
changed.

>> 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.

It wasn't. That was the point. It took them about a week to port it, with 
more than half the time being porting from C to C++.

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

Most likely true, yes.

>   (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?

I think it was done as an experiment, not as an end in itself. For one 
thing, they were testing the difference in speed, as an example.

> 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.)

I don't think they envisioned the new version as an improvement over the old 
version per se.  Again, read the link.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

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