Code Monkey home page Code Monkey logo

duktape-framework's Introduction

duktape-framework

duktape-unity 不再持续维护, 后续使用 unity-jsb 替换 JS 运行时.

支持 async 等新ES标准, 并且提供了 worker api 等更多的 JS 常用 api 支持.

unity-jsb 直接基于 duktape-unity 修改开发.

基于 duktape-unity & UnityFS 的框架

unity-jsb 特性支持

  • 支持在JS异步函数中等待 Unity YieldInstruction 对象
  • 支持在JS异步函数中等待 System.Threading.Tasks.Task 对象 (limited support)
  • 向 JS 导入 C# 运算符重载 +, -, *, /, ==, -(负)
  • 支持 Websocket (limited support)
  • [初步] 支持 Worker (limited support)
  • [初步] 支持 XMLHttpRequest (limited support)
  • [初步] 未导出的类型通过反射方式进行 C#/JS 交互
  • [初步] 运行时替换 C# 代码 (hotfix, limited support)
  • [未完成] 支持 JS 字节码 (QuickJS)
  • [未完成] Webpack HMR 运行时模块热替换 (limited support, for development only)

duktape-framework's People

Contributors

ialex32x avatar

Watchers

James Cloos avatar

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.