Open jeromegn opened 6 years ago
Cool - thanks for the reference. We've just about got "cargo check" working - and after that it's a quick hop to "cargo build" and publishing a crate. I expect to have a crate published next week.
Once you can import the deno crate easily, we'll discuss the rest.
(I'm very interested in exposing memory stats. We need to track allocs for our internal tests too. I think we can model it after https://golang.org/pkg/runtime/#MemStats)
check out the WIP generated rust docs: http://deno.land/doc/deno/isolate/struct.Isolate.html
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:
GetHeapStatistics
+ allocated space)print
callback with log "level" to handle logs differently