Re: D on Windows Phone

2015-07-01 Thread bitwise via Digitalmars-d
On Wed, 01 Jul 2015 15:04:16 -0400, Jacob Carlborg wrote: Could you try using C? I know Clang/GCC has a lot of attributes, something like __attribute__((section (" I was thinking about this, but it won't work because we have no control over what linker will be used to link the object files p

Re: D on Windows Phone

2015-07-01 Thread Jacob Carlborg via Digitalmars-d
On 01/07/15 17:03, bitwise wrote: Now, I'm working on implementing something like Martin's _dso_registry approach for registering the images. The part I'm having a hard time with is getting my loader code into the object files. Basically, I need to put a small function into each object file as a

Re: D on Windows Phone

2015-07-01 Thread bitwise via Digitalmars-d
On Wed, 01 Jul 2015 08:23:18 -0400, Jacob Carlborg wrote: On 01/07/15 10:06, Dan Olson wrote: The private APIs being called by osx_tls.c like dyld_enumerate_tlv_storage() are overriden for iOS by using [1]. I can change all dyld prefixes in theadLocalVariable.c to something else and remove a

Re: D on Windows Phone

2015-07-01 Thread bitwise via Digitalmars-d
On Wed, 01 Jul 2015 02:40:01 -0400, Dan Olson wrote: bitwise writes: On Tue, 30 Jun 2015 12:29:17 -0400, Dan Olson wrote: bitwise writes: Has anyone tried to submit an app for iOS with D code in it yet? I'm going to be putting out a game in the next little while, so I was thinking abou

Re: D on Windows Phone

2015-07-01 Thread bitwise via Digitalmars-d
On Wed, 01 Jul 2015 06:49:01 -0400, jd wrote: On Saturday, 27 June 2015 at 16:13:19 UTC, bitwise wrote: Has anyone tried it? Bit are you kidding? it doesn't even work on win 8.1 desktop, can't do dll's etc.. fix that compiler for desktop first. I think you mean usage of DLLs via impo

Re: D on Windows Phone

2015-07-01 Thread ponce via Digitalmars-d
On Wednesday, 1 July 2015 at 10:49:03 UTC, jd wrote: are you kidding? it doesn't even work on win 8.1 desktop, can't do dll's etc.. I've been making DLL in Windows 8.1 all day.

Re: D on Windows Phone

2015-07-01 Thread Jacob Carlborg via Digitalmars-d
On 01/07/15 10:06, Dan Olson wrote: The private APIs being called by osx_tls.c like dyld_enumerate_tlv_storage() are overriden for iOS by using [1]. I can change all dyld prefixes in theadLocalVariable.c to something else and remove all code not needed. Right, I forgot that you have implement

Re: D on Windows Phone

2015-07-01 Thread jd via Digitalmars-d
On Saturday, 27 June 2015 at 16:13:19 UTC, bitwise wrote: Has anyone tried it? Bit are you kidding? it doesn't even work on win 8.1 desktop, can't do dll's etc.. fix that compiler for desktop first. one of your videos was an eye opener! this compiler isn't usable for any larger project an

Re: D on Windows Phone

2015-07-01 Thread Dan Olson via Digitalmars-d
bitwise writes: > On Tue, 30 Jun 2015 16:09:19 -0400, Jacob Carlborg wrote: > >> On 30/06/15 18:29, Dan Olson wrote: >> >>> Not to my knowledge, but please do try. The D iOS toolchain built by >>> [1] only creates the armv7 libraries, but I have all the pieces staged >>> to support universal li

Re: D on Windows Phone

2015-07-01 Thread Iain Buclaw via Digitalmars-d
On 28 Jun 2015 11:50, "Joakim via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: > > On Saturday, 27 June 2015 at 16:13:19 UTC, bitwise wrote: >> >> Has anyone tried it? > > > Probably not, considering even Android is only partially working. iOS is much farther along though. > > One issue is

Re: D on Windows Phone

2015-06-30 Thread Dan Olson via Digitalmars-d
bitwise writes: > On Tue, 30 Jun 2015 12:29:17 -0400, Dan Olson wrote: > >> bitwise writes: >>> >>> Has anyone tried to submit an app for iOS with D code in it yet? I'm >>> going to be putting out a game in the next little while, so I was >>> thinking about sticking a D plugin in it to see if i

Re: D on Windows Phone

2015-06-30 Thread bitwise via Digitalmars-d
On Tue, 30 Jun 2015 16:09:19 -0400, Jacob Carlborg wrote: On 30/06/15 18:29, Dan Olson wrote: Not to my knowledge, but please do try. The D iOS toolchain built by [1] only creates the armv7 libraries, but I have all the pieces staged to support universal libs for running in the x86 iOS Simul

Re: D on Windows Phone

2015-06-30 Thread bitwise via Digitalmars-d
On Tue, 30 Jun 2015 12:29:17 -0400, Dan Olson wrote: bitwise writes: Has anyone tried to submit an app for iOS with D code in it yet? I'm going to be putting out a game in the next little while, so I was thinking about sticking a D plugin in it to see if it raised any eyebrows. Bit Not

Re: D on Windows Phone

2015-06-30 Thread Jacob Carlborg via Digitalmars-d
On 30/06/15 18:29, Dan Olson wrote: Not to my knowledge, but please do try. The D iOS toolchain built by [1] only creates the armv7 libraries, but I have all the pieces staged to support universal libs for running in the x86 iOS Simulator too. I expect to have that up on github in a week along

Re: D on Windows Phone

2015-06-30 Thread Dan Olson via Digitalmars-d
bitwise writes: > > Has anyone tried to submit an app for iOS with D code in it yet? I'm > going to be putting out a game in the next little while, so I was > thinking about sticking a D plugin in it to see if it raised any > eyebrows. > > Bit Not to my knowledge, but please do try. The D iOS

Re: D on Windows Phone

2015-06-30 Thread bitwise via Digitalmars-d
On Sun, 28 Jun 2015 05:46:04 -0400, Joakim wrote: On Saturday, 27 June 2015 at 16:13:19 UTC, bitwise wrote: Has anyone tried it? Probably not, considering even Android is only partially working. iOS is much farther along though. One issue is that exception-handling in LDC for ARM isn't

Re: D on Windows Phone

2015-06-28 Thread Joakim via Digitalmars-d
On Saturday, 27 June 2015 at 16:13:19 UTC, bitwise wrote: Has anyone tried it? Probably not, considering even Android is only partially working. iOS is much farther along though. One issue is that exception-handling in LDC for ARM isn't fully working yet. I'm looking into it. As for GDC

Re: D on Windows Phone

2015-06-27 Thread Mike via Digitalmars-d
On Saturday, 27 June 2015 at 16:13:19 UTC, bitwise wrote: Has anyone tried it? Bit I haven't, but I'm hoping to do some work on Windows 10 when it's released; I'm ordering a phone this week (but no promises; I have a lot on my plate). I work with embedded systems and given the possibilit

D on Windows Phone

2015-06-27 Thread bitwise via Digitalmars-d
Has anyone tried it? Bit