I'm not sure what the issue could be. Calling FFI functions definitely works properly. The problem must be in the bridge itself.
Perhaps we can take a look at this together tomorrow.
- Maxime
I moved the heap size to a compilation parameter so that the v8 version could have a 1GB heap (Math.pow(2,30) in initRuntime, compiler/bootstrap.js) without having a multiplication overflow when we try to run boostrapped.
I was able to get to the bridge calling where we try to allocate a second heap but I get an Error 11. I guess there is a bug in the (bootstrapped) FFI.
This is on the master branch.
Erick
Le 11-03-17 18:18 , Marc Feeley a écrit :
Tachyon gives:
t> function f() { return "hello!"; }
t> print(typeof f) object
t> print(f instanceof Function) true
and V8 gives:
d8> function f() { return "hello!"; } d8> print(typeof f) function d8> print(f instanceof Function) true
Someone needs to fix that...
Marc
Tachyon-list mailing list Tachyon-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/tachyon-list
Tachyon-list mailing list Tachyon-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/tachyon-list