[v8-users] Reduce V8 size by eliminating unused features

2021-01-29 Thread Tekman
Hi, Do you have any tips for reducing the size of an embedded V8 by removing unnecessary functionality (such as wasm or worker support)? Size on disk comes to mind since I presume runtime cost is already pay-for-play. We're looking for a basic ES6 runtime environment that is compact and effici

[v8-users] External UTF-8 String

2021-01-12 Thread Tekman
Hi, What is the most efficient way to compile a (large) script that is being passed in as an UTF-8 char buffer? The ExternalOwningOneByteStringResource is really nice for ASCII buffers, but it looks like for UTF-8 we need to copy the entire contents and covert with NewFromUtf8. It also looks l

[v8-users] Re: GN failure on Windows

2020-10-12 Thread Tekman
into depot_tools / gn / cpid / etc. because builds "just worked"™ for us until now. Thanks! On Saturday, October 10, 2020 at 1:29:37 PM UTC-7 Rodrigo Hernandez wrote: > > Hi Tekman, > > I've seen that error before, apparently there was a bug which allowed the > depe

[v8-users] GN failure on Windows

2020-10-07 Thread Tekman
Hi, After a recent depot_tools update, we're seeing this failure building LKGR 8.5: ERROR at //gni/v8.gni:179:3: Dependency not allowed. The item //src/inspector:inspector_string_conversions can not depend on //:features because it is not in //:features's visibility list: [ //.:* ] The comman

[v8-users] Re: UWP support

2020-03-16 Thread Tekman
m by this : gn help > target_os. > In my case, for example, the command over shows the list like below : > > Possible values > - "android" > - "chromeos" > - "ios" > - "linux" > - "nacl" > - "mac&qu

[v8-users] UWP support

2020-03-13 Thread Tekman
Hi, Is it possible to build V8 with UWP (Windows Store App) support? I found a couple of references to "winuwp" in BUILD.GN, but trying to build with *target_os="winuwp"* produces an error: gn gen .\v8\out\x64\UWP-Debug --args='v8_enable_i18n_support=false is_component_build=false v8_monolithi