Re: [v8-users] Arraybuffer

2018-09-28 Thread dan Med
I appreciate your help, but still i can't seem to just understand the stack calls and if i do that then i like to understand what thing should i do in the code to get v8 execute those lines, well if my prievous question is out of scope for v8-users how can i understand how they work ? There is no d

Re: [v8-users] Arraybuffer

2018-09-28 Thread dan Med
is because there will be a file to read or what. Il giorno ven 28 set 2018 alle ore 09:50 dan Med ha scritto: > Yes, i was looking at something like this ^^ > > Il giorno ven 28 set 2018 alle ore 07:06 Caitlin Potter > ha scritto: > >> You can find places where ArrayBufferB

Re: [v8-users] Help

2018-09-28 Thread dan Med
u'll see that your behavior is SIGNIFICANTLY out of line with community > expectations. > > On Thursday, September 27, 2018 at 2:05:16 PM UTC-7, dan Med wrote: >> >> yes under the WTF directory >> >> Il giorno gio 27 set 2018 alle ore 22:55 J Decker ha >>

Re: [v8-users] Arraybuffer

2018-09-28 Thread dan Med
Yes, i was looking at something like this ^^ Il giorno ven 28 set 2018 alle ore 07:06 Caitlin Potter ha scritto: > You can find places where ArrayBufferBuilder::Append is called, by looking > for the ArrayBufferBuilder symbol on cs.chromium.org. > > For example, here’s one use of it: > https://c

Re: [v8-users] Help

2018-09-27 Thread dan Med
yes under the WTF directory Il giorno gio 27 set 2018 alle ore 22:55 J Decker ha scritto: > > > On Thu, Sep 27, 2018 at 10:50 AM dan Med wrote: > >> When v8 calls the arraybufferappend method ? >> > ARRAYBUFFERAPPEND IS NOT DEFINED IN V8 IT IS NEVER CALLED. > &g

Re: [v8-users] Arraybuffer and arraybufferbuilde

2018-09-27 Thread dan Med
What i'm looking generally is how to understand the code in general and by this i mean the following So processes in chrome talk to each other via the IPC, other than reading the source code which just scratched the surface i want to understand from the lowest point of the implementation and then n

Re: [v8-users] Help

2018-09-27 Thread dan Med
copying the number of bytes *bytes_to_save* FROM *data* (from > the start) > > > into a specific offset from the array > yes, into a specific offset from the start of the array *Buffer->Data* > > This isn't a v8 specific question, so you may get a better response for

Re: [v8-users] Arraybuffer

2018-09-24 Thread dan Med
When is it called ? On Thu, 20 Sep 2018 at 07:03, dan Med wrote: > Ok but then can someone give me a big picture of the directories ? And how > the code is generally structured ? > Or how is ArrayBufferBuilder:append called ? > > On Thu, 20 Sep 2018 at 00:14, Peter Schow wro

Re: [v8-users] Arraybuffer

2018-09-19 Thread dan Med
Ok but then can someone give me a big picture of the directories ? And how the code is generally structured ? Or how is ArrayBufferBuilder:append called ? On Thu, 20 Sep 2018 at 00:14, Peter Schow wrote: > On Wed, Sep 19, 2018 at 2:36 PM dan Med wrote: > > This is how I see it atm >

Re: [v8-users] Arraybuffer

2018-09-19 Thread dan Med
the renderer process is v8 called ? Or when WebKit is executing UI things v8 is also running JavaScript code ? Last thing is when ArrayBufferBuilder:append is called ? On Wed, 19 Sep 2018 at 18:39, dan Med wrote: > Ok so when is arraybufferbuilde:append called ? > > On Wed, 19 Sep 2018

Re: [v8-users] Arraybuffer

2018-09-19 Thread dan Med
his is a question that should be on www.stackoverflow.com > e) Please do not reply to this message. (at least regarding this new topic) > > > On Tuesday, 18 September 2018 21:15:42 UTC+1, dan Med wrote: > >> I was reading this code but i can't figure outwhat av_.

Re: [v8-users] Arraybuffer

