Skip to content

dynamic linking verus module loading: what's the difference? #98

@jfbastien

Description

@jfbastien

#53 discusses dynamic linking (post-V1), and PRs such as #71 document module loading (V1 feature). Speaking in-person, @lukewagner, @kg, @ncbray and I don't quite agree on the differences.

  1. Does dynamic linking inply heap sharing? We seem to agree it does.
  2. Is module loading just FII/syscall?
  3. If V1 had dynamic linking, how would uses of module loading be different?
    • Would developers hack-in dynamic linking support on top of V1 using module loading?
  4. Is module loading hindering non-browser uses?
    • If stdout and write were accessed through a dynamic library then it may be more portable than if it went through module loading and baked-in console.log.

Maybe we should even consider supporting dynamic linking for V1.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions