That isn’t my question.... Arraybufferbuilder:append how could I get that to be called. What I really need is a little guidance on how to understand how v8 will parse my JavaScript script and how it will allocate the data. Maybe even how a buffer or if there’s something that describes how buffers are handeled or if there’s a file or code that tells me that not the memory I know... just how it will execute it that’s all
On Thu, 13 Sep 2018 at 18:42, J Decker <[email protected]> wrote: > > > On Thu, Sep 13, 2018 at 9:21 AM dan Med <[email protected]> wrote: > >> Still no one ? >> > I dont know how I could have been more clear about the memory. > https://groups.google.com/d/msg/v8-users/MNpTNiRaBmM/Muz5-KHpBgAJ > > Why do you think there is some magic to the buffer of an arraybuffer? > It's just continuous bytes in memory. Especially well suited for > communicating arrays of data to WebGL. > > >> On Thu, 13 Sep 2018 at 16:31, dan Med <[email protected]> wrote: >> >>> Okay I will but, how could I be sure when blink on the renderer process >>> executes arraybufferbuilder ?? >>> Or one more thing, can u redirect me to checkout how v8 represents data >>> in memory, how would it handle arraybuffers? >>> The only thing I’ve managed to find ( in the github repo ) was a >>> JavaScript file which contained if I remember correctly, 2 definitions of >>> sorting algorithms. >>> >>> On Thu, 13 Sep 2018 at 16:23, @soylentgraham <[email protected]> >>> wrote: >>> >>>> You seem to be purposely ignoring the responses to your questions. >>>> >>>> If you still want help, build v8, build a program, breakpoint the >>>> function you want to see is called, debug it (this alone answers all your >>>> questions), then come back if you still have a VERY SPECIFIC question. >>>> >>>> >>>> On Thursday, 13 September 2018 15:15:03 UTC+1, dan Med wrote: >>>>> >>>>> No one is willingly to help me ? >>>>> >>>>> On Wed, 12 Sep 2018 at 20:34, dan Med <[email protected]> wrote: >>>>> >>>>>> Yeah i meant ArrayBuffer*Builder*::Append my bad.... but when it >>>>>> is actually called in blink ? >>>>>> Cause by the name it has to do with Arraybuffers.. >>>>>> Plus if i build v8 so i can examine the memory layout, where is the >>>>>> code on how v8 handeles arraybuffer ? >>>>>> Where is the doc or some source where there's explained how v8 >>>>>> represents object in memory, how can i be sure that in memory i'm not >>>>>> starrying at a pointer instead of an object or something like that... >>>>>> >>>>>> Il giorno mer 12 set 2018 alle ore 19:40 Jakob Kummerow < >>>>>> [email protected]> ha scritto: >>>>>> >>>>>>> On Wed, 12 Sep 2018 at 13:15, dan Med <[email protected]> wrote: >>>>>>> >>>>>>>> But can someone help me understand the arraybuffer part ? How to >>>>>>>> call arraybuffer::append and when I create an instance of a >>>>>>>> arraybuffer it >>>>>>>> will create it with maximum size so 37... bytes and will only say that >>>>>>>> the >>>>>>>> bytes used are the one which I’ve declared ? >>>>>>>> >>>>>>> >>>>>>> There is no ArrayBuffer::Append. Read closely: you've found >>>>>>> ArrayBuffer*Builder*::Append, which is some implementation detail >>>>>>> in Blink (not V8). I don't know when it's called, but I've pointed out >>>>>>> before how you can find out. When you use ArrayBuffer objects in >>>>>>> JavaScript, then that code is not executed at all. >>>>>>> >>>>>>> And when you create an ArrayBuffer(10) in JavaScript, it definitely >>>>>>> does not allocate 32KB of memory. It'll round up to the nearest >>>>>>> multiple of >>>>>>> a pointer size. >>>>>>> >>>>>>> On Wed, Sep 12, 2018 at 10:09 AM dan Med <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> Oh one more thing, so each tab in chrome is handeled as a single >>>>>>>> process, but Is the same process sandboxes with the Windows 10 kernel. >>>>>>>> Security or there’s another process which is sandboxes and then the >>>>>>>> main >>>>>>>> tab process the ( renderer ) is executed inside of it ? >>>>>>>> >>>>>>> >>>>>>> That's a completely unrelated question which has nothing to do with >>>>>>> V8 and does not belong in this thread. I suggest to look around on >>>>>>> http://dev.chromium.org/developers for a bunch of things that have >>>>>>> been explained before. >>>>>>> >>>>>>> On Wed, 12 Sep 2018 at 00:12, Peter Schow <[email protected]> wrote: >>>>>>>>> >>>>>>>>>> On Tue, Sep 11, 2018 at 2:09 PM dan Med <[email protected]> >>>>>>>>>> wrote: >>>>>>>>>> > >>>>>>>>>> > Would you suggest to build v8 such that I can debug it as I >>>>>>>>>> want ? >>>>>>>>>> >>>>>>>>>> It's difficult to go wrong with this approach if you want to >>>>>>>>>> better >>>>>>>>>> understand V8 or any large, complex system. >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> -- >>>>>>>>>> v8-users mailing list >>>>>>>>>> [email protected] >>>>>>>>>> http://groups.google.com/group/v8-users >>>>>>>>>> --- >>>>>>>>>> You received this message because you are subscribed to the >>>>>>>>>> Google Groups "v8-users" group. >>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>>>> send an email to [email protected]. >>>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>>> >>>>>>>>> -- >>>>>>>> -- >>>>>>>> v8-users mailing list >>>>>>>> [email protected] >>>>>>>> http://groups.google.com/group/v8-users >>>>>>>> --- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "v8-users" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>> send an email to [email protected]. >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>> -- >>>>>>> -- >>>>>>> v8-users mailing list >>>>>>> [email protected] >>>>>>> http://groups.google.com/group/v8-users >>>>>>> --- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "v8-users" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>> >>>>>> >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> -- >>>> -- >>>> v8-users mailing list >>>> [email protected] >>>> http://groups.google.com/group/v8-users >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "v8-users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >> -- >> v8-users mailing list >> [email protected] >> http://groups.google.com/group/v8-users >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > -- > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
