rvscript | Fast RISC-V-based scripting backend for game engines
kandi X-RAY | rvscript Summary
kandi X-RAY | rvscript Summary
rvscript is a C++ library. rvscript has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
This repository implements a game engine oriented scripting system using libriscv as a backend. By using a fast virtual machine with low call overhead and modern programming techniques like compile-time programming we can have a fast budgeted script that lives in a separate address space. The guest environment is modern C++20 using GCC 10.2 with an option for enabling RTTI and exceptions. Several CRT functions have been implemented as system calls, and will have native speeds. There is also Nim support and some example code. The example program has some basic example timers and threads, as well as multiple machines to call into and between. The repository is a starting point for anyone who wants to try to use this in their game engine. In no uncertain terms: This requires compiling ahead of time, and there is no JIT, although that means you can use it on consoles. I have no issues compiling my script on WSL2 or any Linux.
This repository implements a game engine oriented scripting system using libriscv as a backend. By using a fast virtual machine with low call overhead and modern programming techniques like compile-time programming we can have a fast budgeted script that lives in a separate address space. The guest environment is modern C++20 using GCC 10.2 with an option for enabling RTTI and exceptions. Several CRT functions have been implemented as system calls, and will have native speeds. There is also Nim support and some example code. The example program has some basic example timers and threads, as well as multiple machines to call into and between. The repository is a starting point for anyone who wants to try to use this in their game engine. In no uncertain terms: This requires compiling ahead of time, and there is no JIT, although that means you can use it on consoles. I have no issues compiling my script on WSL2 or any Linux.
Support
Quality
Security
License
Reuse
Support
rvscript has a low active ecosystem.
It has 44 star(s) with 3 fork(s). There are 4 watchers for this library.
It had no major release in the last 12 months.
There are 2 open issues and 2 have been closed. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of rvscript is v0.9
Quality
rvscript has no bugs reported.
Security
rvscript has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
rvscript is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
rvscript releases are available to install and integrate.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rvscript
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rvscript
rvscript Key Features
No Key Features are available at this moment for rvscript.
rvscript Examples and Code Snippets
No Code Snippets are available at this moment for rvscript.
Community Discussions
Trending Discussions on rvscript
QUESTION
ResponsiveVoice - avoid hardocoding API key into index.html
Asked 2020-Dec-13 at 11:55
As per the documentation my page has to contain
...ANSWER
Answered 2020-Dec-13 at 11:55The trick is to create the tag loading the library on the fly and inject it into the DOM only when we need it. The idea here is that we create a function that we can call on the pages where we need the third-party library and dynamically create and inject the tag into the of the application.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rvscript
Install cmake, git, clang-11, lld-11 or later for your system. You can also use GCC-10 or later.
Support
Follow this to install WSL2 on Windows 10: https://docs.microsoft.com/en-us/windows/wsl/install-win10. There is nothing different that you have to do on WSL2. Install dependencies for GCC, then clone and install the RISC-V toolchain like above. It will just work. Install clang-11 if you want a separate compiler that can build RISC-V binaries. Note that you must build the RISC-V toolchain regardless as we need all the system headers that C++ uses. You must be on the latest Windows insider version for this at the time of writing.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page