Home

Analysis without metrics
is only an opinion.

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”

Compiled v8

several arm and arm64 pre-compiled and ready to use v8 versions.

Automata

Fully functional finite state machine library. Concepts and how-to.

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”

Android Java/Json converter

With runtime type reflection I’ve been working a long time with multiplayer web-based/Android/iOS games, and one common operation on the server side or native clients is Json conversion to Java and vice versa. For such repetitive tasks I created a runtime reflection-based system to aid me in the process. Serialization is straightforward. Just recursively visitContinue reading “Android Java/Json converter”

Node.js module globals

Everyone that required a Node.js module realised that the module globals keep local to the module and don’t pollute the global namespace. From a Nodejs standpoint, this is fairly easy. Since in Javascript a function creates an scope, a module source code is then wrapped in a javascript function like: This function uses the same javascript contextContinue reading “Node.js module globals”

Change object default toString value in Javascript

For any javascript object, e.g.: A call obj.toString() will by default yield: [object Object] . Some other objects, like the browser Window object, will yield: [object Window] if printed on dev tools. We can force a value different than [object Object] by executing this: Now, obj will be identified as: Tagging special objects has never been easier than this. Addendum The native side of things would lookContinue reading “Change object default toString value in Javascript”

About me

This is a blog about random brain dumps on programming. Mostly things that have been useful to me over the years. In my career I have been cofounder of a couple failed startups, manager, but above all software engineer. As such, I face daily challenges that can be for sure blueprinted, and this is theContinue reading “About me”