v8 update

18 views
Skip to first unread message

Riccardo Corsi

unread,
Mar 18, 2013, 6:38:29 AM3/18/13
to dtenti...@googlegroups.com
Hi Martin,

I've just built v8 from source (rev. 13961) and apparently their API is quite changed. 

1. For handles and context related operations you need to pass an Isolate (v8 creates one by default when inited, that you can grab with v8::Isolate* isolate = v8::Isolate::GetCurrent() ) - there are deprecated but still compile
2. No more method Object::GetPointerFromInternalField
3. No more method External::Wrap/Unwrap

Have you got any plan to update to the new version? If so I can test the changes on my side, let me know!
Ricky

Mathieu MARACHE

unread,
Nov 27, 2013, 8:37:57 AM11/27/13
to dtenti...@googlegroups.com
Hi Ricky,

Bumping this issue, as I'm now facing it too :-) How did you manage to cope with newer v8 ? What v8 version do you use with latest dtEntity version ?

Regards,
Mathieu

--
nǝıɥʇɐƜ


--
You received this message because you are subscribed to the Google Groups "dtEntity developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dtentity-dev...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Riccardo Corsi

unread,
Nov 27, 2013, 9:10:46 AM11/27/13
to dtenti...@googlegroups.com
Hi Mathieu,

I'm not sure which revision I'm using at the moment... sob. 
I think it's the one distributed with the dtEntity externals dependencies: http://bit.ly/1a4d9JR
At least that work for sure...

At the moment I have no time to upgrade the API to the latest v8 revision, but I don't think it would be a huge work.
In case I address the issue I'll write here. 

Ricky

Mathieu MARACHE

unread,
Nov 27, 2013, 9:30:51 AM11/27/13
to dtenti...@googlegroups.com
Well it is some work, I spend half a day trying to do so, but I didn't knew nor the old api nor the new one. The wrappers where build on existing macros from v8cgi which has been abandoned since. I'm afraid it would be simpler to redo the wrappers than trying to port them... A pity since this is one of the key features of this framework.

--
nǝıɥʇɐƜ
Reply all
Reply to author
Forward
0 new messages