我如何选择我的下一个语言 [英] How do i choose my next language

查看:88
本文介绍了我如何选择我的下一个语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

经过Delphi / Pascal的长期经验,我想我需要继续使用另一种语言来支付
。德尔福太有限了(它已经死了)。以下是我对某种语言的要求:



不得被jitted或解释(这标志着C#,Java和Python)

应该更容易适应我(我= delphi程序员)

必须面向对象

制作GUI应该很容易。

必须有交叉编译器(我需要Linux和Windows)



我尝试过:



我尝试过适应C ++,但我不喜欢它。我喜欢C#,但我需要速度,C#是jitted。

After A long experience with Delphi/Pascal, I think I need a to move on to
another language. Delphi is just too limited (and it's dying). The following are my requirements for a language:

Must not be jitted or interpreted (this marks out C#, Java, and Python)
Should be easier to adapt for me (me=a delphi programmer)
Must be object oriented
Making GUI should be easy.
Must have a cross-compiler (I'll need Linux and Windows)

What I have tried:

I've tried adapting to C++, but I just don't like it. I like C#, but I need speed, and C# is jitted.

推荐答案

你的'musts'列表会抛出任何东西(至少在主流语言中)但是 C ++ ,在我看来。
Your list of 'musts' throws out anything (at least in mainstream languages) but C++, in my opinion.


我认为这取决于你想用这种语言做什么以及你想要做什么把你的事业带向。



C#和Java是主流的GUI语言,C#实际上非常快,我说比Java快(它本质上是Java的改进版本,它来了之后作为MS对Java的回应)。尽管如此,Java仍然是用户应用程序的主流。 C ++本身并不是所有GUI友好的,但是你可以使用一堆GUI库(真的尝试过它们)。您必须构建一个特定的目标arch,因此不能本地跨平台(即Win二进制文件不能在Linux上本地运行,反之亦然)与C#和Java相比。



Python在Windows上可能不那么受欢迎,但它对Linux用户来说风靡一时。 Python流行的部分原因在于它可以像任何C / C ++程序一样快(通过C / C ++扩展)。由于几乎所有的Linux发行版都附带了Python,所以你也很确定它在Linux中很方便(你必须在Win上安装它)。还有Python的GUI库,但我没有太多使用它们。它们基于C / C ++库,所以基本上你有相同的功能(基于GTK / Qt)。
I think it's going to depend on what you want to do with this language and where you're trying to take your career towards.

C# and Java are the mainstream GUI languages, C# is actually pretty darn fast, I'd say faster than Java (it's essentially an improved version of Java, it came out afterwards as MS response to Java). With that said though, Java is pretty mainstream for user applications. C++ itself isn't all that GUI friendly but there are a bunch of GUI libraries that you can utilize (tried and true really). You'd have to build for a specific target arch so not natively cross-platform (i.e. a Win binary won't run on Linux natively and the other way around) vs C# and Java.

Python is probably not as popular on Windows but it is all the rage for Linux users. Part of the popularity of Python is that it can be made to be as fast as any C/C++ program (through C/C++ extensions). Since just about any and every Linux distro comes with Python, you're also pretty sure to have it handy in Linux (you'd have to install it on Win). There are GUI libs for Python as well but I haven't used them much. They are based on the C/C++ libs so essentially you have the same functionality (GTK/Qt based).


这篇关于我如何选择我的下一个语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