各种强大模板说课材料.pptxVIP

  • 1
  • 0
  • 约9.12千字
  • 约 33页
  • 2019-11-03 发布于天津
  • 举报
SESSION CODE: WPH308Building a High Performance 3D Games for Windows PhoneAdam SchaefferMicrosoft Corporation锐普PPT论坛chinakui首发/Windows Phone 7 HardwareConsistent sets of hardware capabilities defined by MicrosoftResolutionTouch InputCPU / GPURAMHardware keyboard is optional锐普PPT论坛chinakui首发:The CPU锐普PPT论坛chinakui首发:The Evolution Of ProgrammingHigh level abstractionRely on compiler and runtimeLow level controlDeveloper productivityStraight to the metalRaw performance tuning锐普PPT论坛chinakui首发:.NET on WindowsUsually within a few percent of native performanceAwesome generational garbage collectionPerformance shootout: Raymond Chen vs. Rico Mariani/ricom/archive/2005/05/10/416151.aspx锐普PPT论坛chinakui首发:.NET on Xbox 360Significant delta between managed and native.NET Compact FrameworkSimplistic mark-and-sweep garbage collectionXbox is not a general purpose computerUnforgiving in-order CPU architectureRequires custom VMX instructions for optimal math perfSecurity architecture poses challenges for jitted code360锐普PPT论坛chinakui首发:.NET on Windows Phone 7In between Windows and Xbox 360.NET Compact FrameworkKeep an eye on garbage collection!ARMv7 CPUMore forgiving toward jitted codeARM jitter is more mature than PPC锐普PPT论坛chinakui首发:Ways To Call CodeInstance methodVirtual methodInterfaceDelegate / eventReflection锐普PPT论坛chinakui首发:Choose Your Own AddressC++ allows independent choice ofData typeThe memory in which a type lives (placement new)How a type instance is referenced (T, T*, T, const T).NET types dictate their allocation and usage semanticsValue typesint, bool, struct, Vector3Reference typesclass, array, string, delegate, boxed value types锐普PPT论坛chinakui首发:A Popular MythOft-repeated wisdomThat is subtly incorrectValue types live on the stackValue types live wherever they are declaredReference types have two piecesMemory allocated from the heapA pointer to this heap memoryReference types live on the heap锐普PPT论坛chinakui首发:class vs. structBy default, prefer class over structur

文档评论(0)

1亿VIP精品文档

相关文档