Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The Most Popular Programming Languages
Message
De
11/01/2019 11:53:40
 
 
À
10/01/2019 23:03:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01665264
Message ID:
01665328
Vues:
79
J'aime (1)
>I have some reservation about using two interpreter-based languages in a single application. Application deployment could possibly become quite complex. I like simple dev environments such as an interpreter-based language à la fox or python calls to dlls or fll(vfp) for external parties.

I can follow your reasoning ;-)

But newer attempts might make such ideas more palatable:

- Graal VM aims to use identical "entities" as basic program data structures, so no marshalling between different VMs is needed and a common runtime for different interpreter languages can be utilized.
- WASM aims for more interdependency with JS, offering for instance lonnger integer types, probably via typed arrays


>
>However getting an additional alternative way to smoothly get out of the VFP trap into python would be plain great:-)
>
>>Can you create DLLs in VFP that give you the GUI component, and reference those functions from a Python app?
>
>>form = create_form(size, type, title, etc.)
>>obj = add_object(form, type, size, etc.)
>>type = get_data_type(obj)
>>value = get_data_value(obj)
>
>That would be fine. But I have no clue on this. I thought that VFP DLLs were for automation-only. Am I wrong?

correct. You need COM exe for GUI, but the mechanics should work. But nothing I would consider future-proof ;-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform