当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: Part 1 of this series appeare
 

 

    摘要: java on os x is a first class citizen. you can integrate your app so well that users probably wont even know theyre using a java application. you can package your apps so they have one of those ......
 ·rich user interfaces @ jdj    »显示摘要«
    摘要: most java developers intuitively understand the advantages of using a rich java swing user interface instead of an html interface. the fact that rich user interfaces provide a better experien......


Java Games Development - Part 3 @ JDJ

part 1 of this series appeared in the august issue of java developers journal (vol. 8, issue 8), and part 2 appeared in the september issue (vol. 8, issue 9).

jdj: microsoft has received quite a lot of good press (or propaganda, however youd like to look at it) for their .net product, and there has even been discussion that it will be/is suitable for games development with good directx bindings. since java is only just out of the gate (in terms of commercial games development), do you see .net providing serious competition in this burgeoning market, or are there some (perhaps hidden?) advantages to java that might make the difference in this case?

jeff k: dont confuse .net the platform with clr the vm, or c# the language.

.net will not be suitable for games. its xml-based communications protocol is by definition slow and verbose, and thats before you get into the other architectural issues. i have no fear of .net becoming the default back-end technology for networked games - it was designed with business apps in mind, which need totally different properties.

as for c# and clr (which, as i understand it, are heavily based on msvm), there are a number of points. msvm has always supported directx through jdirect, but it hasnt taken off as a game platform. that they are continuing this support doesnt seem like anything new to me. c#/clr has none of the benefits of java (its not cross platform, being yadc (yet another dialect of c) its not likely to appreciably improve either productivity or code correctness.

about all it does is muddy the waters around java, which in my opinion is maybe all its supposed to do.

today we have cross-platform technologies emerging in java that provide all the benefits of directx without sacrificing portability, productivity, or code correctness. examples of this are the lwjgl open source library project, and the open source bindings for java to opengl (jogl), openal (joal), and
...   下一页

    摘要: often objects need to be serializable. this can be as easy as simply declaring that a class implements the serializable interface. but just because an object says its serializable doesnt necessaril......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE