Re: [v8-users] Arraybuffer

2018-09-10 Thread dan Med
ATM I’m writing with my phone, here in EU is almost midnight so I will write u an email tomorrow fully detailed. Btw how do I call append ??? I’m interested in how v8 works and manages JavaScript code that’s all. When I talk about typedarray or anything else I referr to the JavaScript side, so

Re: [v8-users] Arraybuffer

2018-09-10 Thread @soylentgraham
> First, how big is the data member of the object ? As I said before. Capacity is the size of the memory allocated that data points at. > Is it as big as the actual array buffer length which I declare on JavaScript It will be either as big, or bigger. It can grow. bytes_used will be the

Re: [v8-users] Arraybuffer

2018-09-10 Thread dan Med
First, how big is the data member of the object ? Is it as big as the actual array buffer length which I declare on JavaScript and which I can build on top of it a typedarray ? No, I’m just trying to understand how v8 works, I know it is a big thing but at least how it moves then I might read the

Re: [v8-users] Arraybuffer

2018-09-10 Thread dan Med
How big is the offset from buffer to data ? const void* Data

Re: [v8-users] Arraybuffer

2018-09-10 Thread dan Med
Cause i saw the code but didn't find how it handles all the possible javascript i might write into a script file Il giorno lun 10 set 2018 alle ore 23:06 dan Med ha scritto: > But after using it for a little while, I have found v8 in general is > pretty simple. It provides an interface to C

Re: [v8-users] Arraybuffer

2018-09-10 Thread dan Med
But after using it for a little while, I have found v8 in general is pretty simple. It provides an interface to C functions and memory. This is kinda what it's for. so how can i see the memory management ? Il giorno lun 10 set 2018 alle ore 23:06 dan Med ha scritto: > So, the hole length of

Re: [v8-users] Arraybuffer

2018-09-10 Thread dan Med
So, the hole length of this raw memory is set to be Data ? And to use it i should create a view on top of it like with typedarrays? So to call arraybuffer::append i should first, try to make the typed array bigger that action will call the arraybuffer::append ? i didn't ask how memcpy work, i

Re: [v8-users] Arraybuffer

2018-09-10 Thread dan Med
in this snippet for example namespace WTF {// A utility class to build

Re: [v8-users] Arraybuffer

2018-09-10 Thread Jakob Kummerow
On Mon, Sep 10, 2018 at 12:22 PM dan Med wrote: > I don't quite see if this google group is useful or not, everybody keeps > answering me with superficial things, > You said you wanted to read the compiler's source but couldn't find it, so I told you that it's in src/compiler/. If that was not

Re: [v8-users] Arraybuffer

2018-09-10 Thread Jakob Kummerow
On Sun, Sep 9, 2018 at 8:54 AM dan Med wrote: > Oh and one more thing, i've surfed perhaps the entire source code of v8 at > least the interesting parts, but what i came across was just very short > code execpt for some builtins written in javascript i believe, can't find > all of the things

Re: [v8-users] Netwrok v8

2018-09-10 Thread dan Med
Is there any good doc that explains all of these crucial steps, reading the code is ok but I’d like to have a bigger idea first like how can I get a fully picture of JIT COMPILERS ??? On Mon, 10 Sep 2018 at 16:02, J Decker wrote: > > > On Mon, Sep 10, 2018 at 6:05 AM wrote: > >> How does a

Re: [v8-users] Netwrok v8

2018-09-10 Thread J Decker
On Mon, Sep 10, 2018 at 6:05 AM wrote: > How does a signle process of the browser handle http and network traffic ? > Quite well. What are you actually seeking? It calls system libraries that provide sockets just like any other app ... > -- > -- > v8-users mailing list >