- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我将 Unity 与 Visual Studio 结合使用,它非常棒。但我对 .NET、Mono 和 Unity 之间究竟有何关联感到困惑。这些说法对还是错?
最佳答案
- .Net frameWork was not designed to be cross plateform.
取决于您是否希望在其中包括 Linux。如果您问 .NET 最初是否设计用于面向 Linux,那么,不是。然而,.NET Compact Framework 允许 .NET 代码运行 Xbox 360 和 Windows Phone。
现在有 .NET Core,这是一个专为跨平台(特别是 Windows、Mac 和 Linux)设计的免费开源框架。
- The .Net frameWork goal is to design programs in a unified way, and they must all run and a virtual machine.
是的。正确的术语是 Execution Engine 顺便说一句,不是 VM,尽管它们都属于同一类。不要将 EE 视为类似于 vmWare 的东西,其中 CPU 指令被不断 模拟。 .NET 与 Java 类似,是 p 代码的一种形式,但是 .NET 程序集是 JIT 到当前 CPU 的,以提高性能并在 CPU 上本地运行。 [1]
- Mono is an open source version of .Net frameWork, designed to be cross plateform. Programs built with it can run wherever there is a mono virtual machine.
是的。 .NET Core 也有同样的说法。 [4]
- Programs built with mono frameWork can not run, or are not fully compatible with .Net virtual machine.
Mono Framework 的多个版本并不是等效的 .NET Framework 的 1:1。
例如
- Unity only use Mono frameWork, either in editing, building and running games.
不正确。 Unity 还使用 Unity Script 编写游戏。
然而,无论您选择何种语言,运行时都有很大的不同。当通过 Unity Web Player 定位网络浏览器时,没有 .NET/Mono EE。该平台是 Unity Web Player。从这个意义上说,目标平台上不需要 .NET/Mono。 [3]
- Games built with Unity have embeded mono framework and /or mono virtual machine.
不正确,见上文
- I don't need to have .Net frameWork for building or running Unity games.
正确
- The C# scripts i wrote in Unity are run by a mono virtual machine, before and after build time. All the Unity engine public code library is c++ wrapped and are not actually C#, thus they are running on c++ side engine.
不正确,您选择使用哪种语言编写 Unity 游戏与运行时是否存在 .NET/Mono EE 之间没有关联。
- The mono frameWork tools and library are run in game with a mono virtual machine.
视情况而定。
- Dll built with .Net frameWork are not fully compatible with mono.
不正确。 Mono 可能与等效的 .NET Framework 完全兼容,也可能不完全兼容。 [2]
1 "Is the CLR a Virtual Machine?" ,MSDN
2 Compatibility ,单声道
3 How does the Unity Web Player work? , 知乎
4 .NET Core Framework - Go Cross-Platform with the .NET Framework ,MSDN
关于c# - Unity 中的 Mono 与 .NET,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48614657/
Mono 适合开发服务器应用程序,还是只适合开发桌面应用程序?我想用 C# 为 Linux 开发服务器应用程序。我想用 C#/XNA 编写一个第一人称射击 (FPS) 游戏,并且我有一个 Linux
今天我的 Ubuntu 将 Mono 更新到了 4.2.1.102。它不会允许我绝对需要运行的某个程序。如何将其降级到 4.0.5.1?我已经尝试过了... sudo apt-get install
我最近一直在使用 Java 中的 react 器库和 Spring 框架学习响应式(Reactive)编程,并且在很大程度上我已经能够掌握它。然而,我发现自己多次遇到同样的情况,并希望得到一些关于我哪
虽然 Mono 支持对我们来说不是什么大问题,但我认为 OpenRasta 支持它,因为它有一些关于它的提交消息.. 好吧,我尝试在 Mono 上构建它并获得了模棱两可的类型引用(在手动创建了 10
如何使用单声道嵌入调用创建通用 List 对象?我可以得到 List 的 MonoClass: MonoClass* list = mono_class_from_name(mscorlibimage
我正在考虑使用 Mono.Cairo 作为轻量级 CAD 系统的基础。 但不知道表现如何。 CAD 系统产生了很多 重绘并且可以在其中包含大量数据和大量文本。 如果不是开罗,那么欢迎任何其他建议。 我
我花了一周的时间尝试让我的 XSP 服务器处理简单的静态内容:html 页面、js 文件、gif、jpegs 等...没有 ASP.NET。当使用浏览器浏览此页面时,该服务器总是随机崩溃。我的环境是:
我想确定构建和安装当前 Mono 运行时的版本(如何在 Git 中正确调用它?)。 $ dmcs --version Mono C# compiler version 2.9.0.0 但这绝对不够。
关闭。这个问题是off-topic .它目前不接受答案。 想改善这个问题吗? Update the question所以它是 on-topic对于堆栈溢出。 10 年前关闭。 Improve this
我已经在 ubuntu 14.0 lts 中下载并安装了 vscode,并包含了现有的 node.js 项目。首先认为我必须使用 vscode 调试我的应用程序,为此我必须调试(ctrl+shift+
嗨,我刚刚开始学习响应式编程 我这里有这段代码,我的流程应该是我将调用 tokenRepository 来获取 token ,然后使用 token.getAccessToken() 用作 cardRe
几天来,我一直在尝试在 Centos 6.3 上运行的 XSP 2.10 软件包中获取 mono 3.0 和 nginx 1.2.4 和 fastcgi-mono-serverX ...XSP4 服务
我正在尝试使用 Mono 创建一个 Mac 包。当我执行时: mkbundle file.exe --deps -o FILE 我在编译过程中得到了这个: fatal error: "
Mono 2.0 was just officially released .您认为最重要的单一功能是什么? 最佳答案 Windows.Forms 绝对领先...这可能是我最兴奋的功能。 LINQ-t
我正在将我的应用程序更新到 ios6,但我遇到了以下问题 无法通过架构构建应用程序 支持 ARMv6 + ARM v7 但仅支持 ARM v7(错误是 iOS6 与 ARM v6 不兼容)。这意味着我
你好,我有 CentOS,我正在尽我最大的努力更新 Mono,我目前有 1.2.4 版,我试图通过 xbuild 编译一些东西,但我想它不起作用,因为我正在使用旧版本的单声道。 请在将任何指南链接到我
我正在尝试使用以下代码创建包含名称(作为标签)和关闭按钮(作为带有图像的按钮)的新 GTK Notebook 选项卡: Label headerLabel = new Label(); headerL
我正在为需要使用 AppleScript 的 OSX 编写一个单声道应用程序。我正在使用 AppleScript class from the Monodevelop source大多数情况下都可以正
我正在尝试构建一个控制台应用程序来测试 redis/mono 通信。我一直在使用 Monodevelop 4.0 (Xamarin Studios)+Nuget Port 在 mac os 上与 Se
为了摆脱软 float 与硬 float ABI 问题,我尝试在我的 Raspberry Pi 上安装最新版本的单声道 git clone https://github.com/mono/mono.g
我是一名优秀的程序员,十分优秀!