In-memory compilation