github PerryTS/perry v0.4.36

latest releases: v0.5.1220, v0.5.1219, v0.5.1206...
3 months ago

Performance

  • Object field lookup inline cachejs_object_get_field_by_name now uses FNV-1a hashing + 512-entry thread-local direct-mapped cache keyed on (keys_array_ptr, key_hash). Cache hits skip the linear key scan entirely.

Features

  • iOS/tvOS game loop reads NSPrincipalClass from Info.plist for custom UIApplication subclass (e.g., BloomApplication on tvOS which overrides sendEvent: for input)
  • tvOS Info.plist now includes UIApplicationSceneManifest with PerrySceneDelegate and NSPrincipalClass: BloomApplication
  • Tier 3 targets (tvOS/watchOS) automatically use cargo +nightly -Zbuild-std for compilation
  • iOS/tvOS linker adds -framework Metal -lobjc
  • ios-game-loop feature flag added to perry-runtime Cargo.toml

Bug Fixes

  • GTK4: ImageFile path resolution returned PathBuf but ImageKind::File expected String — added .to_string_lossy().to_string() conversion
  • Codegen: LocalInfo missing object_field_indices field in 3 constructors (closures.rs × 2, stmt.rs × 1) — caused build failure after struct field addition

Don't miss a new perry release

NewReleases is sending notifications on new releases.