2018-09-18 Thread dan Med
segoto fail;}} h->is_streamed = 1;s->fd = fd;freeaddrinfo(ai);return 0; fail:if (cur_ai->ai_next) { /* Retry with the next sockaddr */cur_ai = cur_ai->ai_next;if (fd >= 0) closesocket(fd);ret = 0;goto restart

Re: [v8-users] Arraybuffer

2018-09-18 Thread dan Med
I know that i might have written the same thing over and over again but i didn't get an answer (which i really need) When is ArrayBufferBuilder::Append called ? Thank you Il giorno sab 15 set 2018 alle ore 12:34 dan Med ha scritto: > That’s all. > > On Fri, 14 Sep 2018 at 21:53,

Re: [v8-users] Arraybuffer

2018-09-15 Thread dan Med
That’s all. On Fri, 14 Sep 2018 at 21:53, dan Med wrote: > I don’t understand how that code could be helpful to me.. > > On Fri, 14 Sep 2018 at 21:51, dan Med wrote: > >> Technica question, when Arraybufferbuilder:append will be called ? >> >> On Fri, 14 Sep 201

Re: [v8-users] Arraybuffer

2018-09-14 Thread dan Med
I don’t understand how that code could be helpful to me.. On Fri, 14 Sep 2018 at 21:51, dan Med wrote: > Technica question, when Arraybufferbuilder:append will be called ? > > On Fri, 14 Sep 2018 at 01:14, Peter Schow wrote: > >> On Thu, Sep 13, 2018 at 10:45 AM dan Med wrot

Re: [v8-users] Arraybuffer

2018-09-14 Thread dan Med
Technica question, when Arraybufferbuilder:append will be called ? On Fri, 14 Sep 2018 at 01:14, Peter Schow wrote: > On Thu, Sep 13, 2018 at 10:45 AM dan Med wrote: > > That isn’t my question > > Arraybufferbuilder:append how could I get that to be called. > > Wh

Re: [v8-users] Arraybuffer

2018-09-13 Thread dan Med
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 wrote: > > > On Thu, Sep 13, 2018 at 9:21 AM dan Med wrote: > >> Still no one ? >> > I dont know how I

Re: [v8-users] Arraybuffer

2018-09-13 Thread dan Med
Still no one ? On Thu, 13 Sep 2018 at 16:31, dan Med 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 arraybu

Re: [v8-users] Arraybuffer

2018-09-13 Thread dan Med
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

Re: [v8-users] Arraybuffer

2018-09-13 Thread dan Med
No one is willingly to help me ? On Wed, 12 Sep 2018 at 20:34, dan Med 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 l

Re: [v8-users] Arraybuffer

2018-09-12 Thread dan Med
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 < jkumme...@chromium.org> ha scritto: > On Wed, 12 Sep 201

Re: [v8-users] Arraybuffer

2018-09-12 Thread dan Med
, dan Med 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 ? &g

Re: [v8-users] Arraybuffer

2018-09-12 Thread dan Med
Schow wrote: > On Tue, Sep 11, 2018 at 2:09 PM dan Med 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. > > -

Re: [v8-users] Arraybuffer

2018-09-11 Thread dan Med
Would you suggest to build v8 such that I can debug it as I want ? On Tue, 11 Sep 2018 at 12:44, dan Med wrote: > I've already read that guide and watched those videos, but i'm not > interested at a HIGH level definition, i wan't to see the hole picture > starting fr

Re: [v8-users] Arraybuffer

2018-09-11 Thread dan Med
t really helpful Il giorno mar 11 set 2018 alle ore 12:42 dan Med ha scritto: > Ok so to answer the memory side i believe i should build v8 and then debug > it and see the memory. > But another question arises, how is data/pointers or anything else > represented in memory ? There sho

Re: [v8-users] Arraybuffer

2018-09-11 Thread dan Med
Ok so to answer the memory side i believe i should build v8 and then debug it and see the memory. But another question arises, how is data/pointers or anything else represented in memory ? There should be i guide i hope ... Il giorno mar 11 set 2018 alle ore 12:41 dan Med ha scritto: >

Re: [v8-users] Arraybuffer

2018-09-11 Thread dan Med
st. > THEN you could browse the allocations and see WHERE everything is (I'm not > sure what use this would be to anyone who is working with more than 50mb of > ram though :) > > I would really encourage you to step through the code though! (find > script::compile and just step

Re: [v8-users] Arraybuffer

2018-09-11 Thread dan Med
ll point to a space in memory who's length is 10 bytes? Il giorno mar 11 set 2018 alle ore 09:43 dan Med ha scritto: > First of all, i'd like to say that for me the documentation is really. > useless from a real technical point of view. > So, what i'd like to understand

Re: [v8-users] Arraybuffer

2018-09-11 Thread dan Med
houghts, and try and answer some of the questions I've asked > in previous emails; I asked them to help guide you so people can help with > your problem! (I'm still not exactly sure what you're trying to do) > > > On Monday, 10 September 2018 22:55:51 UTC+1, dan Med wrote:

Re: [v8-users] Arraybuffer

2018-09-10 Thread dan Med
you have direct access to the buffer's buffercontents > via the bufferview...) > > Can you make your question a lot more specific? post some code? > > > On Monday, 10 September 2018 22:38:16 UTC+1, dan Med wrote: >> >> First, how big is the data member of the objec

Re: [v8-users] Arraybuffer

2018-09-10 Thread dan Med
; > If you're trying to work out where your script goes... arraybuffer isn't > the right place. > > > Do you NEED to know? What exactly are you trying to achieve? (take a step > back from the code and describe what you're trying to do; > > are you trying to

Re: [v8-users] Arraybuffer

2018-09-10 Thread dan Med
?l=225&ct=xref_jump_to_def&gsn=Data>(); } sorry for spamming emails, i will try to condensate more Il giorno lun 10 set 2018 alle ore 23:07 dan Med ha scritto: > Cause i saw the code but didn't find how it handles all the possible > javascript i might write into a script f

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 int

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 l

Re: [v8-users] Arraybuffer

2018-09-10 Thread dan Med
the entire v8 engine works... that's a > massive ask. A lot of people work on it, and there is a lot of work and > topics involved.Your best bet is reading the (limited) documentation on the > wiki, and read the blog posts https://v8project.blogspot.com/ which go into > quite

Re: [v8-users] Arraybuffer

2018-09-10 Thread dan Med
COPY_AND_ASSIGN <https://cs.chromium.org/chromium/src/base/macros.h?l=33&ct=xref_jump_to_def&gsn=DISALLOW_COPY_AND_ASSIGN>(ArrayBufferBuilder <https://cs.chromium.org/chromium/src/third_party/blink/renderer/platform/wtf/typed_arrays/array_buffer_builder.h?l=96&gs=kythe%253A%252F%2

Re: [v8-users] Arraybuffer

2018-09-10 Thread dan Med
nable me to call that funciton cause if u click u can't go any further than that, Il giorno lun 10 set 2018 alle ore 21:53 Jakob Kummerow < jkumme...@chromium.org> ha scritto: > On Mon, Sep 10, 2018 at 12:22 PM dan Med wrote: > >> I don't quite see if this google

Re: [v8-users] Arraybuffer

2018-09-10 Thread dan Med
You call foo() 100 times Il giorno lun 10 set 2018 alle ore 21:21 dan Med ha scritto: > I don't quite see if this google group is useful or not, everybody keeps > answering me with superficial things, i don't care about the trminology > like tell me which allocator it uses

Re: [v8-users] Arraybuffer

2018-09-10 Thread dan Med
which describes some javascript function, i don't understand where's the rest Il giorno lun 10 set 2018 alle ore 20:45 Jakob Kummerow < jkumme...@chromium.org> ha scritto: > On Sun, Sep 9, 2018 at 8:54 AM dan Med wrote: > >> Oh and one more thing, i've surfed p

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 sign

Re: [v8-users] Arraybuffer

2018-09-09 Thread dan Med
interpreter and the JIT compilers, one more thing i'd like to understand how the memory is handeled like how can i read about the JIT pages, or which memory allocator does v8 use and it's garbage collector Thank you ! Il giorno dom 9 set 2018 alle ore 17:51 dan Med ha scritto: >

Re: [v8-users] Arraybuffer

2018-09-09 Thread dan Med
s, that's the maximum value unsigned (an unsigned int) can be, but what > do you mean by, the source won't find it? > > On Monday, 3 September 2018 19:55:48 UTC+1, dan Med wrote: >> >> Can someone help me out? >> >> Il giorno sab 1 set 2018 a

Re: [v8-users] Arraybuffer

2018-09-03 Thread dan Med
Can someone help me out? Il giorno sab 1 set 2018 alle ore 15:30 ha scritto: > array_buffer_builder.cc in src / > third_party /blink > /renderer >

Re: [v8-users] Help

2018-09-03 Thread dan Med
Can someone help me out ? Il giorno dom 2 set 2018 alle ore 11:26 ha scritto: > memcpy(static_cast(buffer_->Data()) + bytes_used_, > data,bytes_to_save); > > with this memcpy is it copying from data which is a const char pointer n > bytes_to_save into the array buffer_ or into a specific offset

Re: [v8-users] Built

2018-08-14 Thread dan Med
Hi can you help me ? 2018-08-12 23:52 GMT+02:00 'Jakob Kummerow' via v8-users < v8-users@googlegroups.com>: > The official build instructions are at https://github.com/v8/v8/ > wiki/Building-with-GN. They work. > > That said, V8 implements ECMAScript, and as such has no idea about HTML or > the

Re: [v8-users] Built

2018-08-13 Thread dan Med
Is anyone online? 2018-08-13 20:21 GMT+02:00 dan Med : > Hi can you help me build the v8 engine ? > > On Mon, 13 Aug 2018 at 12:52, dan Med wrote: > >> Now invio running again the fetch command, already did the depot tools >> part and gclient >> >> On Mon,

Re: [v8-users] Built

2018-08-13 Thread dan Med
Hi can you help me build the v8 engine ? On Mon, 13 Aug 2018 at 12:52, dan Med wrote: > Now invio running again the fetch command, already did the depot tools > part and gclient > > On Mon, 13 Aug 2018 at 00:13, dan Med wrote: > >> Yes but by compiling v8 I should be abl

Re: [v8-users] Built

2018-08-13 Thread dan Med
Can someone maybe build the entire chromium and then still be able to debug only v8 alone or things like that ? 2018-08-13 19:14 GMT+02:00 dan Med : > CAN SOMEONE HELP ME OUT THANK YOU ! > > 2018-08-13 18:47 GMT+02:00 dan Med : > >> how is it possibile that the instruction are

Re: [v8-users] Built

2018-08-13 Thread dan Med
CAN SOMEONE HELP ME OUT THANK YOU ! 2018-08-13 18:47 GMT+02:00 dan Med : > how is it possibile that the instruction are so poorly written > > > 2018-08-13 18:47 GMT+02:00 dan Med : > >> no i want to build it without node.js >> >> >> 2018-08

Re: [v8-users] Built

2018-08-13 Thread dan Med
how is it possibile that the instruction are so poorly written 2018-08-13 18:47 GMT+02:00 dan Med : > no i want to build it without node.js > > > 2018-08-13 18:41 GMT+02:00 dan Med : > >> so ? >> >> >> 2018-08-13 15:28 GMT+02:00 dan Med : >> >>

Re: [v8-users] Built

2018-08-13 Thread dan Med
no i want to build it without node.js 2018-08-13 18:41 GMT+02:00 dan Med : > so ? > > > 2018-08-13 15:28 GMT+02:00 dan Med : > >> so..i could build v8 with node.js and then will i be abe to throw V8 >> under a common debugger such as (lldb or gdb) ' >> >

Re: [v8-users] Built

2018-08-13 Thread dan Med
so ? 2018-08-13 15:28 GMT+02:00 dan Med : > so..i could build v8 with node.js and then will i be abe to throw V8 under > a common debugger such as (lldb or gdb) ' > > > 2018-08-13 14:58 GMT+02:00 J Decker : > >> there is Node which uses V8 and runs JS only >

Re: [v8-users] Built

2018-08-13 Thread dan Med
pt. > > On Mon, Aug 13, 2018 at 5:05 AM dan Med wrote: > >> how can i move forward it has beeen a month since i tried to build >> this... >> >> 2018-08-13 14:04 GMT+02:00 dan Med : >> >>> it gave me this error again >>> and said go look at

Re: [v8-users] Built

2018-08-13 Thread dan Med
how can i move forward it has beeen a month since i tried to build this... 2018-08-13 14:04 GMT+02:00 dan Med : > it gave me this error again > and said go look at this link https://chromium. > googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md > > 2018-08-

Re: [v8-users] Built

2018-08-13 Thread dan Med
it gave me this error again and said go look at this link https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md 2018-08-13 14:03 GMT+02:00 dan Med : > Anyone online > > > 2018-08-13 12:52 GMT+02:00 dan Med : > >> Now invio running ag

Re: [v8-users] Built

2018-08-13 Thread dan Med
Anyone online 2018-08-13 12:52 GMT+02:00 dan Med : > Now invio running again the fetch command, already did the depot tools > part and gclient > > On Mon, 13 Aug 2018 at 00:13, dan Med wrote: > >> Yes but by compiling v8 I should be able to debug javascript pages >>

Re: [v8-users] Built

2018-08-13 Thread dan Med
Now invio running again the fetch command, already did the depot tools part and gclient On Mon, 13 Aug 2018 at 00:13, dan Med wrote: > Yes but by compiling v8 I should be able to debug javascript pages > > On Sun, 12 Aug 2018 at 23:53, 'Jakob Kummerow' via v8-users < >

Re: [v8-users] Built

2018-08-13 Thread dan Med
I really justneed to build v8 can't do it :( 2018-08-13 12:46 GMT+02:00 dan Med : > Ok i will try now so > 1 install GN > 2 do the git part but here i have a problem when i type the fetch v8 > after a while it will eventually ask for a username and a pasword... > >

Re: [v8-users] Built

2018-08-13 Thread dan Med
d the "GN" link was broken. I just fixed that. > > > On Mon, Aug 13, 2018 at 11:45 AM dan Med wrote: > >> Look i just pressed GN to download it, and the page returns a 404 >> >> >> 2018-08-13 11:34 GMT+02:00 dan Med : >> >>> k i will

Re: [v8-users] Built

2018-08-13 Thread dan Med
While doing the first step with git after the fetch command at a certain point it asks for a username and password. 2018-08-13 11:46 GMT+02:00 dan Med : > You see i can't go any further > > 2018-08-13 11:45 GMT+02:00 dan Med : > >> Look i just pressed GN to do

Re: [v8-users] Built

2018-08-13 Thread dan Med
You see i can't go any further 2018-08-13 11:45 GMT+02:00 dan Med : > Look i just pressed GN to download it, and the page returns a 404 > > > 2018-08-13 11:34 GMT+02:00 dan Med : > >> k i will follow the link thank you, if will encounter any problem i will >> wri

Re: [v8-users] Built

2018-08-13 Thread dan Med
Look i just pressed GN to download it, and the page returns a 404 2018-08-13 11:34 GMT+02:00 dan Med : > k i will follow the link thank you, if will encounter any problem i will > write u back > > > 2018-08-13 11:25 GMT+02:00 'Jakob Kummerow' via v8-users <

Re: [v8-users] Built

2018-08-13 Thread dan Med
k i will follow the link thank you, if will encounter any problem i will write u back 2018-08-13 11:25 GMT+02:00 'Jakob Kummerow' via v8-users < v8-users@googlegroups.com>: > Yes. > > On Mon, Aug 13, 2018 at 11:15 AM dan Med wrote: > >> Yes, with v8 i want to

Re: [v8-users] Built

2018-08-13 Thread dan Med
ed to build Chromium, or anything else for that matter. Just > install regular Google Chrome, it contains DevTools. > > What does "invoking the JIT compilers" have to do with debugging? > > On Mon, Aug 13, 2018 at 11:08 AM dan Med wrote: > >> I really think that i don

Re: [v8-users] Built

2018-08-13 Thread dan Med
I really think that i don't need to build the entire chromim right now i need v8 only 2018-08-13 11:08 GMT+02:00 dan Med : > I will follow your link mentioned above the only thing i'm looking at > is will i be able to invoke the JIT compilers... > > 2018-08-13 1

Re: [v8-users] Built

2018-08-13 Thread dan Med
I will follow your link mentioned above the only thing i'm looking at is will i be able to invoke the JIT compilers... 2018-08-13 10:27 GMT+02:00 dan Med : > Like launch v8 under a debugger and pass as an argument a page that > contains javascript > > > 2018-08-13 10:

Re: [v8-users] Built

2018-08-13 Thread dan Med
Like launch v8 under a debugger and pass as an argument a page that contains javascript 2018-08-13 10:25 GMT+02:00 dan Med : > something like lldb or gdb to see the memory... > > 2018-08-13 10:19 GMT+02:00 'Jakob Kummerow' via v8-users < > v8-users@googlegroups

Re: [v8-users] Built

2018-08-13 Thread dan Med
; On Mon, Aug 13, 2018 at 12:13 AM dan Med wrote: > >> Yes but by compiling v8 I should be able to debug javascript pages >> >> On Sun, 12 Aug 2018 at 23:53, 'Jakob Kummerow' via v8-users < >> v8-users@googlegroups.com> wrote: >> >>> The

Re: [v8-users] Built

2018-08-12 Thread dan Med
Yes but by compiling v8 I should be able to debug javascript pages On Sun, 12 Aug 2018 at 23:53, 'Jakob Kummerow' via v8-users < v8-users@googlegroups.com> wrote: > The official build instructions are at > https://github.com/v8/v8/wiki/Building-with-GN. They work. > > That said, V8 implements ECM