Iron Ruby 还是 Iron Python 哪种动态 .NET 语言更值得学习?

发布于 2024-07-04 21:47:33 字数 147 浏览 7 评论 0原文

我想花一些时间来了解有关在 DLR 之上构建的动态语言的更多信息,但我不确定哪种语言更好学。

由于时间有限,我真的只有时间看学习其中的一个。

从长远来看,这两者(Iron Ruby 或 Iron Python)中哪一个更有用,有什么意见吗?

I'd like to take some time to learn more about dynamic languages built on top of the DLR and I'm not sure which language would be better to learn.

Having limited time, I really only have time to look learn one of them.

Any opinions on which of the two (Iron Ruby or Iron Python) would be more useful in the long run?

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

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

发布评论

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

评论(6

海之角 2024-07-11 21:47:33

正如其他人所说,IronPython 更加稳定和成熟,您可以找到更多示例和大量常规 Python 代码供您尝试。

IronRuby 很棒,但要注意:要尝试它,您需要从 SVN 获取代码并自行编译。 或者您可以下载动态 Silverlight SDK 并以这种方式获得它,但您必须花费有时也学习这个环境。

As other said, IronPython is more stable and mature, and you can find more samples and lots of regular Python code that you will be able to try out.

IronRuby is great but beware: to try it you need to get the code right from the SVN and compile it by yourself. Or you can download the Dynamic Silverlight SDK and get it that way, but you'll have to spend sometime learning this environment also.

对岸观火 2024-07-11 21:47:33

无论您选择哪一个,都可以看看 IronEditor - 它非常适合玩耍。 我目前正在使用它来尝试自己学习这些语言......

Whichever you choose, take a look at IronEditor -- it's great for playing around. I'm currently using it to try and pick up those languages myself...

墨洒年华 2024-07-11 21:47:33

我现在会选择 IronPython,因为有很多关于它的书籍/信息 (IronPython In Action 刚刚完成)。

我个人会学习 IronRuby,因为与 Python 相比,我更喜欢 Ruby 的工作方式,并且因为它是相同的语言之一,所以选择您喜欢的语言。

I would go for IronPython at the moment since there are plenty of books/information around for it (IronPython In Action is just getting finished up).

I would personally learn IronRuby because I prefer the way Ruby works over Python and since it's one of the same then choose which language you prefer.

じее 2024-07-11 21:47:33

我只想提一下,还有一个 DLR 版本的 Javascript(JScript),这是我个人最喜欢的。 如果你正在寻找一种新的语言来学习 dlr 的使用,我建议使用上面提到的ironpython,它在 dlr 方面走得更远。 Python 在 dlr 之外的 gui 编程中也相当流行,并为 mvc Web 应用程序提供了 Django。

这纯粹是主观的,但我认为红宝石的受欢迎程度正在减弱。 从长远来看,我觉得它会像 perl 一样,被使用和尊重,但与其他选项相比只是九牛一毛。 我碰巧真的很喜欢 ruby​​(和 perl),但不建议将其作为实现您预期目的的新途径。

I just want to mention that there is also a DLR version of Javascript(JScript), which is my personal fav. If you are looking for a new language to learn for dlr use, I'd suggest ironpython as mentioned, it is farther along in terms of the dlr. Python is also fairly popular outside the dlr for gui programming, and offers Django for mvc web apps.

This is purely subjective, but I think that ruby popularity is waning a bit. In the long run I feel it will be like perl, used and respected, but a drop in the bucket compared to other options. I happen to really like ruby (and perl), but wouldn't suggest it as a new path for your intended purpose.

泪是无色的血 2024-07-11 21:47:33

在不考虑这些语言的相对优点的情况下(这本身就是一场彻底的比赛),IronPython(稳定版 1.1.1,测试版 2.0)在开发方面比 IronRuby(alpha)走得更远

Without getting into the relative merits of the languages (which would be an entire pissing contest in itself), IronPython (stable 1.1.1, beta 2.0) is further along in development than IronRuby (alpha)

就此别过 2024-07-11 21:47:33

如果这是“哪种语言在 CLR 上运行得更好”,那么现在,IronPython 毫无疑问胜出。

但从长远来看,“哪种语言会教我更多,并在我作为程序员的职业生涯中为我提供更好的服务”,我肯定会说 IronRuby(CPython 与 CRuby 也是如此)

Ruby 会让你接触更多“概念” ' 比 python 更自由,因为它在处理 lambda 函数、代码块、eval 等方面更加自由。

无论如何,这很可能会陷入一场口水战。 对不起

If this is 'Which language runs better on the CLR,' then right now, IronPython wins hands down.

For the long term though, 'which language will teach me more, and serve me better in my career as a programmer', I would definitely say IronRuby (this would be true of CPython vs CRuby also)

Ruby will expose you to more 'concepts' than python does, due to it being more liberal in how it handles things like lambda functions, code blocks, eval, and so on.

Anyway, this is probably going to descend into a flame-war. Sorry

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