Neil,

>    Overall, I think C~ was a mistake although translation mostly works
> OK. One issue is that C++ code tends to mix pointer and value
> semantics but C# and Java only have pointer semantics. For small
> objects, I like to use value semantics in C++ such as line.fore =
> Color(r,g,b) which has to be line.fore = new Color(r,g,b) in C#/Java.
> To cope with this, there is a set of known value classes in the
> translator. The subset of C++ understood is quite ad-hoc and new code
> is likely to require changes to the translator.
>
>    More code would have been developed in a shorter time if it had
> been C++ only until finished. Then it could have been translated into
> C#/Java.

So is this the way you're working on SinkWorld now? The C~ thing always
seemed interesting but to a degree put me off playing with the project. It
seems like it would be much faster to work on SinkWorld using an IDE and
real code than writing it in a subset language without all the IDE
helpers?

Simon.

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to