TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

JavaFX: Call to ARMs

34 点作者 youjiuzhifeng大约 9 年前

9 条评论

ysleepy大约 9 年前
I had hopes for JavaFX as well. But I dont see it soing places anymore without massive corporate backing. All the secondary APIs are pretty much clean-room designed and lack some consumer-developer insight on how its used. I encountered missing API surface, missing layout logic, huge feature holes etc.<p>The WebView is just unusable. It segfaults the JVM if you use it wrong, and I had like three different ways I did that. It is practically impossible to control the behaviour of the navigation and Network fetching, which I really need to do.<p>Also it is just way to slow. All the widgets are coded like they are the only thing the app is for and contain huge object trees for the simplest blip. CSS support was (there have been efforts lately) just very clunky and half done.<p>Passing Events to&#x2F;from a backend to the UI Model is still very clunky because of the Single Thread thing of the UI. It collides with the Binding semantics, which only really work inside one thread.<p>It really needs a slim down, and lots and lots of elbow grease to polish it into a state where it can be the base of a nice and big ecosystem.<p>The Design itself is rather modern and feels OK with Java8.
评论 #11739616 未加载
pron大约 9 年前
One irony regarding JavaFX is that the original JavaFX Script language[1] was probably among the best frontend languages ever created (better than TypeScript or Elm in many ways, IMO). It is powerful, typed, and easy for JS developers and designers to learn, plus it&#x27;s designed for CSS integration. When it was abandoned by Oracle (good decision), it was forked [2], maintained and improved for some time, and then withered. I hope someone would take it[3] and write a JavaScript&#x2F;HTML backend. It has pretty good tooling (IDE support) that could probably be used.<p>[1]: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;JavaFX_Script" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;JavaFX_Script</a><p>[2]: <a href="http:&#x2F;&#x2F;javafx.steveonjava.com&#x2F;accouncing-visage&#x2F;" rel="nofollow">http:&#x2F;&#x2F;javafx.steveonjava.com&#x2F;accouncing-visage&#x2F;</a><p>[3]: <a href="https:&#x2F;&#x2F;github.com&#x2F;visage-lang" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;visage-lang</a>
评论 #11739012 未加载
评论 #11739836 未加载
pjmlp大约 9 年前
For our customers it is all about WPF, Qt and Xamarin.Forms.<p>The few customers that still require Java desktop applications have no desire to move away from Swing.<p>I really don&#x27;t see a bright future for JavaFX.
incepted大约 9 年前
It&#x27;s always interesting to see the only people who ever talk about JavaFX are either Oracle employees or people who have a financial interest in JavaFX, such as the author of this piece whose business is based on JavaFX.
评论 #11740227 未加载
评论 #11739671 未加载
aksx大约 9 年前
disclaimer: I am not a java developer<p>a few months ago I wanted to write a small desktop app which i wanted to distribute for Linux, mac &amp; window in that order of priority. My first implementation was in Qt but faced significant problems with building for different platforms, providing binary files that would just work, etc.<p>JavaFx was the next choice and damn the development experience was amazing, it was fun to write even when i had no prior experience with either Java or JavaFx but distribution became a problem again, the JavaFx classes weren&#x27;t found on other peoples systems, people in the javafx irc told me that it should be available for everyone on jre 1.8 but alas no solution was found.<p>I finally shipped a electron app (shudders)<p>p.s. i found the javafxpackager but it didn&#x27;t work, i am doing something wrong definitely but there aren&#x27;t enough people talking&#x2F;writing about this that i could refer too.
bitmapbrother大约 9 年前
&gt;Throw in RoboVM who successfully AOT compiled Java byte codes to native Objective-C to facilitate Java running on iOS and others who contributed to the Android port, and we were now ready to take on the world!<p>I wonder if he knows the fate of RoboVM.
geodel大约 9 年前
With Oracle increasingly looking to win in Oracle vs Google court case JavaFX might have future after all.
crudbug大约 9 年前
Oracle can revive JavaFX, if they develop something like ReactFX, JavaFX target React. They have all the infrastructure with Nashorn, SceneGraph, etc.
michaelbuddy大约 9 年前
must be a rule that the vast majority of informational sites, blog sites, tutorial sites regarding Java look hideous. Looking up tutorial sites on JSF, this &#x27;great&#x27; front end coding framework and there&#x27;s not one site that can manage a nice looking website, not even barebones nice. All are hideous.
评论 #11739464 未加载