Good language & framework for cross platform (windows & mac) desktop application [closed]

走远了吗. 提交于 2019-12-03 10:09:24

Don't do it. If you need to go cross-platform, write the main guts of your application in a business logic layer that doesn't depend on any GUI framework and then use the native platform API to finish each app.

Your users will thank you.

I'd choose an open alternative and I'd try to avoid vendor lock-in. As Richard said, "if you've mastered Java/Swing why not use it again?"

I've used RealBasic from RealSoftware for a few things just to play with it. It can get expensive if you need the pro version. It will allow you to build a stand alone binary for Linux, MacOS X, or Windows. I'm more of a server side guy but it was pretty straight forward to create the few tools I wanted to try making with it.

Qt

I'm a big fan of wxWidgets. My only experience with it is with C++.

A combination of Python, wxPython, py2exe and py2app is what I typically fall back on. I've recently had a run with AIR, and it isn't that bad.. so Flex might work for you.

Flex/AIR is a platform with a lot of potential. It's also a lot prettier than anything Java or .NET.

I personally use Tcl/Tk because it is remarkably powerful and because deployment is a non-issue (with starkits and starpacks you can wrap all program resources -- images, sounds, dll/.so files, etc -- into a single executable file).

Tcl's not for everyone though -- some people find its simplicity a little hard to grok.

Ignore Flex it's not programming IMO. If you can code Java I'm pretty certain that FLex will be a disappointment. Flex has a place, I don't really consider it a proper programming environment.

If you've mastered Java/Swing why not use it again? I would.

.NET can be portable - but IME it's not quite as easy to move stuff about as it is with Java (although it is better than it used to be).

Also, does it have to be desktop - I would seriously consider (a properly architected) rowser based desktop application.

Eclipse RCP works. The result is decent on Windows and acceptable on Mac. It tends to be sluggish on Mac because of the high memory requirements though.

C# with Framework .Net can be good not only for Windows but for Linux with Mono.

Microsoft have a CLI that work on MAC OSX10.2.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!