The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.9511_01 - 2021-04-19

  • CHANGE
    • Add Point module.
    • Improve method call error message.
    • Add --dynamic-lib option to spvmcc. spvmcc can create a dynamic library.
    • Add --static-lib option to spvmcc. spvmcc can create a static library.
    • Cache method id, field id, class variable id in precompile.
  • NON BACKWORD COMPATIBLE CHANGES
    • new_stack_trace_raw and new_stack_trace don't need file argument. File name got from class information. new_stack_trace_raw and new_stack_trace receive method id.
      • Before
        • void* (*new_stack_trace_raw)(SPVM_ENV* env, void* exception, const char* class_name, const char* method_name, const char* file, int32_t line); void* (*new_stack_trace)(SPVM_ENV* env, void* exception, const char* class_name, const char* method_name, const char* file, int32_t line);
      • After
        • void* (*new_stack_trace_raw)(SPVM_ENV* env, void* exception, int32_t method_id, int32_t line); void* (*new_stack_trace)(SPVM_ENV* env, void* exception, int32_t method_id, int32_t line);
    • Rename SPVM::Comparator::Object module to SPVM::Comparator module.
    • Native API "alloc_memory_block_zer" allocs memory for the envrironment, instead of the runtime
    • Native API "free_memory_block" frees memory for the envrironment, instead of the runtime
    • Native API "get_memory_blocks_count" gets the count of memory blocks for the envrironment, instead of the runtime

Documentation

SPVM compiler to create exe file
The Command to Generate SPVM Native Modules

Modules

Static Perl Virtual Machine. Fast Calculation, Fast Array Operation, and Easy C/C++ Binding.
Blessed object base class
Array based blessed object
Class based blessed object
String based blessed object
Bool object
Build SPVM program
SPVM Builder Public APIs
Compiler and Linker of Native Sources
Configurations of Compile and Link of Native Sources
Configurations of creating excutable files.
Create a Executable File
Object file information
Object file information
Build Utilities
Public APIs of the utility of SPVM Builder
Byte object
Dynamic Byte Array
A Interface Type to Clone a Object
A Callback Type to Clone a Object
A Callback Type for Object Comparation
A Callback Type for byte Comparation
A Callback Type for double Comparation
A Callback Type for float Comparation
A Callback Type for int Comparation
A Callback Type for long Comparation
A Callback Type for short Comparation
A Callback Type for string Comparation
double complex type
float complex type
SPVM Performance Benchmark
SPVM Exchange API
SPVM Language Specification
SPVM Standard Modules
SPVM Native APIs
SPVM Allocator Native APIs
SPVM Compiler Native APIs
SPVM Precompile Native APIs
SPVM Runtime Native APIs
SPVM String Buffer Native APIs
SPVM Performance Tutorial
Double object
Dynamic double array
A Callback Type to Check the Object Equality
a callback implementation of EqualityChecker to check if the memory addresses of the two objects are equal.
SPVM Exchange API
Float object
Dynamic float array
SPVM Starndard Functions
Hash Data Structure
Hash entry
Int object
Dynamic int array
Dynamic object array
Long object
Dynamic long array
Point object
Regular expression
Regular expression pattern
a callback type for the regex replacement
Short object
Dynamic short array
String buffer
Dynamic string array
A Interface Type to Stringify a Object
A Callback Yype to Stringify a Object
Time manipulation
Time information
SPVM Unicode Utilities.

Provides

in lib/SPVM/Builder/Generator/Lib.pm

Examples