Logo

dev-resources.site

for different kinds of informations.

SPVM 0.9680 is released

Published at
1/6/2023
Categories
spvm
perl
beginners
programming
Author
yukikimoto
Categories
4 categories in total
spvm
open
perl
open
beginners
open
programming
open
Author
10 person written this
yukikimoto
open
SPVM 0.9680 is released

SPVM 0.9680 is released.

New Features and Enhancement

Changes

0.9680 2022-01-07
  [New Features]
    * Added the pointer class desciptor. This is the same as the pointer_t descriptor.
    * Added the following Native APIs.
      +  void* (*new_pointer_object_raw)(SPVM_ENV* env, SPVM_VALUE* stack, int32_t basic_type_id, void* pointer);
      +  void* (*new_pointer_object)(SPVM_ENV* env, SPVM_VALUE* stack, int32_t basic_type_id, void* pointer);
      +  void* (*new_pointer_object_by_name)(SPVM_ENV* env, SPVM_VALUE* stack, const char* class_name, void* pointer, int32_t* error, const char* file, int32_t line);

  [Deprecation]
    * The pointer_t descriptor is deprecated because pointer_t is not type. Use the pointer descriptor instead.
    * The following Native APIs are deprecated.
      +  void* (*new_pointer_raw)(SPVM_ENV* env, SPVM_VALUE* stack, int32_t basic_type_id, void* pointer);
      +  void* (*new_pointer)(SPVM_ENV* env, SPVM_VALUE* stack, int32_t basic_type_id, void* pointer);
      +  void* (*new_pointer_by_name)(SPVM_ENV* env, SPVM_VALUE* stack, const char* class_name, void* pointer, int32_t* error, const char* file, int32_t l  [Incompatible Changes]
    * Removed the following Native APIs because a pointer class can have fields as the language feature.
      -  void* (*new_pointer_with_fields_raw)(SPVM_ENV* env, SPVM_VALUE* stack, int32_t basic_type_id, void* pointer, int32_t fields_length);
      -  void* (*new_pointer_with_fields)(SPVM_ENV* env, SPVM_VALUE* stack, int32_t basic_type_id, void* pointer, int32_t fields_length);
      -  void* (*new_pointer_with_fields_by_name)(SPVM_ENV* env, SPVM_VALUE* stack, const char* class_name, void* pointer, int32_t fields_length, int32_t* error, c
      onst char* file, int32_t line);
      -  int32_t (*get_pointer_no_need_free)(SPVM_ENV* env, SPVM_VALUE* stack, void* object);
      -  void (*set_pointer_no_need_free)(SPVM_ENV* env, SPVM_VALUE* stack, void* object, int32_t flag);
      -  int32_t (*get_pointer_length)(SPVM_ENV* env, SPVM_VALUE* stack, void* object);
      -  void (*set_pointer_length)(SPVM_ENV* env, SPVM_VALUE* stack, void* object, int32_t length);    
      -  int32_t (*get_pointer_fields_length)(SPVM_ENV* env, SPVM_VALUE* stack, void* object);
      -  int8_t (*get_pointer_field_byte)(SPVM_ENV* env, SPVM_VALUE* stack, void* object, int32_t field_index);
      -  int16_t (*get_pointer_field_short)(SPVM_ENV* env, SPVM_VALUE* stack, void* object, int32_t field_index);
      -  int32_t (*get_pointer_field_int)(SPVM_ENV* env, SPVM_VALUE* stack, void* object, int32_t field_index);
      -  int64_t (*get_pointer_field_long)(SPVM_ENV* env, SPVM_VALUE* stack, void* object, int32_t field_index);
      -  float (*get_pointer_field_float)(SPVM_ENV* env, SPVM_VALUE* stack, void* object, int32_t field_index);
      -  double (*get_pointer_field_double)(SPVM_ENV* env, SPVM_VALUE* stack, void* object, int32_t field_index);
      -  void* (*get_pointer_field_pointer)(SPVM_ENV* env, SPVM_VALUE* stack, void* object, int32_t field_index);
      -  void (*set_pointer_field_byte)(SPVM_ENV* env, SPVM_VALUE* stack, void* object, int32_t field_index, int8_t value);
      -  void (*set_pointer_field_short)(SPVM_ENV* env, SPVM_VALUE* stack, void* object, int32_t field_index, int16_t value);
      -  void (*set_pointer_field_int)(SPVM_ENV* env, SPVM_VALUE* stack, void* object, int32_t field_index, int32_t value);
      -  void (*set_pointer_field_long)(SPVM_ENV* env, SPVM_VALUE* stack, void* object, int32_t field_index, int64_t value);
      -  void (*set_pointer_field_float)(SPVM_ENV* env, SPVM_VALUE* stack, void* object, int32_t field_index, float value);
      -  void (*set_pointer_field_double)(SPVM_ENV* env, SPVM_VALUE* stack, void* object, int32_t field_index, double value);
      -  void (*set_pointer_field_pointer)(SPVM_ENV* env, SPVM_VALUE* stack, void* object, int32_t field_index, void* value);
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++

spvm Article's
30 articles in total
Favicon
How to create Mac GUI applications in SPVM?
Favicon
How to create a parallel echo server using goroutines in SPVM?
Favicon
How to generate an executable file for an AI program using SPVM ?
Favicon
SPVM::R - A Port of The R Language Features.
Favicon
SPVM::Resource::Eigen released
Favicon
SPVM Documentation
Favicon
How to use OpenMP from Perl with SPVM.
Favicon
How to use zlib (a C library) from Perl with SPVM
Favicon
SPVM::Digest::MD5 - MD5
Favicon
SPVM::MIME::Base64 - Base64 Encoding/Decoding
Favicon
SPVM::MIME::QuotedPrint - Quoted-Printable encoding/decoding
Favicon
SPVM::Math - Mathematical Functions
Favicon
SPVM
Favicon
SPVM::Sys now supports symbolic links on Windows, adds Perl-compatible API.
Favicon
SPVM now supports object-oriented programming in Perl
Favicon
First release of SPVM::Resource::RE2 Resourcing the regular expression library Google RE2
Favicon
First release of SPVM::File::Temp and SPVM::File::Find
Favicon
SPVM::File::Path and SPVM::File::Glob are newly released.
Favicon
First release of SPVM::File::Copy and SPVM::FindBin
Favicon
First release of SPVM::File::Spec - complex regular expressions, file tests, SPVM::Cwd, inheritance
Favicon
SPVM::File::Basename is released. This is the first module of SPVM using regular expressions.
Favicon
SPVM improved Exchange API at v0.9684. Welcome to this easy world of type conversion!
Favicon
SPVM supported self Compiler in 0.9683.
Favicon
SPVM 0.9680 is released
Favicon
SPVM 0.9677 is released
Favicon
SPVM 0.9676 is released
Favicon
SPVM 0.9672 is released
Favicon
SPVM 0.9670 is released
Favicon
SPVM 0.9669 is released
Favicon
SPVM 0.9668 is released

Featured ones: