Skip to content

Conversation

haata
Copy link

@haata haata commented Nov 23, 2020

  • NewFromUtf8
  • Get
  • Set
  • ToString

- NewFromUtf8
- Get
- Set
- ToString
@kentonv
Copy link
Member

kentonv commented Nov 30, 2020

Hmm, what V8 really wants people to do is to stop calling GetCurrent() all over the place and instead pass down the isolate/context/etc. from the FunctionCallbackInfo. So this feels a little sad to deal with all the deprecations by working around them.

Also sad to be using Check() all over the place instead of propagating the exception, which is what V8 really wants us to do.

But, not sure how much effort it's worth to try to do it right...

@haata
Copy link
Author

haata commented Dec 1, 2020

I might have some time to work on cleaning things up, still learning how V8 is put together.
I've been trying to track down a compiler/linker error on Arch Linux and was hoping to cut down on a bunch of the deprecation noise.

(My end goal is to integrate capnproto into an electron app).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants