3 个仓库
Libraries that replicate the data structures and memory management of a specific language environment.
Distinct from Runtime Libraries: Distinct from low-level system runtime libraries: focuses on high-level language feature emulation.
Explore 3 awesome GitHub repositories matching operating systems & systems programming · Language Runtime Emulators. Refine with filters or upvote what's useful.
GopherJS is a cross-compiler toolchain that converts Go source code into JavaScript. It functions as a transpiler, enabling the execution of statically typed Go code within web browsers and other standard JavaScript runtime environments. The project provides a comprehensive implementation of the Go standard library, replacing system-level calls with browser-compatible APIs to maintain language semantics. It maps Go's memory allocation patterns and type definitions onto the host JavaScript engine, while utilizing source map generation to allow for debugging using original Go source files. By
Implements core language primitives like goroutines and channels using JavaScript-based scheduling and state management.
Grumpy is a native binary compiler that transforms Python source code into Go source code. By transpiling high-level scripts into a strongly typed intermediate representation, the system enables the creation of statically linked native binaries that operate independently of a traditional virtual machine interpreter. The project distinguishes itself by providing a comprehensive runtime library that replicates standard Python data structures and object behaviors. This emulation layer ensures that compiled code maintains functional parity with the original source environment while leveraging the
Replicates standard language data structures and behaviors to ensure functional parity in compiled binaries.
j2objc 是一个源到源编译器和转译器,将 Java 源代码转换为 Objective-C。它作为一个跨平台逻辑移植工具,允许在 Java 中编写的应用程序逻辑和数据模型在 iOS 上共享和执行。为了支持这种转换,该项目提供了核心 Java 类和 API 的 Objective-C 实现,以模拟 Java 运行时环境。 该系统包括针对 Java 库的专门转换,并提供对依赖注入和静态分析注解的映射以保留元数据。它还支持将 JUnit 测试转换为可执行二进制文件,以验证移动硬件上的逻辑一致性。 为了优化生成的 iOS 应用程序,该项目提供了用于检测未使用代码和消除死代码的工具。它还允许用手写的原生实现替换自动转换的类,以提高执行速度。
Implements core Java classes and standard APIs in Objective-C to provide a compatible runtime environment on iOS.