Programming an XBox One to do scientific computation?

Click For Summary

Discussion Overview

The discussion revolves around the feasibility of programming an Xbox One for scientific computation, particularly using its multiple processors for tasks such as numerical integration of partial differential equations and matrix diagonalization. Participants explore the potential applications and challenges of developing such software, including considerations of copyright laws and alternative computing solutions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant suggests creating an Xbox app to perform scientific computations, like integrating partial differential equations and sending results to a PC via WiFi.
  • Another participant raises concerns about copyright laws potentially prohibiting the sharing of the Xbox's processor for external computations.
  • A different viewpoint proposes that instead of using an Xbox, upgrading to a more powerful laptop or desktop with a high-end graphics card might be a more effective solution for parallel computing.
  • Some participants mention the possibility of creating a web app that could run on multiple devices, allowing for collaborative scientific computations across platforms.
  • One participant notes that there have been successful efforts to use older gaming consoles like the PS3 for scientific computing, but highlights that newer consoles like the PS4 have restricted development capabilities.
  • There is uncertainty regarding the availability of APIs for scientific computation on the Xbox, as there is no established development interface similar to CUDA.

Areas of Agreement / Disagreement

Participants express a mix of interest and skepticism regarding the feasibility of using the Xbox One for scientific computation. There is no consensus on the best approach, with some advocating for the Xbox and others suggesting alternative solutions.

Contextual Notes

Participants acknowledge limitations related to copyright laws, the capabilities of the Xbox as a computing platform, and the lack of established APIs for scientific applications.

hilbert2
Science Advisor
Insights Author
Messages
1,611
Reaction score
611
Hi,

I've done quite a bit of scientific computation at work, mainly related to molecular QM and dynamics of hyperelastic bodies... I've used C++ to write the code for those applications. I also do some other simulations at home in my free time, just for fun.

My home laptop isn't exactly the kind of machine you can do computationally intensive things with, and I just read about the XBox One:s Dev Mode that allows anyone to write apps or games for XBox with C++. I then got a strange idea - how difficult would it be to code an XBox app that would use the multiple processors of the console to calculate something like integrating partial differential equations numerically and then send the output file with the results to your laptop via WiFi connection? Or maybe even a game console version of Folding@Home or similar. I got an XBox One last christmas and I've been using it to play games and watch Netflix, but I also immediately started wondering if I'd be able to make my own XBox apps.

I can even imagine an app that would let you "share" Xbox:s processor speed wirelessly to your PC to use it for any purpose.
 
  • Like
Likes   Reactions: Uranic_Wabbit
Technology news on Phys.org
This would be an interesting proposition but I would suggest you look into the copyright laws of Xbox, as they may prohibit this sharing of the Xbox's processor for other devices.
Just a thought... :smile:
 
  • Like
Likes   Reactions: hilbert2
I'll have to check that, thanks for the suggestion.

The first program I'd try to make for Xbox would be something simple, like an app that receives a large matrix from PC via WiFi, diagonalizes it, and then sends the eigenvectors and eigenvalues back to the PC. A more difficult application would be rendering high-resolution videos with 3D fractals, something like in this YouTube video:
 
If your current laptop doesn't have the power to do what you want, replace it with something that does. Futzing about with Xbox is just going to keep you from doing any work on the stuff you really want to do.

If you really want to get into parallel computing, some people put high-end graphics cards into desktops and use the manufacturer's developer tools for the card to access the graphics processors (GPUs) on the card. All this stuff is documented, the card manufacturer is aware of what's going on (that's how they get new apps running on their equipment), and you don't have to try to reverse-engineer or hack into a closed system - unless that's really what you want to do.

http://www.nvidia.com/object/what-is-gpu-computing.html
 
  • Like
Likes   Reactions: Tom.G
^ This is not a serious project, I'm just doing it for fun. People who are in the Demoscene often produce things that work on unusual platforms, like this demo on a graphing calculator: . AFAIK the new Visual Studio 2015 has the feature of being able to compile C++ code to work on XBox1, and the developer license doesn't cost more than about $20.
 
You could also create a web app instead. That could then run on any device that has a browser. So you could do your scientific computations on your XBox, your TV, tablet, phone, etc. and only have to write one app. And of course all of those devices could cooperate and work on the same problem together.
 
hilbert2 said:
Hi,

I've done quite a bit of scientific computation at work, mainly related to molecular QM and dynamics of hyperelastic bodies... I've used C++ to write the code for those applications. I also do some other simulations at home in my free time, just for fun.

My home laptop isn't exactly the kind of machine you can do computationally intensive things with, and I just read about the XBox One:s Dev Mode that allows anyone to write apps or games for XBox with C++. I then got a strange idea - how difficult would it be to code an XBox app that would use the multiple processors of the console to calculate something like integrating partial differential equations numerically and then send the output file with the results to your laptop via WiFi connection? Or maybe even a game console version of Folding@Home or similar. I got an XBox One last christmas and I've been using it to play games and watch Netflix, but I also immediately started wondering if I'd be able to make my own XBox apps.

I can even imagine an app that would let you "share" Xbox:s processor speed wirelessly to your PC to use it for any purpose.

People have made substantial progresses in converting PS3 into workhorse for scientific computing. But it's no longer doable in PS4 since Sony just locked up the dev mode.
 
idk if there are any apis developed for this purpose, as there isn't a development interface like cuda
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
12
Views
3K
  • Sticky
  • · Replies 13 ·
Replies
13
Views
8K
  • · Replies 17 ·
Replies
17
Views
5K
Replies
11
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K