0%

.NET 基金会项目介绍-Peachpie Compiler Platform

Peachpie Compiler Platform 是属于 .Net 基金会的一个项目,本文将简要介绍该项目相关的信息。

中文介绍

中文介绍内容翻译自英文介绍,主要采用意译、如与原文存在出入,请以原文为准。

Peachpie Compiler Platform

Peachpie 是一款能够运行于 .Net 和 .Net Core 之上的编译器和运行时,它基于 Rosyln 进行构建。

该项目的目标是能够完全保持和 PHP 语言的兼容性,包括 PHP 7.1 和未来的发行版。

项目目标

  • 更佳的性能: 基于 Peachpie 的广泛的类型分析以及 Microsoft Roslyn 的影响,能够提高 PHP 应用程序和组件的性能。
  • 优秀的安全: 因为程序将会运行在标准化的托管的 .Net 和 .Net Core 环境中,所以运行代码将被全面核查,不会出现不安全的异常行为。
  • 跨平台开发: 该项目将会把遗留的 PHP 代码编译为可移植类库,这使得开发者能够在微软平台上构建跨平台的应用和类库,
  • Full .NET compatibility: compiled programs run on the reimplemented Peachpie runtime, fully compatibly with the PHP runtime.
  • 完全于 .NET 兼容: 编译好的程序能够完美的兼容 Peachpie 和 PHP 运行时。
  • 支持双向互操作: 本项目使得创建混合 C# 语言和 PHP 语言应用成为可能,并且在应用中两者可以完美的相互操作,毕竟所有的内容都基于 .Net。

项目详情

相关链接

笔者简评

笔者没有用过,但我还是想说:这是明目张胆的套娃!(手动滑稽)

英文介绍

Peachpie Compiler Platform

Peachpie is a modern compiler and runtime of PHP for .NET and .NET Core,
built on top of Roslyn. It aims to be fully compatible with the PHP language, including PHP 7.1 and any newly released versions.

Project Goals

  • Increased performance: Peachpie’s extensive type analysis and the influence of Microsoft Roslyn should provide an improved performance of PHP applications and components.
  • Security: since programs run within the standardized and manageable .NET or .NET Core environment, the code is fully verifiable without any unsafe constructs.
  • Cross-platform development: the project compiles legacy PHP code into portable class libraries, enabling developers to build cross-platform apps and libraries for Microsoft platforms.
  • Full .NET compatibility: compiled programs run on the reimplemented Peachpie runtime, fully compatibly with the PHP runtime.
  • Both-way interoperability: the project allows for hybrid applications, where parts are written in C# and others in PHP. The parts will be entirely compatible and can communicate seamlessly, all within the .NET framework.

Project Details

以上《英文介绍》摘录自 .NET Foundation 的项目介绍 。原文受原项目许可证保护。



其他项目地址

------ 本文结束------