DWT Cocoa 3.5 M3

Jacob Carlborg doobnet at gmail.com
Sun Jan 18 16:25:40 PST 2009


I thought that I would share my progress on the dwt cocoa port.

I've ported all the SWT code, including the Browser package from dwt 
linux. The code is based on SWT just before milestone 3, to be exact 
3.514.0.

There are still problems with the port, runtime errors and things that 
don't work as excepted.

Supported platforms:
The SWT code works only on Mac OS X 10.5 Leopard, x86 and 64. DWT also 
seems to work on ppc (I've only tested it through rosetta, not 
natively). I haven't tested 64bit yet because I haven't figured out how 
to build tango as a universal binary with 64bit support yet.


Building time and size with DSSS and GDC:

library:
compile time: 5-9m
size: 13.5MB

application:
linked with static library:
compile time: 8s
size: 3.9MB



With XCode:

library:
compile time: 7m 20s
size: 26.3MB

application:
compiled from source:
size: 6.5MB with stripped symbols

linked with static library:
compile time: 2s
size: 3.8MB with stripped symbols


application: 
http://www.dsource.org/projects/dwt-samples/browser/examples/helloworld/HelloWorld1.d


I hope as many people can test this library to find as many bugs as 
possible.


/Jacob


More information about the Digitalmars-d-announce mailing list