Re: [v8-users] Modules and TypeScript in plain V8 embedding Project

2016-09-15 Thread d . wieland1073
I know that V8 doesn't support typescript. My question is, is it possible to use typescript and compile it to javascript that V8 does understand. I mean if I use typescript and for example modules in typescript and typescript translates them to common.js syntax then V8 cannot execute this. Are

Re: [v8-users] Modules and TypeScript in plain V8 embedding Project

2016-09-15 Thread Jochen Eisinger
V8 itself doesn't support typescript, you'll have to compile your sources to javascript first. We're currently working on native module support, but that's not yet ready for use, so if you want modules, you will need to implement a module loader yourself (as e.g. node.js does) On Thu, Sep 15,

Re: [v8-users] Building v8

2016-09-15 Thread Jochen Eisinger
by default, we build thin archives which are suitable for static linking against other apps, and yes, you will need the .o files around for that. If you'd rather have shared libraries (.so files), set the gn arg is_component_build = true br -jochen On Thu, Sep 15, 2016 at 5:07 PM Travis Sharp

Re: [v8-users] Problem getting V8 sources

2016-09-15 Thread Jochen Eisinger
Please set the env variable DEPOT_TOOLS_WIN_TOOLCHAIN to 0 and try again On Thu, Sep 15, 2016 at 3:44 PM Ivan Pizhenko wrote: > Actually, differs a bit but still similar to previous one. > > -- > -- > v8-users mailing list > v8-users@googlegroups.com >

[v8-users] Modules and TypeScript in plain V8 embedding Project

2016-09-15 Thread d . wieland1073
Hello, I try to embed V8 into a C/C++ program. I want to use TypeScript but I'm not shure if it is possible to do so in bare V8. I know it is possible in Node.js but I'm not sure if it is possible for V8 only. I also want to use "require" or "import" or the like to create modules and use them

[v8-users] Building v8

2016-09-15 Thread Travis Sharp
I've followed the current instructions for building v8 with GN on https://github.com/v8/v8/wiki/Building%20with%20GN but after further inspection it looks as if the build only links the .o output instead of creating libraries for use in other applications. Am I missing a step or is this intended?

Re: [v8-users] Problem getting V8 sources

2016-09-15 Thread Ivan Pizhenko
Actually, differs a bit but still similar to previous one. -- -- v8-users mailing list v8-users@googlegroups.com 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

Re: [v8-users] Problem getting V8 sources

2016-09-15 Thread Ivan Pizhenko
I get the same error: L:\v8-build>L:\\depot_tools\\python276_bin\\python.exe v8/gypfiles/landmines.py Please follow the instructions at https://www.chromium.org/developers/how-tos/build-instructions-windows Traceback (most recent call last): File "v8/gypfiles/landmines.py", line 245, in

Re: [v8-users] v8 crashes in garbage collection.

2016-09-15 Thread Ben Noordhuis
On Thu, Sep 15, 2016 at 2:40 AM, Jane Chen wrote: > What's a good low value to set for gc_interval for debugging purpose? 1? 10? Depends on how patient you are. :-) 1 is the most rigorous but it runs 100-1000x slower. 10, 25 or 50 are reasonable trade-offs. -- --

Re: [v8-users] Problem getting V8 sources

2016-09-15 Thread Jochen Eisinger
If you manually run L:\\depot_tools\\python276_bin\\python.exe v8/gypfiles/landmines.py what error message do you get? On Wed, Sep 14, 2016 at 4:11 PM Ivan P. wrote: > I am attempting to get V8 sources to build on Windows, using VS2013. OS is > Win2008 Server R2 x64. >