Giter Site home page Giter Site logo

backend-v8's Introduction

Logo

license unreal unity PRs Welcome CI

What?

PuerTS is a TypeScript programming solution within game engines. | PuerTS是游戏引擎下的TypeScript编程解决方案

  • provides a JavaScript Runtime | 提供了一个JavaScript运行时

  • allows TypeScript to access the host engine by including: | 提供通过TypeScript访问宿主引擎的能力,包括:

    • module-binding on the JavaScript level | JavaScript层面的绑定
    • TypeScript declarations generation | TypeScript声明文件生成

Why?

  • Facililates game building processes by combining JavaScript ecosystem with the rendering power of professional game engines
  • JavaScript生态有众多的库和工具链,结合专业商业引擎的渲染能力,快速打造游戏
  • In contrast to lua script, TypeScript supports static type checking, which significantly improves code robustness and maintainability.
  • 相比游戏领域常用的lua脚本,TypeScript的静态类型检查有助于编写更健壮,可维护性更好的程序
  • High efficiency: supports reflection binding throughout the platform (engine) - no extra steps (code generation) needed for development.
  • 高效:全引擎,全平台支持反射Binding,无需额外(生成代码)步骤即可开发
  • High performance:supports static binding throughout the platform (engine) - takes care of complex scenes
  • 高性能:全引擎,全平台支持静态Binding,兼顾了高性能的场景
  • Talented WebGL Support: huge advantage in performance and dev efficiency compare to Lua.
  • WebGL平台下的天生优势:相比Lua脚本在WebGL版本的表现,PuerTS在性能和效率上都有极大提升。

Documentation | 官方文档

FAQ | 常见问题


How to Install | 最新版本安装

Changelog

Known issues | 已知问题与解决办法


Avaliable on these Engine | 引擎

  • unreal engine 4.22 ~ latest

  • unity 5 ~ latest

  • Any .net project | 任意.net环境

Available on these Platform | 平台

  • iOS
  • Android
  • Windows
  • Macos

Ask for help | 技术支持

Discord

Github Discussion

QQ群:942696334

UE4专属群:689643903

开发博客

知乎专栏

backend-v8's People

Contributors

chexiongsheng avatar zombieyang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

backend-v8's Issues

v8 jitless下性能问题

8.4.371.19版本,问题代码位于src/execution/runtime-profiler.cc

void RuntimeProfiler::MarkCandidatesForOptimization() {
  HandleScope scope(isolate_);

  if (!isolate_->use_optimizer()) return;

用于统计热点的函数,虽然检测到jitless后会返回,但问题开头有个HandleScope,这还是挺耗时的。

而看9.4.146.24,该处已经修复(use_optimizer判断提前)

9.4 compile fail in windows x86

error message:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\intrin.h(229): error C2732: linkage specification contradicts earlier specification for '__readfsdword'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\intrin.h(229): note: see declaration of '__readfsdword'

cause by:
https://github.com/v8/v8/blob/9.4.146.24/src/base/platform/platform.h#L45


上述注释中提到,引入intrin.h成本过大,且某些情况该头文件也没有__readfsdword,因此对该接口进行了重定义。

但github action的环境里却会include到intrin.h没错,且该头文件里又有__readfsdword。就导致了上述错误

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.