To execute a Lox if statement, we used a Java if statement to run the chosen branch. That works, but isn’t entirely satisfying. By what magic does the JVM itself or a native CPU implement if statements? Now that we have our own bytecode VM to hack on, we can answer that.When we...
When all queries and statements are optimized, we can either add more resources (scale up) or adding more database nodes (scale out). Horizontal scaling requiresdatabase replication, which implies synchronizing nodes. Synchronous replication preserve strong consistency, while asynchronous master-slave re...
It does this by running periodic diff outputs against heuristically-crafted regex statements, to identify whether anynewsecret has been committed. This way, it avoids the overhead of digging through all git history, as well as the need to scan the entire repository every time. ...