从IDF 2010:对Atom处理器进行编程

收藏

我在旧金山举行的2010年英特尔开发者论坛上,对于像我这样的程序员来说,这是一个很好的机会。尽管大多数程序员可能会将英特尔视为硬件制造商,并希望其他公司(例如Microsoft)寻求其开发工具,但事实并非如此。除了创建一些令人惊叹的硬件技术外,英特尔还提供了大量工具来开发在其技术支持的设备和计算机上运行的软件。

One such such device that has a whole set of tools is the Atom processor. The Atom is a very low-power x86-based processor meant for handheld devices, netbooks, and anything else that needs the power of x86 but without the overhead of a full microprocessor. (For example, here at the conference one company is presenting a pretty cool digial music stand that contains a dual-core Atom processor. Yes, dual core. Sweet.)

尽管不是什么新技术(第一个Atom于2008年推出),但英特尔有一些针对Atom的开发人员计划,他们将继续发挥作用。我有幸参加了英特尔的Bill Pearson的演讲,他在一个小时的介绍中介绍了Atom的开发。

开发人员计划包括一个完整的应用程序商店,您可以在其中发布和出售Atom驱动的应用程序。但是,这个特定的应用程序最酷的是,您还可以创建其他程序员可以使用的组件,并在那里也赚钱。这个想法是,当其他程序员在自己的应用程序中使用您的组件,并出售其应用程序副本时,您又可以从中获利。很好

创建应用程序(或组件)的步骤很简单;您下载了AppUp SDK,并为您的应用获取了GUID(唯一标识符)。您可以开发应用程序(好的,那部分可能并不那么容易,但是我们是程序员,这就是我们要做的!),然后在SDK附带的模拟器上运行测试。 (但是Perason先生提出了一个重要的观点:请确保在某个时候在与开发应用程序的位置不同的PC上运行模拟器,以便使应用程序针对正确的库而不是调试库运行。)然后打包并上传并开始Beta测试。最后,准备就绪后,将其提交给英特尔,英特尔将批准它并将其在App Store中出售。而且,当然,您可以为应用选择价格。

为了开发该应用程序,您有两种选择。如果您是C ++程序员,则可以将其C ++库与Visual Studio 2008结合使用。(现在必须是2008。)或者您可以选择使用Adobe Air并使用Adobe工具甚至Flash进行开发。 (听说过苹果吗?)

SDK随附了授权工具。这意味着您的代码可以调用授权库,并验证您的应用程序是否有权在设备上运行。换句话说,您的应用可以确保用户实际为其付费。如果没有,您将从库返回错误,并且可以正常退出。 (他一直指出,“优雅地退出。”我想我们可以解释为这意味着您不应该显示一条消息来告诉用户涉嫌窃取您的应用程序!)

SDK中还包括所有核心类,可让您实际使用设备的功能。

Cool things are happening here. As I said yesterday, now is a great time to be a programmer. And as James Reinders told me yesterday during an interview (which I'll be writing up later today), he can't wait to see what kind of cool applications the world of programmers comes up with using Intel's technologies and SDKs. I think my next step will be to download the AppUp SDK and start building my first Atom application. And you can do it too by going to http://appdeveloper.intel.com . Have fun!

回复
  • Yves 回复

    谢谢Jeff Cogswell, 还要写更多这样的文章来实现天堂。 我们非常喜欢阅读。

    - 提前致谢 -

  • 疯癫范er 回复

    I'm here at the Intel Developer Forum 2010 in San Francisco, and this has been a great opportunity for a programmer such as myself. While most programmers might think of Intel as a hardware manufacturer and look to other companies (such as Microsoft) for their development tools, in fact that couldn't be further from the truth. In addition to creating some amazing hardware technology, Intel has a huge set of tools for developing software that runs on the devices and computers powered by their technology.

    One such such device that has a whole set of tools is the Atom processor. The Atom is a very low-power x86-based processor meant for handheld devices, netbooks, and anything else that needs the power of x86 but without the overhead of a full microprocessor. (For example, here at the conference one company is presenting a pretty cool digial music stand that contains a dual-core Atom processor. Yes, dual core. Sweet.)

    While not new (the first Atom was introduced in 2008), Intel has several developer programs for the Atom that they're continuing to role out. I had the opportunity to attend a presentation by Intel's Bill Pearson where he gave an hour-long introduction to developing for the Atom.

    The developer program includes a complete app store, where you can publish and sell your Atom-powered apps. But what's cool about this particular app program is that you can also create components that other programmers can use and make money there too. The idea is that when other programmers use your components in their own apps, and they sell copies of their apps, you in turn get a cut of the money. Good deal.

    The steps for creating apps (or components) are simple; you download the AppUp SDK, and obtain a GUID (a unique identifier) for your app. You develop your app (okay, that part might not be so easy, but we're programmers and that's what we do!), and run tests on the emulator that ships with the SDK. (But Mr. Perason made an important point: Make sure at some point to run the emulator on a separate PC from where you develop the app so that your app runs against the correct libraries and not the debug libraries.) Then you package it and upload it and begin beta tests. Finally when it's ready, you submit it to Intel, who will approve it and make it available for sale in the app store. And, of course, you choose the price for your app.

    For developing the app, you have a couple of options. If you're a C++ programmer, you can use their C++ library in conjunction with Visual Studio 2008. (Right now it has to be 2008.) Or you can optionally use Adobe Air and develop with Adobe tools, and even Flash. (Hear that Apple?)

    Included with the SDK are the tools for authorization. What that means is your code can call into the authorization library and verify that your app is authorized to run on the device. In other words, your app can make sure the user actually paid for it. If not, you'll get an error back from the library and you can exit gracefully. (He kept pointing out, "exit gracefully." I suppose we can interpret that to mean you shouldn't display a message telling off the user for allegedly stealing your app!)

    Also included in the SDK are all the core classes that allow you to actually make use of the device's features.

    Cool things are happening here. As I said yesterday, now is a great time to be a programmer. And as James Reinders told me yesterday during an interview (which I'll be writing up later today), he can't wait to see what kind of cool applications the world of programmers comes up with using Intel's technologies and SDKs. I think my next step will be to download the AppUp SDK and start building my first Atom application. And you can do it too by going to http://appdeveloper.intel.com . Have fun!

    英特尔今天宣布其低功耗Atom处理器产品线具有两种新模型,旨在用于网络连接存储。