JavaFX/Silverlight/Javascript/Flash/Java性能比较

Java7和JavaFX介绍 文章写得比较全面,值得一看。推荐给大家。只收一分。没积分啦。 立即下载

以下为原文和我个人的翻译部分,欢迎指正翻译错误。真是含义请以英文为准。


JavaFX 1.0 final has been released. Go check out some samples at JavaFX.com .A quick performance test reveals that JavaFX is able to reach really good performance, which I was afraid it wouldn’t even though it is using the best performing VM there is underneath.
    JavaFX 1.0 最终版发布了。你可以在JavaFX.com 找到一些例子。一个性能测试的例子表明,JavaFX可以达到一个很好的性能,我曾经为此担心,即使他底部使用了最好的JVM.

  Now if they only could get rid of that java tray icon by default to…
   现在是否可以摆脱java的默认图标了...

  A simple performance test was created some time ago for Flash and Silverlight, also available as an JavaFX version . Here are some performance numbers from my laptop when increasing the input number by a factor 10:
  一段时间以前,创建了一个针对Flash和Sliverlight的简单性能测试,同样可以用于JavaFX版本。这里有一些从我的笔记本电脑在增加输入数据10倍时候的性能数据。

                                            
Technology Time
JavaFX 1.03.963s
Silverlight 2 C#4.257s
Flash 1027.840s
Javascript, Internet Explorer 7 ~20times slower than Chrome *
Javascript, Chrome22.989s
Java 63.948s
Java 6, interpreted22.973s

Result above are the best out of 4-5 runs.
  以上是最好的4-5次运行结果

  *= IE7 complains about slow running script. Using the default input number it takes just over 20s. Chrome does that in around 1s and JavaFX and Silverlight under 0.2s.
IE7 被抱怨运行脚本太慢了使用默认的数字,需要超过20秒,而Chrome完成大约需要1秒,JavaFX 和 Sliverlight 在0.2秒以下

  I think someone put it well when he/she said something along the lines of: Adobe people will continue to use flash/flex/air and dot-netters will use silverlight, but now the java-crowd has a choice that integrates better than everything else into their own environments. As java is the most widely used/popular programming platform that alone helps assure some amount of success… maybe.
  我觉得有人说得好时,他/她说了几句大意:Adobe 用户将继续使用flash/flex/air ,而 dot.net用户将使用 sliverlight. 但是现在的java人群里在自己的环境选择时集成的优先级高于别的。也许 java is the most widely used/popular programming platform 可以帮助他证明一点,也许。

  JavaFX really requires the latest and greatest java version, update 10 (update11 is also available now by the way) and with that I see JavaFX’s greatest advantage: It integrates fully with the normal java environment and provides true seamless web and desktop integration for both users AND developers. Server/Enterprise (and soon mobile)integration is also nice for the developers.
    JavaFX 确实需要最新的最大的java版本,Update 10(Update 11 也可以了),同时看到了JavaFX最大的进步:他完全和普通的java环境集成,为用户和开发者提供了基于桌面和Web应用的真正的无缝集成。服务器/ 企业(还有以后的移动设备)的集成对开发者也是一个好消息。

  Goodbye ajax.JavaFX, Silverlight and Flash just does it better and easier… Why restrict applications to html and a browser?! ;-)
    再见 Ajax, JavaFX、Sliverlight和Flash 做的更好,更简单。为什么要限制应用到HTML和浏览器?! ;-)

Java8新特性之JavaFX 8_动力节点Java学院 Java8新特性之JavaFX 8_动力节点Java学院,动力节点口口相传的Java黄埔军校 立即下载

相关推荐

基于Matlab的MIMO通信系统仿真_Simulink实现

瑞利衰落信道中使用空时分组码的BPSK调制的BER 1、2发1收 参数设置: 双极性信号元+1和-1,每符号含1bit; 采样时间=符号时间=1s; 采用基于数据帧的仿真计算模式,每帧中有2个采样值; 仿真时间=出现100个误码后停止仿真; 随机整数种子=22; Jakes衰落模型中每个信道上的多普勒频移=0.01Hz; 输人信号功率=2W; Alamouti码:两根发送天线,一根接收天线(分集阶= 2); 平均信道信噪比= 18dB; 仿真得出的误码率统计BER =0. 00017. 2、2发

太阳帅帅的博客 9692

javafx和java的区别_理解基本的JavaFX类,并知道如何使用它们

