要寫一個desktop cross platform的軟件

你會選那一種language/library 呢? qt , java... 或有其他更好的選擇?

本帖最後由 無忌 於 2012-5-22 13:25 編輯
你會選那一種language/library 呢? qt , java... 或有其他更好的選擇?
ridethewave 發表於 2012-5-22 09:00 AM


That's a good question! Obviously you have done your homework and have narrowed it down to only two best choices. Another good choice could be Python depending on your needs. (Some people think Python is not for large applications. To some degree it is true, but depends on how you define large. I used it for a 32-threaded video encoding application with GUI that runs on a 32 cores monster machine)

I would personally take Qt over Java for its efficiency. Here is a pretty good Qt vs Java comparison:

http://turing.iimas.unam.mx/~ele ... java-whitepaper.pdf

TOP

本帖最後由 seasky 於 2012-5-23 10:40 編輯

Qt base on C++, 效能快會唔會應該呢?
問題係 base on C++, 啲 object 會唔會比較難handle?  定係全部用晒 smart pointer,  好似 C#, Java 咁唔洗煩呢?
<-- 補充:-->
on 原來入面有講, 再睇下先

但又見到別一個問題, 佢個 example 係將 new listview item 時直接比 root node 入去, append 入 root node.  自然少左 code.
但其他 language 點解唔咁做呢?  咁做有乜利弊, 可以請師兄指教下嗎?

TOP

我會用adobe air.

TOP

但又見到別一個問題, 佢個 example 係將 new listview item 時直接比 root node 入去, append 入 root node.  自然少左 code.
但其他 language 點解唔咁做呢?  咁做有乜利弊, 可以請師兄指教下嗎?


As the paper explains, Swing enforces the use of MVC architecture. Qt supports MVC too, although it's not mandatory. MVC is a good example of separation of concerns and it makes the code easier to develop, troubleshoot, and maintain. Since both Qt and Swing support MVC, there is no significant difference. Syntax and implementation of GUI toolkits are not really all that important. I think the author orders the other important aspects quite well. In other words, programmer efficiency goes first, language efficiency second, then libraries and tools.

TOP

回復 4# kenfive33

Adobe air 好似 drop 左 linux support, 最多都係 99% cross platform ...

TOP

本帖最後由 heiko 於 2012-5-23 14:53 編輯

如果要 cross platform 我都係
第一時間 諗 java 同 qt
第二時間 係 邊個穩定 同 邊個升級多D
第三時間 係 邊個有更多合適自己用的 Library
第四時間 係 邊隻比較多 programmer 用

For 我自己 我選左java :>

剛剛睇左 無忌個 PDF  (p.s. 多謝 無忌 分享)
我打D 野都係 repeat左 :P

不過我又諗到多小小 可以比你參巧一下
1. Program integration, scalability? ( 而家係 Desktop Application, 將來會吾會變左 web application?)
2. Maintenance effort? (e.g. 搵Ref or study // or 易請人develop)
3. Code security? ( 要吾要 Gen license? //  要吾要做 code obfuscation 之類的東東?)
4. Existing framework? (其實你可以當有無library // e.g. Eclipse Process Framework (EPF) )

TOP

回復 1# ridethewave

both Java ,  C++/Qt  are good options.
solely depending on your preference
if you prefer performance or a more native feel -> C++/Qt

besides, think if your application can be done using web technology instead (every platform has good web browsers,  html/css/javascript are pretty fast and powerful thesedays, plus it is cross platform and easy to create a cloud experience

TOP

話時話, 有無咩 tools 寫完個 source,  可以 compile比 iOS 同 android 用?
am ................... html 應該可以, 但除左 html 呢?

TOP

話時話, 有無咩 tools 寫完個 source,  可以 compile比 iOS 同 android 用?
am ................... html  ...
seasky 發表於 2012-5-23 15:39

沒..等你開發

TOP