Live data from Hacker News

Support for C, C++ native code in Windows Phone 8

thenextweb.com

1–7 of 7 posts

Re: Support for C, C++ native code in Windows Phone 8

#4
post #2

At this point, it appears to be possible to target iOS, Android, and webOS with C and OpenGL (I haven't tried building an app this way, but it's on my to-do list). Here's hoping that this development means I can add Windows Phone to this list. :-)

This only works for games. How do you do User Interface in C on Android?

For games, windows phone doesn't support opengl es. So you still need to rewrite some code.

Re: Support for C, C++ native code in Windows Phone 8

#5

Now if only they would admit defeat and support OpenGL ES. If they really want more "apps" on their platform, then removing the need to port that part of applications would be a huge win.

Google apparently has a library (used in Chrome) that implements "most" of OpenGL ES 2.0 over DirectX. I wonder how much help it might provide in this context.

http://blog.chromium.org/2010/03/introducing-angle-project.h...

Re: Support for C, C++ native code in Windows Phone 8

#6
post #4
post #2

At this point, it appears to be possible to target iOS, Android, and webOS with C and OpenGL (I haven't tried building an app this way, but it's on my to-do list). Here's hoping that this development means I can add Windows Phone to this list. :-)

This only works for games. How do you do User Interface in C on Android? For games, windows phone doesn't support opengl es. So you still need to rewrite some code.

Build your own UI widgets with OpenGL? :-P

It does look like someone is already experimenting with an OpenGL ES implementation over XNA, so we might still have access to some form of OpenGL on WP: http://www.straightforward.se/storyserver/opengl-es-support-...

Re: Support for C, C++ native code in Windows Phone 8

#7
post #6
post #4

Earlier quoted context omitted.

This only works for games. How do you do User Interface in C on Android? For games, windows phone doesn't support opengl es. So you still need to rewrite some code.

Build your own UI widgets with OpenGL? :-P It does look like someone is already experimenting with an OpenGL ES implementation over XNA, so we might still have access to some form of OpenGL on WP: http://www.straightforward.se/storyserver/opengl-es-support-...

I doubt XNA based Opengl ES will be efficient. If I were a game developer, I'd rather rewrite my code.

The Game problem can be solved with game engines. But I'd like to write opengl directly.

As for UI, Qt for android is a good approach.