DEV Community

Yuki Kimoto - SPVM Author
Yuki Kimoto - SPVM Author

Posted on

SPVM 0.9676 is released

SPVM 0.9676 is released.

New Features and Enhancement

Changes

0.9676 2022-01-03
  [New Features]
    * Added the following constant values of Native API.

      1 SPVM_NATIVE_C_TYPE_FLAG_REF
      2 SPVM_NATIVE_C_TYPE_FLAG_MUTABLE
    * Added the following Native APIs.
      void* (*get_compile_type_name_raw)(SPVM_ENV* env, SPVM_VALUE* stack, int32_t basic_type_id, int32_t dimension, int32_t flag);
      void* (*get_compile_type_name)(SPVM_ENV* env, SPVM_VALUE* stack, int32_t basic_type_id, int32_t dimension, int32_t flag);
    * Added the get_method_is_enum Runtime Native API.

      int32_t SPVM_API_RUNTIME_get_method_is_enum(SPVM_RUNTIME* runtime, int32_t method_id);
    * Added the following Runtime Native APIs.

      int32_t (*get_type_flag)(SPVM_RUNTIME* runtime, int32_t type_id);

  [Warning Fix]
    * Fixed the following warning on FreeBSD.
        warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
      if (!strcmp(dumpc, "undef") == 0) {
  [Incompatible Bug Fix]
    * Fixed the return type of the SPVM object the get_type_name_raw and get_type_name native API.
      [Before]
      byte[]

      [After]
      string

    * Fixed the return type of the SPVM object the concat_raw and concat native API.
      [Before]
      byte[]

      [After]
      string

    * Fixed the return type of the SPVM object the new_string_nolen_raw and new_string_nolen native API.
      [Before]
      byte[]

      [After]
      string

  [Test Improvement]
    * Added the tests of get_class_parent_class_id, get_method_required_args_length, get_method_required_args_length Runtime Native APIs.
  [Improve Exception Messages]
    * Improve the exception messages of Exchange 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)