java GUI的旅程开始于AWT,后来被一个更好的GUI框架所取代,其被称为Swing。Swing在GUI领域有将近20年的历史。但是,它缺乏许多当今需求的视觉功能,其不仅要求可在多个设备上运行,还要有很好的外观和感觉。在java GUI领域最有前景的是JavaFX,但没有贬低老的AWT和Swing库。因此,java自带的三个GUI工具包--AWT,Swing,和JavaFX -- 做几乎相同的...

weixin_39772652的博客 5460

G2O (General Graph Optimization)入门及简单使用

g2o全称是General Graph Optimization,也就是图优化,我们在做SLAM后端或者更加常见的任何优化问题(曲线拟合)都可以使用G2O进行处理。

晓晨的博客 1万+

Java 与 JavaFX

JavaFX是一个强大的图形和多媒体处理工具包集合,它允许开发者来设计、创建、测试、调试和部署富客户端程序,并且和Java一样跨平台。 JavaFX应用程序 由于JavaFX库被写成了Java API,因此JavaFX应用程序代码可以调用各种Java库中的API。例如JavaFX应用程序可以使...

chouganyi5747的博客 1562

Transformer入门(一)——结构

Transformer入门介绍篇,分别介绍了Transformer的总体结构与每个模块的实现原理

yeen123的博客 9429

NE5532A与JRC4580在低噪声音频电路设计中的关键应用

本文深入探讨了经典运算放大器NE5532A与JRC4580在低噪声音频电路设计中的核心应用。文章从噪声模型分析入手,阐述了针对低阻抗信号源时,如何利用这两款BJT输入运放的低电流噪声特性进行优化设计。通过对比两者参数与实战守则,为设计高保真音频前级、耳机放大等电路提供了从原理图到PCB布局的完整低噪声解决方案。

weixin_29295541的博客 336

javafx和java的区别_JavaFX对Java开发者到底意味着什么?

关于JavaFX已经有非常多的舆论报道、讨论和手册指南,对我们这些普通的Java开发者而言,JavaFX从技术角度来讲并不难掌握,更难的是我们要搞清楚它对我们而言到底是否有用,也即它到底意味着什么呢?James Sugrue在Javalobby的博客中阐述了他对此的看法。简述历史JavaFX是一个富客户端平台,可以创建出在多种设备上都可以运行的应用,这些设备包括电脑桌面和移动设备。JavaFX其中...

weixin_39684235的博客 2795

PrimeTime生成.lib竟暗藏PG添加Bug

1. 确认原始库中是否包含PG引脚的定义。2. 查阅PrimeTime的write_lib命令文档,寻找相关选项。3. 在生成库时使用正确的选项,例如-include_pg_pins或类似参数。4. 验证生成的.lib文件是否包含pg_pin部分。

limanjihe的专栏 1923

javafx 与java,java桌面应用程序和javafx有什么区别?

What is the difference between a "normal" Java desktop application (with AWT or Swing), and a Java application built with JavaFX?What are the advantages and disadvantages of each?解决方案I think what you ...

weixin_35724881的博客 555

深入了解 Google Gemini:主要功能是什么以及我们为什么要使用它?

Google Gemini开启AI新纪元,以其独特的多模式功能重塑技术未来。

KompasAI的博客 4087

OpenSceneGraph编译、安装、开发环境

详细描述WIndows 10下使用Visual Studio 2019编译OpenSceneGraph 3.6.5的操作流程

国产CAx(CAD/CAE/CAM)软件研发 8778

java 11与java fx_Java FX11

Java FX11是一款常用的Java框架开发工具包,包含Java写成的类和接口,主要用于设计、创建、测试、调试和部署客户端程序,支持大量的UI控件和CSS,无需jdk11就可以独立使用了,需要的开发者可以下载!软件特点1. JavaFX是一个Java库,包括用Java写成的类和接口。所以使用JavaFX写的程序可以跨平台运行。而且现在大量成熟的Java库都可以为JavaFX所使用。2. 内置大量...

weixin_39785669的博客 605

用友U8登录慢卡顿?别急着重启服务器,先检查UA_Message这张表(附SQL清理脚本)

本文针对用友U8登录慢卡顿问题,深入分析UA_Message表积压消息对系统性能的影响,并提供SQL清理脚本和优化方案。通过诊断、清理、索引优化和预防措施四步法,显著提升U8客户端登录速度,适用于后台管理和数据库维护场景。

