CPython 还是 IronPython?

发布于 2024-07-27 20:12:18 字数 1433 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

〆凄凉。 2024-08-03 20:12:18

使用CPython,使用IronPython,您必须绑定到.Net平台,该平台没有太多的跨平台支持,linux上有mono,但仍然适用于跨平台应用程序,我不推荐.Net。

所以我的建议是使用 CPython,对于 GUI 使用 wxPython/PyQT 这样的框架,你会很高兴。

Use CPython, with IronPython you are bound to .Net platform which do not have much cross platform support, mono is there on linux but still for a cross platform app, I wouldn't recommend .Net.

So my suggestion is use CPython, for GUI use a framework like wxPython/PyQT and you would be happy.

明月夜 2024-08-03 20:12:18

如果您喜欢/需要使用.net框架,请使用ironpython,否则CPython是您的选择

(或者您可以尝试PyPy:))

if you like/need to use .net framework, use ironpython, else CPython it's your choice

(or you can try PyPy :))

極樂鬼 2024-08-03 20:12:18

我只能想到一个远程可以忍受的“跨平台”GUI 应用程序(firefox),而我所看到的任何地方,人们都在疯狂地抱怨它。

如果您想做跨平台,请构建一个漂亮、可靠的模型来完成您需要完成的工作,并构建使用它的特定于平台的 GUI。

我不知道 wxpython 或 pyqt 在 Windows 和 Linux 上的容忍度如何,但是在 OS X 上你从普通的 cocoa 中得到的越多,构建起来就越困难,使用起来就越不愉快。

I can only think of about one "cross platform" GUI app that's remotely tolerable (firefox), and people are complaining wildly about it everywhere I look.

If you want to do cross platform, build a nice, solid model that can do the work you need done and build platform-specific GUIs that use it.

I don't know how tolerable wxpython or pyqt are on Windows and Linux, but the further you get from plain cocoa on OS X, the harder it gets to build and the less pleasant it gets to use.

睡美人的小仙女 2024-08-03 20:12:18

cpython 是基于本机运行时的 python,,,它对托管操作系统具有精简的运行时级别,
ironpy 是基于 python 的软 vm,,,它在 dotnet vm 中嵌入了一个重型软解释器,,总体称为 clr

,,,cpython 本身就是一种脚本语言,,它专注于语言,而 Ironpy 是使用 clr 完成,,,其中 clr 是主要要素,,然后是 Ironpy 语言本身,,,它专注于 clr 平台...

查看 hellogameprogramming.net 了解更多详细信息

cpython is native runtime based python,,,it has a thin runtime level to the hosting os,
ironpy is soft vm based python,,,it has a heavy soft interpter embeded in the dotnet vm,,which is called clr

overall,,,cpython is made to be a scripting language natively,,it focus on the language,while ironpy is made to accomplished with clr,,,where clr is the main essisal,,then the ironpy language itself,,,it focus on the clr platform...

check hellogameprogramming.net for more details

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文