[v8-users] Debugging v8 itself

2010-06-10 Thread Vitali Lovich
Hey, I'm trying to hack on v8 & I'm trying to figure out how to examine the v8 variables. For example, I'm trying to figure out some string parameters that are passed to compile but they all come up as opaque types & I'm not sure how to retrieve the data from them. (gdb) p source.val_ $5 = (v8::S

Re: [v8-users] Re: calling v8 code from within signal handlers?

2010-06-11 Thread Vitali Lovich
I think I'm failing to see what you are trying to accomplish & why you are trying to add threads to the mix here? The way that the glib event loop works is as follows: while(run application) { select(fds, time remaining until next time-based event) if the fds have activity { respond to fds

Re: [v8-users] Re: calling v8 code from within signal handlers?

2010-06-11 Thread Vitali Lovich
don't need to wait until the timer fires next to be handled). On Fri, Jun 11, 2010 at 12:43 AM, Vitali Lovich wrote: > I think I'm failing to see what you are trying to accomplish & why you are > trying to add threads to the mix here? > > The way that the glib e

Re: [v8-users] Debugging v8 itself

2010-06-11 Thread Vitali Lovich
test.js > > > > 2010/6/11 Søren Gjesse : > > One option is to call one of the ShortPrint, Print or PrintLn methods on > > them (Print and PrintLn are only available in debug mode). That will > print > > their content to stdout. Note that this applies to the internal ob

Re: [v8-users] Re: calling v8 code from within signal handlers?

2010-06-11 Thread Vitali Lovich
& instead use something like GTK or Qt which have event loops provided for you. On Fri, Jun 11, 2010 at 7:45 AM, Stephan Beal wrote: > On Fri, Jun 11, 2010 at 9:45 AM, Vitali Lovich wrote: > >> Forgot to mention that this has the added benefit of not using CPU if >> there

Re: [v8-users] Re: calling v8 code from within signal handlers?

2010-06-11 Thread Vitali Lovich
rt, gui, help system, opengl, script, sql, designer, xml) takes 55 MB. On Fri, Jun 11, 2010 at 11:07 AM, Stephan Beal wrote: > On Fri, Jun 11, 2010 at 7:06 PM, Vitali Lovich wrote: > >> See, you have the same problem with signals. It is a really bad idea to >> use signals for your

Re: [v8-users] Re: Porting V8 to MINIX 3

2010-06-13 Thread Vitali Lovich
One trick would be to have cc as a symlink to GCC somewhere, & add that location to your path. E.g. (assuming bash) mkdir ~/bin ln -s `which gcc` ~/bin/cc PATH=$HOME/bin:$PATH scons Cheers On Jun 13, 2010, at 8:04 PM, pikpik wrote: > Hello, > > Progress: > > I've gotten SCons to recognize M

Re: [v8-users] Re: OOT Native Big Number for v8

2010-07-10 Thread Vitali Lovich
GMP is pretty good. Low-overhead, fast, & C++ binding. On Fri, Jul 9, 2010 at 6:30 PM, Kiswono Prayogo wrote: > thanks ^^ > On Sat, Jul 10, 2010 at 4:24 AM, pikpik wrote: > > Hi, > > > > Here's a list of arbitrary-precision libraries (for different > > languages; from Wikipedia): > > http://en

Re: [v8-users] C++ and Google Maps

2010-08-12 Thread Vitali Lovich
No v8 is not what you want. You want to just launch firefox with that webpage. On Thu, Aug 12, 2010 at 10:45 AM, Sam Petrocelli wrote: > I'll try to make this short. I have built an autonomous vehicle at my > University and would like to incorporate Google Maps into the source. > Java was the fi

Re: [v8-users] Re: C++ and Google Maps

2010-08-13 Thread Vitali Lovich
pt and my C > ++ code? Thanks. > > On Aug 13, 12:09 am, Vitali Lovich wrote: >> No v8 is not what you want. You want to just launch firefox with that >> webpage. >> >> On Thu, Aug 12, 2010 at 10:45 AM, Sam Petrocelli >> wrote: >> >>> I

Re: [v8-users] Re: 1GB memory limit

2010-08-25 Thread Vitali Lovich
I'd recommend opening a bug in v8's issue tracker so they're aware of this upstream. On Wed, Aug 25, 2010 at 4:35 AM, Bert Belder wrote: > Thanks for looking into it, I'll try the patch in a minute. > > In the short term it should help me because I do not need a lot more > memory than 1GB. The b

[v8-users] Preliminary RFC: Stabilizing the V8 script compiler cached data format

2021-07-19 Thread Vitali Lovich
Hi, I wanted to kick off a discussion and solicit some thoughts on whether it would be operationally feasible to try to stabilize the cached data format of the compiler. The context is that I work on Cloudflare Workers. We'd like to increase the script size we allow our customers to upload, but w

Re: [v8-users] Preliminary RFC: Stabilizing the V8 script compiler cached data format

2021-07-22 Thread Vitali Lovich
Thanks, Vitali - Leszek > > On Monday, July 19, 2021 at 9:00:52 PM UTC+2 lewis@gmail.com wrote: > >> Hi Vitali, >> >> I’m neither from the v8 team, nor an expert in this subject matter. Just >> wanted to drop an interesting project: Hermes - https://hermesengine.

[v8-users] Tell gclient

2021-03-15 Thread 'Vitali Lovich' via v8-users
Currently, a gclient sync downloads pre-built LLVM 12 binaries (hyperlink ). I'm curious if there's a way to configure gclient to sync a more complete version of the binaries t

[v8-users] Re: Tell gclient to download a more complete toolchain

2021-03-15 Thread 'Vitali Lovich' via v8-users
Apologies for the truncated subject. I accidentally forgot about filling it in more completely. On Monday, March 15, 2021 at 4:03:48 PM UTC-7 Vitali Lovich wrote: > Currently, a gclient sync downloads pre-built LLVM 12 binaries (hyperlink > <https://commondatastorage.googleapis.com