• ☆ Yσɠƚԋσʂ ☆@lemmy.mlOPM
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    4 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.

    • dinomug@lemmy.mlM
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

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