前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >.NET 基金会项目介绍-Peachpie Compiler Platform

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

作者头像
newbe36524
修改2023-09-21 14:42:10
9220
修改2023-09-21 14:42:10
举报

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
Quicklinks

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

其他项目地址

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2020-01-192,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 中文介绍
    • Peachpie Compiler Platform
      • 项目目标
        • 项目详情
        • 相关链接
    • 笔者简评
    • 英文介绍
      • Peachpie Compiler Platform
        • Project Goals
        • Project Details
        • Quicklinks
    • 其他项目地址
    领券
    问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档