weixin_28726671的博客 387

AJAX,Flash,Silverlight,JavaFX 到底选谁

  AJAX已经永久的改变了用户对网站提供的用户体验的期望。在当今世界,用户只是坐在椅子上等待着观看AJAX接下来将提供怎样的视觉盛宴,包括:一些较为显著的视觉效果和像台式机一样的互动,例如, Prototype-esque fades(原型褪色), Dojo style fisheyes(Dojo 风格的注视), the near ubiquitous drag-and-drop(无处不在的拖拉

网络 人生 学习 进步 2991

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

JavaFx vs Flash vs Silverlight

这是一个很早以前就有的JavaFX、Flash、Silverlight应用速度对比测试,传到Blog上来做一个参考。不过,这个测试结果可信度并不太高,一是三者版本已经都提升了,二是原作者使用的JavaFX算法与Flash、Silverlight的不对等…… 作者网站在此,里面有很多Flash、Silverlight的应用示例:http://www.shinedraw.com/ ...

wangxiaohigh 94

LinePhone3.2.7(android端最新版本) sip客户端

SIP客户端For android:LinePhone3.2.7(最新版本),官网地址:http://www.linphone.org/

[转]AJAX,Flash,Silverlight,JavaFX到底选谁

AJAX,Flash,Silverlight,JavaFX到底选谁 开发者在线 Builder.com.cn更新时间:2008-08-01作者:来源: 本文关键词:SilverLightFlashJavaFX AJAX已经永久的改变了用户对网站提供的用户体验的期望。在当今世界,用户只是坐在椅子上等待着观看AJAX接下来将提供怎样的视觉盛宴,包括:一些较为显着的视觉效...

weixin_30609331的博客 156

IDEA的使用指南

IDEA基于java的使用手册,可以最快速的上手,在使用中不断的丰富自己的使用技巧.

主流RIA技术的简单比较:来自JavaFX、Flex和Silverlight的Hello World(一)

一、RIA的定义 有人预言,2008年将是RIA技术竞争非常激烈的一年。果然不出所料,Adobe公司于今年年初发布了AIR1.0和Flex3.0;紧接着Microsoft也不甘示弱,于今年3月份发布了Silverlight2.0 Beta版;在5月份举行的2008 JavaOne大会上,JavaFX毫无悬念地成为本次JavaOne会议的焦点之一。那么,什么是RIA? RIA是Rich In

carlwu的专栏 1986

主流RIA技术的简单比较 JavaFX、Flex 和 silverLight

<br />转自http://www.cnblogs.com/davidfreely/archive/2008/08/01/1258065.html主流RIA技术的简单比较 JavaFX、Flex 和 silverLight 一、RIA的定义 <br /><br />  有人预言,2008年将是RIA技术竞争非常激烈的一年。果然不出所料,Adobe公司于今年年初发布了AIR1.0和Flex3.0;紧接着Microsoft也不甘示弱,于今年3月份发布了Silverlight2.0 Beta版;在5月份举行的

jiaoshuchun的专栏 594

Flex, SilverLight 和 JavaFX

随着 javaFX 1.0 的推出,RIA 领域战事越来越有趣了。vivizhyy 突然想把自己知道的做一个归纳,也算是今天的思考吧。市场基础Flex 需要 flash 运行时环境的支持,据有关报道,电脑里 flash 装机率高达 98%(zeze~ 乖乖,很庞大的数据量啊~)SilverLight 需要 SilverLight 运行时环境。我想对于普通用户而非开发者来说,没事去装个 Silver...

weixin_33889665的博客 92

主流RIA技术的简单比较 JavaFX、Flex 和 silverLight,AJAX

一、RIA的定义   有人预言,2008年将是RIA技术竞争非常激烈的一年。果然不出所料,Adobe公司于今年年初发布了AIR1.0和Flex3.0;紧接着 Microsoft也不甘示弱,于今年3月份发布了Silverlight2.0 Beta版;在5月份举行的2008 JavaOne大会上,JavaFX毫无悬念地成为本次JavaOne会议的焦点之一。   那么,什么是RIA? RIA是R...

neil 305
上一篇: 创建你的第一个JavaFX应用程序 - JavaFX 入门
下一篇: Java语言学校的危险性(译文)
老紫竹
博客等级 码龄19年 1万+粉丝 1252原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址