mirkosertic/Bytecoder
关于
用于解释并将 JVM 字节码转译为 JavaScript、OpenCL 或 WebAssembly 的框架。
编程语言与运行时实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Bytecoder
Bytecoder is a Rich Domain Model for Java Bytecode and Framework to interpret and transpile it to other languages such as JavaScript, OpenCL or WebAssembly.
High Level Goals
- Ability to cross-compile JVM Bytecode to JavaScript, WebAssembly, OpenCL and other languages
- Primary compile targets are JavaScript and WebAssembly
- Supports Java 8 up to Java 20
- Work well with Debugger Toolchains and SourceMaps
- Allow integration with other UI-Frameworks such as vue.js
- Backed by OpenJDK 20 as JRE Classlib
Compiling strategies
The JVM Bytecode is parsed and transformed into an intermediate representation. This intermediate representation is passed thru optimizer stages and sent to a backend implementation for target code generation.
The JavaScript backend transforms the intermediate representation into JavaScript.
The WebAssembly backend transforms the intermediate representation into WebAssembly text and binary code.
The OpenCL backend is used to compile single algorithms into OpenCL and execute them on the GPU. This backend is designed to enhance existing programs running on the JVM to utilize the vast power of modern GPUs.
User Manual
The Bytecoder User Manual and a full set of example applications is available here.
探索相关项目
加载中…