01:47:31  * nigglerjoined
01:48:22  * nigglerpart
02:54:06  * abraxasquit (Ping timeout: 252 seconds)
03:26:12  * jaseemabidjoined
04:59:31  * jaseemabidquit (Ping timeout: 272 seconds)
05:46:15  * Petkajoined
06:20:21  * spolujoined
07:30:48  * Lethalmanjoined
07:51:42  * xan_joined
09:31:41  * muellijoined
09:31:59  * muelliquit (Remote host closed the connection)
09:32:23  * muellijoined
10:08:15  * bnoordhuisjoined
10:22:18  * Net147joined
10:31:34  * Net147quit (Quit: HydraIRC -> http://www.hydrairc.com <- Po-ta-to, boil em, mash em, stick em in a stew.)
10:41:26  * Net147joined
11:11:40  * Husiojoined
11:11:51  * Husiopart
11:15:00  * bnoordhuisquit (Ping timeout: 265 seconds)
11:21:03  * iamdustanquit (Ping timeout: 272 seconds)
12:14:06  * bnoordhuisjoined
12:23:17  * iamdustanjoined
12:42:56  * bnoordhuisquit (Ping timeout: 245 seconds)
12:46:04  * Net147quit (Quit: Try HydraIRC -> http://www.hydrairc.com <-)
13:11:00  * iamdusta1joined
13:12:25  * iamdustanquit (Read error: Connection reset by peer)
13:35:27  * carifquit (Quit: Ex-Chat)
13:41:36  * carifjoined
13:44:25  * carifquit (Read error: Connection reset by peer)
14:09:01  * bnoordhuisjoined
14:33:59  * bnoordhuisquit (Ping timeout: 268 seconds)
14:36:37  * jaseemabidjoined
14:41:57  * juanjosanchezjoined
14:43:21  * jaseemabidquit (Ping timeout: 245 seconds)
14:51:15  * juanjosanchezquit (Ping timeout: 245 seconds)
15:21:54  * RT|Chatzillaquit (Quit: ChatZilla 0.9.86.1 [Firefox 2.0.0.22pre/2009081014])
15:21:54  * bnoordhuisjoined
15:56:37  * Mikijoined
15:57:52  <Miki>Hey, had some conceptual questions about v8, if anyone can answer them.
16:05:26  * c4milojoined
16:12:48  * bnoordhuisquit (Ping timeout: 240 seconds)
16:29:54  * bnoordhuisjoined
16:32:48  * Lethalmanquit (Remote host closed the connection)
16:56:42  * juanjosanchezjoined
17:08:37  <bnoordhuis>Miki: shoot
17:11:26  * spoluquit (Ping timeout: 245 seconds)
17:27:31  * juanjosanchezquit (Ping timeout: 246 seconds)
17:47:20  <muelli>hm. So something is different wrt ConsStrings when v8 is in Debug mode. Does anybody know what, off the top of their heads?
18:05:24  * Lethalmanjoined
18:25:19  * Petkaquit (Quit: L�hd�ss�)
18:27:06  * c4miloquit (Remote host closed the connection)
18:27:39  * c4milojoined
18:32:27  * c4miloquit (Ping timeout: 272 seconds)
18:44:53  <Miki>bnoordhuis: Would be nice if I could get it comp[iling with MinGW first, but since it's not officially supported... *sigh*
18:46:34  <Miki>bnoordhuis: Anyway, I typically use another language called Angelscript, and it seems that alot of concepts in the V8 engine work similar to that, but not wuite.
18:46:37  <Miki>quite*
18:48:01  * muelliquit (Ping timeout: 246 seconds)
18:48:19  <Miki>like the Context objects. it seems like the V8 way of doing things is to construct Contexts on the fly and selectively expose object templates to that context.
18:48:29  <Miki>Am I right?
19:02:01  <bnoordhuis>Miki: yeah, that's about right
19:03:25  <Miki>So then in practice, I should store these templates?
19:04:44  <Miki>And how much overhead is there in instantiating a Context? In Angelscript, the common practice is to implement a pool of contexts and re-use them.
19:06:21  <Miki>But that is because creating a context is relatively expensive.,
19:15:59  <bnoordhuis>Miki: depends on your definition of 'expensive' i guess
19:17:45  <bnoordhuis>in v8, most of the heavy lifting is done by the isolate rather than the context
19:17:58  <bnoordhuis>meaning they're pretty cheap to create cpu-wise
19:18:20  <bnoordhuis>memory-wise it's a little more complicated, they have some overhead
19:19:07  <bnoordhuis>but i don't really have meaningful numbers for that. i'd suggest you run a few quick benchmarks for yourself to see whether the overhead is acceptable
19:21:37  <Miki>So conceptually, an Isolate contains the state of the currently running script?
19:21:53  <Miki>Similar to a lua_State instance?
19:23:29  <bnoordhuis>yeah, or a JSRuntime* in spidermonkey
19:24:00  <bnoordhuis>but not just the currently running script - all scripts that are executing in a context that belongs to the isolate
19:26:05  <Miki>So the relationship between Isolate->Context-.Script is one-to-many?
19:26:44  <Miki>How well does this behave in a threaded environment?
19:29:29  <bnoordhuis>depends on whether you lock appropriately :)
19:30:13  <bnoordhuis>if you call into an isolate from multiple threads, you need to make sure you hold the Locker object for it before doing so
19:30:34  <bnoordhuis>Locker's doc comments in v8.h go into some detail
19:32:55  <Miki>Alright, I'll have a look.
19:36:30  * c4milojoined
20:00:34  * juanjosanchezjoined
20:01:08  <Miki>Now.... as for building with MinGW...... has anyone successfuly done so?
20:03:10  * c4miloquit (Remote host closed the connection)
20:03:29  <bnoordhuis>Miki: you may want to check the v8-users mailing list. i believe it's come up a few times before
20:21:00  * juanjosanchezquit (Quit: Leaving)
20:23:44  * iamdusta1quit (Remote host closed the connection)
20:27:26  <Miki>bnoordhuis: Yeah, I found a few things, but there seems to be a problem with the build. maybe someone at Google checked in broken code? The problem occurs in circular-queue-inl.h, where it the compiler spits back "Expected primary expression before ')'" at every call to MemoryBarrier.
20:31:17  <bnoordhuis>Miki: probably means v8 is misdetecting your compiler
20:31:43  <Miki>lovely.
20:34:02  <bnoordhuis>Miki: probably trivial to fix though. the compiler sniffing happens in include/v8config.h iirc
20:49:16  * cha0squit (Read error: Connection reset by peer)
20:49:38  * iamdustanjoined
20:51:32  <Miki>Hacked around it for now. Another question, what is this d8 thing?
20:51:54  <bnoordhuis>Miki: the v8 shell
20:52:05  <Miki>so unneeded for embedding
20:54:16  * cha0sjoined
20:58:36  <bnoordhuis>Miki: if you use gyp for your own project, you can instruct it to build libv8 and nothing else
20:59:46  <bnoordhuis>come to think of it, you can probably get the makefile to do the same thing by overriding GYPFILES
21:01:49  * iamdustanquit (Ping timeout: 272 seconds)
21:11:20  * Lethalmanquit (Read error: Connection reset by peer)
21:15:32  * c4milojoined
21:24:07  <Miki>bnoordhuis: Figured it out. It seems that MemoryBarrier is already defined in my version of MinGW
21:28:38  <Miki>bnoordhuis: Submitted an issue about it.
21:41:12  <Miki>bnoordhuis: Also, thanks for the help. I gotta get going. Later.
21:41:15  * Mikiquit (Quit: Page closed)
21:46:16  * c4miloquit (Remote host closed the connection)
22:01:09  * juanjosanchezjoined
22:11:12  * RT|Chatzillajoined
22:21:49  * juanjosanchezquit (Read error: Connection reset by peer)
22:35:39  * iamdustanjoined
22:39:26  * bnoordhuisquit (Ping timeout: 240 seconds)
22:47:41  * iamdustanquit (Ping timeout: 272 seconds)
23:06:29  * carifjoined
23:45:51  * bnoordhuisjoined
23:50:50  * bnoordhuisquit (Ping timeout: 268 seconds)