RDDs and the new X# runtime

This forum is meant for questions and discussions about the X# language and tools
Post Reply
User avatar
wriedmann
Posts: 3755
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

RDDs and the new X# runtime

Post by wriedmann »

Hi Robert,

please let me know if I'm wrong with any of my assumptions:
- in a application the X# runtime and the Vulcan runtime cannot coexist, because they implement the same datatypes and runtime funtions in a different manner
- an application that is using the X# runtime cannot load a library (DLL) that uses the Vulcan runtime
- because of these limitations an application that uses the X# runtime cannot use any of the current Vulcan RDDs

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
User avatar
robert
Posts: 4519
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

RDDs and the new X# runtime

Post by robert »

Wolfgang,

1) They can coexist because the functions and types are in a different namespace. For example there is XSharp.__Usual and Vulcan.__Usual and XSharp.Core.Functions.Left() and VulcanRTFuncs.Left().
However the X# compiler would not know which of the functions to call. The new compiler will default to the X# functions and types if it finds the X# runtime DLLs
2) You can load the library, as long as there are no naming conflicts
3) It is very unlikely that this will work. But we have not tried that yet. But technically they can coexist. But it would mean that you have two very similar runtimes in memory with two macro compilers etc.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
wriedmann
Posts: 3755
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

RDDs and the new X# runtime

Post by wriedmann »

Hi Robert,

thank you very much!

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Post Reply