View previous topic :: View next topic |
Author |
Message |
flithm
Joined: 03 Aug 2007 Posts: 8
|
Posted: Sat Feb 02, 2008 7:54 am Post subject: Questions |
|
|
Hey there,
Intriguing project! I think it could be a great boon to the D community to have a port of the mono / C# API -- it looks like a stable, mature, and well rounded standard library.
That being said I'm curious about a few things:
Looks like you've based the API on phobos? Why phobos versus tango?
Also right now it's fairly incomplete, lots of the classes I might be interested in aren't there yet (ie Collections, XML, Data, etc)... just curious if you plan on eventually supporting the entire API, or just a subset?
Either way, great work!
Tim. |
|
Back to top |
|
|
markm11
Joined: 26 Oct 2007 Posts: 6 Location: Michigan
|
Posted: Sat Feb 02, 2008 10:56 am Post subject: |
|
|
Thanks for your comments.
I didn't think I based if off of phobos. I did look at tango to see how they came up with a stand alone library
Eventually I will get the Data and XML over. Right now in milestone I put in that I would like to get Socket working right now.
I still have some work do on it for working on Linux as well. |
|
Back to top |
|
|
larsivi Site Admin
Joined: 27 Mar 2004 Posts: 453 Location: Trondheim, Norway
|
Posted: Fri Feb 15, 2008 3:53 am Post subject: |
|
|
From what I saw, you try to be totally independent from both Tango and Phobos which is fair enough. I don't think your project will find much resonance in the community if you try to roll your own runtime though, that is totally standalone in the fashion Tango is.
Without using the runtime of either Tango or Phobos (may not matter at all which one later on), or one compatible with those, it will be difficult to combine Nanu code with other D code. |
|
Back to top |
|
|
markm11
Joined: 26 Oct 2007 Posts: 6 Location: Michigan
|
Posted: Fri Feb 22, 2008 2:47 pm Post subject: |
|
|
Yes I know why another standalone library for D...
This library will be for people who want to rebuild a C# source very easily in D.
I had a problems with Mono on Linux. I wanted to try D but because the language convention is different it would take me to long to redo it with tango or phobos.
D is great and porting Mono to D is not very hard except the backend to work on Linux and Windows. That takes some time but after those are done the C# code is not different than D. Just takes some tweaking.
To utilize some features in .Net and Mono I thought that a standalone library would be better. My first try was using phobos but had some problems with it so that is why it is now standalone. |
|
Back to top |
|
|
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Sun Feb 24, 2008 9:00 am Post subject: |
|
|
This is actually a very clever idea.
I have to admit that as strange as it is to offer another independent library, this still has some great merit. This has no similarity to Phobos or Tango and likely has low risk of being another conflicting "standard". But it may be useful as a niche library for people who would not have considered D otherwise.
Porting a C# library like mono to D might capture the imagination of many mono users, especially in the gtk/gnome world (at one point, I think the gnome people were considering moving to Mono/C#, but now they seem to be looking into making their own language). If D could squeeze into that area, it might establish some influence... and going the "Mono" route might be the only way to get some attention.
It will be interesting to see where this goes. Good work.
-JJR |
|
Back to top |
|
|
|