Skip to content
This repository was archived by the owner on Sep 25, 2019. It is now read-only.
This repository was archived by the owner on Sep 25, 2019. It is now read-only.

Deno for the runtime #5

Description

@jeromegn

This project is heavily inspired by deno and in a lot of cases uses code from deno directly.

Talking with Ryan Dahl, we've determined deno should be embeddable in other rust projects. It would be nice to use deno directly since it's improving rapidly (performance, security, features) and bringing all its changes is hard.

There are some things we're "waiting" for before we can make the switch:

  • Deno as a rust crate (Make "cargo build" work denoland/deno#695)
  • Memory limits (both max-old-space and allocations)
    • Inspecting the memory usage (V8's GetHeapStatistics + allocated space)
  • Uncaught exception and promise rejection callbacks (ability to only crash the runtime and not the whole process)
  • Custom operation handlers (including flatbuffers message)
    • Opt-in / opt-out for built-in operations
  • Custom snapshots
  • print callback with log "level" to handle logs differently

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