Programming an XBox One to do scientific computation?

  • C/++/#
  • Thread starter hilbert2
  • Start date
  • #1
hilbert2
Science Advisor
Insights Author
Gold Member
1,390
441

Main Question or Discussion Point

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 Uranic_Wabbit

Answers and Replies

  • #2
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 hilbert2
  • #3
hilbert2
Science Advisor
Insights Author
Gold Member
1,390
441
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:
 
  • #4
SteamKing
Staff Emeritus
Science Advisor
Homework Helper
12,796
1,667
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
 
  • #5
hilbert2
Science Advisor
Insights Author
Gold Member
1,390
441
^ 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.
 
  • #6
521
70
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.
 
  • #7
1
0
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.
 

Related Threads on Programming an XBox One to do scientific computation?

  • Last Post
Replies
2
Views
2K
Replies
8
Views
3K
  • Last Post
Replies
4
Views
2K
Replies
1
Views
2K
Replies
4
Views
3K
Replies
1
Views
2K
Top