DEV Community

Yuki Kimoto - SPVM Author
Yuki Kimoto - SPVM Author

Posted on

SPVM 0.9668 is released

SPVM 0.9668 is released.

New Features and Enhancement

Changes

0.9668 2022-12-20
  [New Features]
    * Added the items native API.

      int32_t (*items)(SPVM_ENV* env, SPVM_VALUE* stack);
    * Added the items operator.
    * Added the call_instance_method_static_by_name native API.

      int32_t (*call_instance_method_static_by_name)(SPVM_ENV* env, SPVM_VALUE* stack,
        const char* class_name, const char* method_name, int32_t args_stack_length,
        const char* file, int32_t line);

  [Incompatible Bug Fix]
    * Fixed the bug that env->get_args_stack_length returns the legnth of arguments, not the stack length of the arguments.
  [Compatible Internal Changes]
    * The CALL_METHOD opcode is separated into CALL_CLASS_METHOD, CALL_INSTANCE_METHOD_STATIC, and CALL_INSTANCE_METHOD_DYNAMIC.
  [Incompatible Changes]
    * Changed the name of the call_spvm_method native API to call_method.
    * Removed the following native APIs. Use call_method instead.

      -  int32_t (*call_class_method)(SPVM_ENV* env, SPVM_VALUE* stack, int32_t method_id, int32_t args_stack_length);
      -  int32_t (*call_instance_method)(SPVM_ENV* env, SPVM_VALUE* stack, int32_t method_id, int32_t args_stack_length);
    * Changed the definition of the call_instance_method_by_name native API.
Enter fullscreen mode Exit fullscreen mode

For Programming Beginners

What Is SPVM?

SPVM is a static typed programming language that can be installed from Perl/CPAN.

How potential dose SPVM have?

Growth is expected in the fields of Bio Tech, AI/ML, Apple/iPhone/iPad Apps, Google/Android Apps, IoT Device, Connected Car, Smart Device, Smart Home, etc.

This is because SPVM can produce an executable file that supports cross platforms and make easy to calculate arrays and bind C/C++

Top comments (0)