D Cross Platform Status + OpenGL Status ?

2016-01-09 Thread Jakob Jenkov via Digitalmars-d

Hi,

What is the status of cross compiling D to multiple platforms? I 
know it is possible, but how easy is it? How many issues do you 
have to mess with on different platforms?


What about ARM / Android support?

And what about OpenGL support? Is that easy? And does it work 
easily across platforms?


Re: D Cross Platform Status + OpenGL Status ?

2016-01-09 Thread Joakim via Digitalmars-d

On Saturday, 9 January 2016 at 19:43:03 UTC, Jakob Jenkov wrote:

Hi,

What is the status of cross compiling D to multiple platforms? 
I know it is possible, but how easy is it? How many issues do 
you have to mess with on different platforms?


What about ARM / Android support?

And what about OpenGL support? Is that easy? And does it work 
easily across platforms?


I can only speak to Android as I've been working on getting ldc 
on there, take a look at this release on github:


https://github.com/joakim-noah/android/releases/tag/runners

There are a few small issues with inlining and CTFE in a couple 
modules left, but most everything works.  I'll have a new release 
out this week.


Re: D Cross Platform Status + OpenGL Status ?

2016-01-09 Thread wobbles via Digitalmars-d

On Saturday, 9 January 2016 at 19:43:03 UTC, Jakob Jenkov wrote:
And what about OpenGL support? Is that easy? And does it work 
easily across platforms?


http://code.dlang.org/packages/derelict-gl3

This is the OpenGL binary.
Have used it on both Windows and Linux, I just got a window up 
and running on both, and it works well.


Read more here on how to get it up and running:
http://derelictorg.github.io/


Re: D Cross Platform Status + OpenGL Status ?

2016-01-09 Thread Rikki Cattermole via Digitalmars-d

On 10/01/16 9:17 AM, wobbles wrote:

On Saturday, 9 January 2016 at 19:43:03 UTC, Jakob Jenkov wrote:

And what about OpenGL support? Is that easy? And does it work easily
across platforms?


http://code.dlang.org/packages/derelict-gl3

This is the OpenGL binary.
Have used it on both Windows and Linux, I just got a window up and
running on both, and it works well.

Read more here on how to get it up and running:
http://derelictorg.github.io/


Yup, as long as you have a context it will work fine.


Re: D Cross Platform Status + OpenGL Status ?

2016-01-10 Thread Adam D. Ruppe via Digitalmars-d

On Saturday, 9 January 2016 at 19:43:03 UTC, Jakob Jenkov wrote:
What is the status of cross compiling D to multiple platforms? 
I know it is possible, but how easy is it? How many issues do 
you have to mess with on different platforms?


The desktop ones are easy. ARM linux isn't to bad (use gdc or 
ldc). Android, iOS are in the works and have some support.


idk about Windows Phone, but I plan to take a look soonish.

And what about OpenGL support? Is that easy? And does it work 
easily across platforms?


You can call opengl functions the same as C.