SquirrelJME/SquirrelJME

View on GitHub
assets/developer-notes/stephanie-gawroriski/2014/10/27.mkd

Summary

Maintainability
Test Coverage
# 2014/10/27

***DISCLAIMER***: _These notes are from the defunct k8 project which_
_precedes SquirrelJME. The notes for SquirrelJME start on 2016/02/26!_
_The k8 project was effectively a Java SE 8 operating system and as such_
_all of the notes are in the context of that scope. That project is no_
_longer my goal as SquirrelJME is the spiritual successor to it._

## 01:50

One thing I dislike about the constant pool is that stuff that should be first
is not first, that is all of the constant stuff which does not rely on
everything else. That would make parsing a bit easier and much faster too. But
I suppose I will need lazy referencing of other constant pool entries if they
do reference other entries.

## 15:08

One good thing about ByteBuffer is the relative and absolute get with
position, makes reading the UTF constant data easy as I can just peek the
length then read a giant buffer to run through a DataInputStream.