docs: builder, business-delegate, bytecode, caching, callback, chain diagrams

This commit is contained in:
Ilkka Seppälä
2025-04-06 09:00:19 +03:00
parent 25f7bc6fea
commit d5a46be3c5
12 changed files with 25 additions and 12 deletions
+4
View File
@@ -31,6 +31,10 @@ In plain words
> An instruction set defines the low-level operations that can be performed. A series of instructions is encoded as a sequence of bytes. A virtual machine executes these instructions one at a time, using a stack for intermediate values. By combining instructions, complex high-level behavior can be defined.
Sequence diagram
![Bytecode sequence diagram](./etc/bytecode-sequence-diagram.png)
## Programmatic Example of Bytecode Pattern in Java
In this programmatic example, we show how the Bytecode pattern in Java can simplify the execution of complex virtual machine instructions through a well-defined set of operations. This real-world example demonstrates how the Bytecode design pattern in Java can streamline game programming by allowing wizards' behavior to be easily adjusted through bytecode instructions.
Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB