• ☆ Yσɠƚԋσʂ ☆OPM
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    10 months ago

    I agree, the second approach is more direct, so the only limitation comes from the properties of the VM itself. Transpiling to Python means also inheriting semantic quirks of the intermediate language. It makes sense for ClojureScript to do it, since js is the layer that browsers expose, but if you have the option to target the VM bytecode directly then that’s a much better option.

    • dinomugM
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 months ago

      Exactly, The transpilers are necessary when the target system only works exclusively with a single language.