New v8 compiled version

Just compiled and added to the repo of v8 versions 8.4.371.7. This version consistently crashed for arm, arm64 and x86 when the Isolate initialization process tried to set the logger up. I have disabled Isolate log capabilities, which is fine on my side, but could not be your case. As usual, I have added libraryContinue reading “New v8 compiled version”

Building a Javascript game Day 4

4 days in a row working on this little game. Everything starts to pay off, and at the same time, I am already feeling that recurrent thinking of giving up. After all, I doubt I will be able to finish the game in time (my own imposed schedule), and even worse, I doubt I couldContinue reading “Building a Javascript game Day 4”

Generic Javascript to Java bridge

When embedding v8, one of the pain points is how to call Java/Kotlin code from Javascript. It is not just a matter of setting a FunctionCallbackInfo<Value>, but also of dealing with JNI. While there are really impressive exercises for automating JNI code calls, these are only valid suitable when you know your JNI needs upfront,Continue reading “Generic Javascript to Java bridge”

Squeezing v8 startup time

On my day to day job, v8 in present most of the time. One philosophical foundation of our product is startup time, and all time taken from startup to the first frame drawn must be lowered as much as possible. This startup time is composed of many different steps, from GL context initialization, to scriptContinue reading “Squeezing v8 startup time”