Skip to content

Compiled to bytecode or something? #66

Description

@ForbiddenEra

Just saw thisthinghere; interesting.

I'd like to add some input while it's early still.

Besides the ease-of-distribution/runnability, IMO it seems like the two main desires for devs wanting something like this (eg. the stuff listed as 'existing sea solutions') is:

  • some code protection
  • better performance

While it wouldn't be impossible to 'decompile' v8 bytecode into some sort of source, neither is it impossible to decompile an executable binary to C or something in general.

Due to my lack of deep v8 knowledge, I'm not sure how much/if any performance improvement could be seen by pre-compiling any bundled code into it's bytecode but if there's a potential performance gain then I think this should be considered, plus the side-effect of making it at least slightly more difficult to get the original/similar representation to the original code back out.

I'm not sure if there's any interest towards this or if perhaps there's a consensus toward including the code as-is for some sort of transparency reasons but I thought it might be worth mentioning/opening an issue for discussion.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions