Why can't we derive struct's? (Hansel & Gretel)
luckoverthere
luckoverthere at gmail.cm
Wed Dec 26 22:54:28 UTC 2018
On Wednesday, 26 December 2018 at 22:33:18 UTC, Walter Bright
wrote:
> On 12/22/2018 2:47 AM, Atila Neves wrote:
>>> D isn't any more suitable for in-browser code than C++ is. A
>>> native language with raw pointers would not be a good choice
>>> for an embeddable scripting language.
>>
>> And yet, people have been compiling C++ and running it in the
>> browser for a while.
>
> I didn't know that. But one can support "raw" pointers in a
> sandbox via emulation. But then one loses the benefits of raw
> pointers. It doesn't change my opinion that C++ is unsuitable
> for in-browser work.
>
> As I recall, there is "managed C++" which was Microsoft getting
> C++ to work with CLI, but they did it by extensively modifying
> the language.
>
> https://en.wikipedia.org/wiki/C%2B%2B/CLI
C++/CLI is dead, long live C++/CX
https://en.wikipedia.org/wiki/C%2B%2B/CX
More information about the Digitalmars-d
mailing list