finos / legend

The Legend project
https://legend.finos.org
Apache License 2.0
864 stars 188 forks source link

Examples of feature disparities - Legend vs Rosetta for CDM? #719

Closed smsant closed 1 year ago

smsant commented 1 year ago

Hi, has anyone used both Legend + Rosetta and faced problems with inconsistencies/feature disparities between the two DSLs? I am polling for prevalent issues to investigate.

This is part of a potential research project on the compatibility of using two DSLs to work with the CDM.

My current trajectory

Given I am new to FINOS, I'm very open to and actively seeking feedback!

TODO

Assess feature disparity between Pure and Rosetta:

What I know so far + additional questions

  1. The Legend/Pure -> Rosetta pipeline seems fleshed out.

    • I can transpile the Legend CDM back to Rosetta (using "New File Generation.."). This appears to solve #300 , as well as the code generator discussion in #311.
      • How do members typically deploy the rosettaTypes.txt output? Is this out of scope of the "Pure to Rosetta translation" problem?
      • What else might I be missing? (e.g., problems people face using the generated Rosetta?)
  2. The Rosetta -> Legend/Pure pipeline looks less developed.

    • Per #650 (under "Other"), Rosetta CDM versions are not pushed regularly to Legend. The problem cited is "opaque expressions".
      • What are some examples of these "opaque expressions"?
      • Besides opaque expressions, are there other known bottlenecks (technical or otherwise) for regularly pushing Rosetta versions to Legend?
    • (Sidenote: I recently learned that the Legend CDM was updated last month to match the latest Rosetta CDM.)
  3. ISDA review is required for all CDM changes (e.g., those made in Legend) pushed to the official Rosetta CDM.

    • From: #335
      • Is this review stage beyond the scope of DSL compatibility?
      • Is this review done at a purely logical level? Or are technical inconsistencies ironed out between DSLs?
  4. I am looking into Morphir as a target IR and am just starting to explore how FpML fits into all this.

beekemarie commented 1 year ago

Hi @smsant - would recommend that you reach out to the FINOS Technical SteerCo to find out more. I think they engaged in a feature comparison analysis.

smsant commented 1 year ago

@beekemarie - sounds good, thanks for the guidance!

finos-admin commented 1 year ago

This issue is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.

finos-admin commented 1 year ago

This issue was closed because it has been inactive for 35 days. Please re-open if this issue is still relevant.