www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - DConf 2013 Day 2 Talk 3: C# to D by Adam Wilson

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
http://www.reddit.com/r/programming/comments/1feem1/dconf_2013_day_2_talk_3_from_c_to_d_by_adam_wilson/

{Enj,Destr}oy!

Andrei
May 31 2013
next sibling parent reply "Regan Heath" <regan netmail.co.nz> writes:
On Fri, 31 May 2013 13:33:21 +0100, Andrei Alexandrescu  
<SeeWebsiteForEmail erdani.org> wrote:
 http://www.reddit.com/r/programming/comments/1feem1/dconf_2013_day_2_talk_3_from_c_to_d_by_adam_wilson/
Excellent talk. Gives us a good idea of the things which are missing for C# conversion and less so in general, and good ideas where to concentrate our efforts. I have old SHA etc hashing routines in old style D, this makes me want to spend some time bringing them up to date... R -- Using Opera's revolutionary email client: http://www.opera.com/mail/
May 31 2013
parent reply Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> writes:
On Fri, 31 May 2013 15:29:40 +0100
"Regan Heath" <regan netmail.co.nz> wrote:

 
 I have old SHA etc hashing routines in old style D, this makes me
 want to spend some time bringing them up to date...
 
http://dlang.org/phobos/std_digest_sha.html Since 2.061, IIRC.
May 31 2013
parent reply Juan Manuel Cabo <juanmanuel.cabo gmail.com> writes:
On 05/31/2013 05:18 PM, Nick Sabalausky wrote:
 On Fri, 31 May 2013 15:29:40 +0100
 "Regan Heath" <regan netmail.co.nz> wrote:
 
 I have old SHA etc hashing routines in old style D, this makes me
 want to spend some time bringing them up to date...
http://dlang.org/phobos/std_digest_sha.html Since 2.061, IIRC.
The sha digest in phobos is SHA1. SHA256 and SHA512 are still missing. --jm
May 31 2013
parent reply "Regan Heath" <regan netmail.co.nz> writes:
On Sat, 01 Jun 2013 04:06:06 +0100, Juan Manuel Cabo  
<juanmanuel.cabo gmail.com> wrote:

 On 05/31/2013 05:18 PM, Nick Sabalausky wrote:
 On Fri, 31 May 2013 15:29:40 +0100
 "Regan Heath" <regan netmail.co.nz> wrote:

 I have old SHA etc hashing routines in old style D, this makes me
 want to spend some time bringing them up to date...
http://dlang.org/phobos/std_digest_sha.html Since 2.061, IIRC.
Funny.. the module listing on the left is not in alpha ordering, so I completely missed them.
 The sha digest in phobos is SHA1.
 SHA256 and SHA512 are still missing.
This too.. I have those, plus a few others. R -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Jun 03 2013
parent reply "Adam Wilson" <flyboynw gmail.com> writes:
On Mon, 03 Jun 2013 02:16:45 -0700, Regan Heath <regan netmail.co.nz>  
wrote:

 On Sat, 01 Jun 2013 04:06:06 +0100, Juan Manuel Cabo  
 <juanmanuel.cabo gmail.com> wrote:

 On 05/31/2013 05:18 PM, Nick Sabalausky wrote:
 On Fri, 31 May 2013 15:29:40 +0100
 "Regan Heath" <regan netmail.co.nz> wrote:

 I have old SHA etc hashing routines in old style D, this makes me
 want to spend some time bringing them up to date...
http://dlang.org/phobos/std_digest_sha.html Since 2.061, IIRC.
Funny.. the module listing on the left is not in alpha ordering, so I completely missed them.
 The sha digest in phobos is SHA1.
 SHA256 and SHA512 are still missing.
This too.. I have those, plus a few others. R
Any chance of getting those merged into Phobos? -- Adam Wilson IRC: LightBender Project Coordinator The Horizon Project http://www.thehorizonproject.org/
Jun 03 2013
parent "Regan Heath" <regan netmail.co.nz> writes:
On Mon, 03 Jun 2013 18:27:10 +0100, Adam Wilson <flyboynw gmail.com> wrote:

 On Mon, 03 Jun 2013 02:16:45 -0700, Regan Heath <regan netmail.co.nz>  
 wrote:

 On Sat, 01 Jun 2013 04:06:06 +0100, Juan Manuel Cabo  
 <juanmanuel.cabo gmail.com> wrote:

 On 05/31/2013 05:18 PM, Nick Sabalausky wrote:
 On Fri, 31 May 2013 15:29:40 +0100
 "Regan Heath" <regan netmail.co.nz> wrote:

 I have old SHA etc hashing routines in old style D, this makes me
 want to spend some time bringing them up to date...
http://dlang.org/phobos/std_digest_sha.html Since 2.061, IIRC.
Funny.. the module listing on the left is not in alpha ordering, so I completely missed them.
 The sha digest in phobos is SHA1.
 SHA256 and SHA512 are still missing.
This too.. I have those, plus a few others. R
Any chance of getting those merged into Phobos?
It just needs some time/love. I have very old versions of the source (prior to it's inclusion in Tango). Last time I looked the Tango devs had made some structural changes and found/fixed an endian related bug. So.. my code needs re-structuring to fit the current phobos model, it needs the endian bug fixed, and it needs complete documentation (it has none). I am happy to donate the existing code, in it's current sorry state to whomever has the time for all that. It could use some testing on a big endian platform - as I have done none. There are unittests which perform the standard tests and maybe a few others IIRC. It's been a while.. R -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Jun 04 2013
prev sibling next sibling parent reply Shriramana Sharma <samjnaa gmail.com> writes:
On Fri, May 31, 2013 at 6:03 PM, Andrei Alexandrescu
<SeeWebsiteForEmail erdani.org> wrote:
 {Enj,Destr}oy!
Sorry I'm new to D so can anyone please explain that Destroy joke to me? (And I have to say that this is the first -announce list I've seen where all subscribers can post! How come it's allowed here?) --=20 Shriramana Sharma =E0=AE=B6=E0=AF=8D=E0=AE=B0=E0=AF=80=E0=AE=B0=E0=AE=AE=E0= =AE=A3=E0=AE=B6=E0=AE=B0=E0=AF=8D=E0=AE=AE=E0=AE=BE =E0=A4=B6=E0=A5=8D=E0= =A4=B0=E0=A5=80=E0=A4=B0=E0=A4=AE=E0=A4=A3=E0=A4=B6=E0=A4=B0=E0=A5=8D=E0=A4= =AE=E0=A4=BE
May 31 2013
parent reply "Mike Parker" <aldacron gmail.com> writes:
On Friday, 31 May 2013 at 16:33:45 UTC, Shriramana Sharma wrote:
 (And I have to say that this is the first -announce list I've 
 seen
 where all subscribers can post! How come it's allowed here?)
The mailing list is actually an interface to the newsgroup, where discussion has always been encouraged.
May 31 2013
parent reply Leandro Lucarella <luca llucax.com.ar> writes:
Mike Parker, el 31 de May a las 20:03 me escribiste:
 On Friday, 31 May 2013 at 16:33:45 UTC, Shriramana Sharma wrote:
(And I have to say that this is the first -announce list I've seen
where all subscribers can post! How come it's allowed here?)
The mailing list is actually an interface to the newsgroup, where discussion has always been encouraged.
I think at some point I could be good to add a read-only *real* announce list, so people only interested in knowing when a new release is available don't have to deal with a group like this that have a lot of traffic. This can also be easily covered by a RSS feed though. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- Reflexionar con hondo tazón, y verdadero teflón, para elevarnos y alcanzar el estado de Shaquira Yaquira del latin Ya: ahora; Quira: que quira Quiquiriquira: que canta con un gallo y hace feliz a unos pocos. -- Peperino Pómoro
May 31 2013
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 5/31/2013 2:52 PM, Leandro Lucarella wrote:
 I think at some point I could be good to add a read-only *real* announce
 list, so people only interested in knowing when a new release is
 available don't have to deal with a group like this that have a lot of
 traffic. This can also be easily covered by a RSS feed though.
https://twitter.com/D_Programming
May 31 2013
parent reply Leandro Lucarella <luca llucax.com.ar> writes:
Walter Bright, el 31 de May a las 15:25 me escribiste:
 On 5/31/2013 2:52 PM, Leandro Lucarella wrote:
I think at some point I could be good to add a read-only *real* announce
list, so people only interested in knowing when a new release is
available don't have to deal with a group like this that have a lot of
traffic. This can also be easily covered by a RSS feed though.
https://twitter.com/D_Programming
Good to know, thanks. But freaking twitter is hiding the RSS feed, does anyone have an URL to put in a RSS feed reader? -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- Dentro de 30 años Argentina va a ser un gran supermercado con 15 changuitos, porque esa va a ser la cantidad de gente que va a poder comprar algo. -- Sidharta Kiwi
Jun 04 2013
next sibling parent "yaz" <yazan.dabain gmail.com> writes:
On Wednesday, 5 June 2013 at 00:08:17 UTC, Leandro Lucarella 
wrote:
 Good to know, thanks. But freaking twitter is hiding the RSS 
 feed, does
 anyone have an URL to put in a RSS feed reader?
You can use http://www.twitter-rss.com/user_timeline.php?screen_name=D_Programming It is an external service, but I think it should be fine for personal use.
Jun 04 2013
prev sibling parent "Mr. Anonymous" <mailnew4ster gmail.com> writes:
On Wednesday, 5 June 2013 at 00:08:17 UTC, Leandro Lucarella 
wrote:
 Walter Bright, el 31 de May a las 15:25 me escribiste:
 On 5/31/2013 2:52 PM, Leandro Lucarella wrote:
I think at some point I could be good to add a read-only 
*real* announce
list, so people only interested in knowing when a new release 
is
available don't have to deal with a group like this that have 
a lot of
traffic. This can also be easily covered by a RSS feed though.
https://twitter.com/D_Programming
Good to know, thanks. But freaking twitter is hiding the RSS feed, does anyone have an URL to put in a RSS feed reader?
https://api.twitter.com/1/statuses/user_timeline.rss?screen_name=D_programming
Jun 05 2013
prev sibling next sibling parent "Jonathan M Davis" <jmdavisProg gmx.com> writes:
On Friday, May 31, 2013 19:06:24 Shriramana Sharma wrote:
 On Fri, May 31, 2013 at 6:03 PM, Andrei Alexandrescu
 
 <SeeWebsiteForEmail erdani.org> wrote:
 {Enj,Destr}oy!
Sorry I'm new to D so can anyone please explain that Destroy joke to me?
It's not a D thing. It's an Andrei thing. He likes to tell people to destroy his proposals when he makes them (with the intention that people would point out any problems in them). - Jonathan M Davis
May 31 2013
prev sibling next sibling parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 5/31/13 8:33 AM, Andrei Alexandrescu wrote:
 http://www.reddit.com/r/programming/comments/1feem1/dconf_2013_day_2_talk_3_from_c_to_d_by_adam_wilson/
Hi-def video is now online: http://archive.org/details/dconf2013-day02-talk03 Andrei
May 31 2013
prev sibling next sibling parent reply Juan Manuel Cabo <juanmanuel.cabo gmail.com> writes:
On 05/31/2013 09:33 AM, Andrei Alexandrescu wrote:
 http://www.reddit.com/r/programming/comments/1feem1/dconf_2013_day_2_talk_3_from_c_to_d_by_adam_wilson/
 
 {Enj,Destr}oy!
 
 Andrei
Just watched it over lunch and I liked this talk very much. For transforming pieces of code I very often write Vim regex, (supports multiline with a flag) and when that is not enough, writing a Vim function does the trick. About streams: there is some phobos support for streams, though it seems not finalized. I wish something were done about the containers. Note that it is very easy to write C# containers in a OOP style, based on T[] and T[K] internally (though a concurrent hash map with read/write locking would need to be done from scratch without using AAs). It is not true that Array!T is equivalent to List<T>. Array!T wants to own their items (because it manages its own memory), so it is only practically useable with structs. Even duplicating the array is unsafe if the element type is a class: import std.stdio, std.container; class A { int val; this(int v) { val = v; } ~this() { writeln("A destroyed"); } } void func(Array!A list) { } void main() { A a = new A(3); Array!A list; list ~= a; writeln(a.val); //prints 3 func(list.dup); //prints A destroyed //<-- The object cannot be used anymore, though it // is still present in 'list') writeln(a.val); //prints 0 } And one cannot use RefCounted!A because RefCounted doesn't work with classes. I guess that RedBlackTree's suffer the same problem. --jm
May 31 2013
parent reply "Jonathan M Davis" <jmdavisProg gmx.com> writes:
On Friday, May 31, 2013 13:59:24 Juan Manuel Cabo wrote:
 About streams: there is some phobos support for streams, though
 it seems not finalized.
Everything stream-related which is currently in Phobos is outdated and unacceptable, so it will be replaced. A replacement is in the works, but it's not ready yet. - Jonathan M Davis
May 31 2013
parent reply Piotr Szturmaj <bncrbme jadamspam.pl> writes:
W dniu 31.05.2013 19:05, Jonathan M Davis pisze:
 On Friday, May 31, 2013 13:59:24 Juan Manuel Cabo wrote:
 About streams: there is some phobos support for streams, though
 it seems not finalized.
Everything stream-related which is currently in Phobos is outdated and unacceptable, so it will be replaced. A replacement is in the works, but it's not ready yet.
Do you know any timespans, when it probably will happen? I will be very grateful.
May 31 2013
parent reply "Steven Schveighoffer" <schveiguy yahoo.com> writes:
On Fri, 31 May 2013 14:13:30 -0400, Piotr Szturmaj <bncrbme jadamspam.pl>  
wrote:

 W dniu 31.05.2013 19:05, Jonathan M Davis pisze:
 On Friday, May 31, 2013 13:59:24 Juan Manuel Cabo wrote:
 About streams: there is some phobos support for streams, though
 it seems not finalized.
Everything stream-related which is currently in Phobos is outdated and unacceptable, so it will be replaced. A replacement is in the works, but it's not ready yet.
Do you know any timespans, when it probably will happen? I will be very grateful.
I would love to say that I have set aside enough time to do it, but it's very difficult to find the time :( I hate to commit to a certain time frame, I have done that here in the past and have been very wrong with my expectations. That being said, my lack of effort on D stuff is really pissing me off, and I want to spend more time on it. Dconf really has yanked me back into D, and I want to finish all the loose ends I've started, including dcollections, this streaming stuff, and some other little bits. -Steve
May 31 2013
parent reply Juan Manuel Cabo <juanmanuel.cabo gmail.com> writes:
On 05/31/2013 03:42 PM, Steven Schveighoffer wrote:
 [..]
 I would love to say that I have set aside enough time to do it, but it's very
difficult to find the time :(
 
 I hate to commit to a certain time frame, I have done that here in the past
and have been very wrong with my expectations.
 
 That being said, my lack of effort on D stuff is really pissing me off, and I
want to spend more time on it.  Dconf
 really has yanked me back into D, and I want to finish all the loose ends I've
started, including dcollections, this
 streaming stuff, and some other little bits.
 
 -Steve
I'm very happy to read this. It would be awesome to have the power of dcollections in phobos!! I would definitely appreciate it and a lot of people too!!! Streams and collections are very important building blocks. --jm
May 31 2013
parent Jonathan M Davis <jmdavisProg gmx.com> writes:
On Saturday, June 01, 2013 00:15:47 Juan Manuel Cabo wrote:
 On 05/31/2013 03:42 PM, Steven Schveighoffer wrote:
 [..]
 I would love to say that I have set aside enough time to do it, but it's
 very difficult to find the time :(
 
 I hate to commit to a certain time frame, I have done that here in the
 past and have been very wrong with my expectations.
 
 That being said, my lack of effort on D stuff is really pissing me off,
 and I want to spend more time on it.  Dconf really has yanked me back
 into D, and I want to finish all the loose ends I've started, including
 dcollections, this streaming stuff, and some other little bits.
 
 -Steve
I'm very happy to read this. It would be awesome to have the power of dcollections in phobos!! I would definitely appreciate it and a lot of people too!!! Streams and collections are very important building blocks.
He's working on std.io, which would replace std.stdio and provide streams. That is likely to get into Phobos after full review. dcollections on the other hand will never be in Phobos. Anyone is free to take the guts of its containers and submit them to Phobos, but the API that dcollections has does not match that of std.container, a while std.container does need a few tweaks, it's never going to have the same design as dcollections. Andrei and Steven disagree on some things such that what Steve did with dcollections' API is incompatible with std.container (in particular with regards to ranges). The two things holding std.container back are getting custom allocators sorted out (which Andrei is working on), and people need to submit new containers. They're not going to just magically appear. dcollections has some solid implementations of containers which can be adapted to std.container (that's where RedBlackTree came from), but nothing is going to be able to come from dcollections exactly as-is due to the differences in API. - Jonathan M Davis
May 31 2013
prev sibling next sibling parent reply "Adam Wilson" <flyboynw gmail.com> writes:
On Fri, 31 May 2013 05:33:21 -0700, Andrei Alexandrescu  
<SeeWebsiteForEmail erdani.org> wrote:

 http://www.reddit.com/r/programming/comments/1feem1/dconf_2013_day_2_talk_3_from_c_to_d_by_adam_wilson/

 {Enj,Destr}oy!

 Andrei
I want to apologize for the glaring technical error in the talk. I knew about T.init() when I was writing this but I was so focused on finding a analog for C#'s default keyword that it completely slipped my mind. -- Adam Wilson IRC: LightBender Project Coordinator The Horizon Project http://www.thehorizonproject.org/
May 31 2013
parent reply "John Colvin" <john.loughran.colvin gmail.com> writes:
On Friday, 31 May 2013 at 17:41:42 UTC, Adam Wilson wrote:
 On Fri, 31 May 2013 05:33:21 -0700, Andrei Alexandrescu 
 <SeeWebsiteForEmail erdani.org> wrote:

 http://www.reddit.com/r/programming/comments/1feem1/dconf_2013_day_2_talk_3_from_c_to_d_by_adam_wilson/

 {Enj,Destr}oy!

 Andrei
I want to apologize for the glaring technical error in the talk. I knew about T.init() when I was writing this but I was so focused on finding a analog for C#'s default keyword that it completely slipped my mind.
should just be init, it's not a function
May 31 2013
parent "Adam Wilson" <flyboynw gmail.com> writes:
On Fri, 31 May 2013 11:41:04 -0700, John Colvin  
<john.loughran.colvin gmail.com> wrote:

 On Friday, 31 May 2013 at 17:41:42 UTC, Adam Wilson wrote:
 On Fri, 31 May 2013 05:33:21 -0700, Andrei Alexandrescu  
 <SeeWebsiteForEmail erdani.org> wrote:

 http://www.reddit.com/r/programming/comments/1feem1/dconf_2013_day_2_talk_3_from_c_to_d_by_adam_wilson/

 {Enj,Destr}oy!

 Andrei
I want to apologize for the glaring technical error in the talk. I knew about T.init() when I was writing this but I was so focused on finding a analog for C#'s default keyword that it completely slipped my mind.
should just be init, it's not a function
And I will forever be remember as the guy who got .init wrong, twice. :-D -- Adam Wilson IRC: LightBender Project Coordinator The Horizon Project http://www.thehorizonproject.org/
May 31 2013
prev sibling next sibling parent Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> writes:
On Fri, 31 May 2013 08:33:21 -0400
Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> wrote:

 http://www.reddit.com/r/programming/comments/1feem1/dconf_2013_day_2_talk_3_from_c_to_d_by_adam_wilson/
 
 {Enj,Destr}oy!
 
Torrents and links: http://semitwist.com/download/misc/dconf2013/
May 31 2013
prev sibling parent reply Jacob Carlborg <doob me.com> writes:
On 2013-05-31 14:33, Andrei Alexandrescu wrote:
 http://www.reddit.com/r/programming/comments/1feem1/dconf_2013_day_2_talk_3_from_c_to_d_by_adam_wilson/
A couple of notes on what's missing in D from C#. There are other libraries besides from Phobos that contains some of the missing functionality. Tango: * Several SHA implementations * Stream based IO * Modules for manipulating text and Unicode * Timer/stop watch * Heap and stack Source code: https://github.com/SiegeLord/Tango-D2 Docs: http://dsource.org/projects/tango/docs/current/ dcollections may contain some collections needed. http://www.dsource.org/projects/dcollections -- /Jacob Carlborg
Jun 01 2013
next sibling parent reply Jonathan M Davis <jmdavisProg gmx.com> writes:
On Saturday, June 01, 2013 22:15:01 Jacob Carlborg wrote:
 * Timer/stop watch
There are quite a few things that Phobos is still missing, but this isn't one of them. We have std.datetime.StopWatch (which will probably end up in std.benchmark when that's finally complete). - Jonathan M Davis
Jun 01 2013
parent reply Jacob Carlborg <doob me.com> writes:
On 2013-06-01 23:11, Jonathan M Davis wrote:

 There are quite a few things that Phobos is still missing, but this isn't one
 of them. We have std.datetime.StopWatch (which will probably end up in
 std.benchmark when that's finally complete).
I haven't looked in std.datetime lately but I though I heard in the talk it was missing. If not, my mistake. -- /Jacob Carlborg
Jun 02 2013
parent "Adam Wilson" <flyboynw gmail.com> writes:
On Sun, 02 Jun 2013 02:35:37 -0700, Jacob Carlborg <doob me.com> wrote:

 On 2013-06-01 23:11, Jonathan M Davis wrote:

 There are quite a few things that Phobos is still missing, but this  
 isn't one
 of them. We have std.datetime.StopWatch (which will probably end up in
 std.benchmark when that's finally complete).
I haven't looked in std.datetime lately but I though I heard in the talk it was missing. If not, my mistake.
Most of System.Timers is missing from Phobos. There is a LOT more than just a stopwatch in it. -- Adam Wilson IRC: LightBender Project Coordinator The Horizon Project http://www.thehorizonproject.org/
Jun 02 2013
prev sibling parent reply "Adam Wilson" <flyboynw gmail.com> writes:
On Sat, 01 Jun 2013 13:15:01 -0700, Jacob Carlborg <doob me.com> wrote:

 On 2013-05-31 14:33, Andrei Alexandrescu wrote:
 http://www.reddit.com/r/programming/comments/1feem1/dconf_2013_day_2_talk_3_from_c_to_d_by_adam_wilson/
A couple of notes on what's missing in D from C#. There are other libraries besides from Phobos that contains some of the missing functionality. Tango: * Several SHA implementations * Stream based IO * Modules for manipulating text and Unicode * Timer/stop watch * Heap and stack Source code: https://github.com/SiegeLord/Tango-D2 Docs: http://dsource.org/projects/tango/docs/current/ dcollections may contain some collections needed. http://www.dsource.org/projects/dcollections
Indeed, but since I was comparing to vanilla C# 4.0 and .NET I figured it was only fair to compare to DMD 2.062 and Phobos. Once you start comparing and contrasting third party libraries the scope of the topic quickly balloons in size. The biggest problem I had in putting this talk together was deciding what to cut. I ended up leaving about 60% of my originally planned content on the cutting room floor... I really wanted to give you guys more! -- Adam Wilson IRC: LightBender Project Coordinator The Horizon Project http://www.thehorizonproject.org/
Jun 01 2013
parent reply Jacob Carlborg <doob me.com> writes:
On 2013-06-02 00:49, Adam Wilson wrote:

 Indeed, but since I was comparing to vanilla C# 4.0 and .NET I figured
 it was only fair to compare to DMD 2.062 and Phobos. Once you start
 comparing and contrasting third party libraries the scope of the topic
 quickly balloons in size. The biggest problem I had in putting this talk
 together was deciding what to cut. I ended up leaving about 60% of my
 originally planned content on the cutting room floor... I really wanted
 to give you guys more!
Yes, sure, for the talk. But if you are actually going to port C# code to D I assume, and hope, you would take a practically approach. That is, using third party libraries if needed and not saying something like "If it's not in Phobos we cannot use it". -- /Jacob Carlborg
Jun 02 2013
parent reply "Adam Wilson" <flyboynw gmail.com> writes:
On Sun, 02 Jun 2013 02:34:39 -0700, Jacob Carlborg <doob me.com> wrote:

 On 2013-06-02 00:49, Adam Wilson wrote:

 Indeed, but since I was comparing to vanilla C# 4.0 and .NET I figured
 it was only fair to compare to DMD 2.062 and Phobos. Once you start
 comparing and contrasting third party libraries the scope of the topic
 quickly balloons in size. The biggest problem I had in putting this talk
 together was deciding what to cut. I ended up leaving about 60% of my
 originally planned content on the cutting room floor... I really wanted
 to give you guys more!
Yes, sure, for the talk. But if you are actually going to port C# code to D I assume, and hope, you would take a practically approach. That is, using third party libraries if needed and not saying something like "If it's not in Phobos we cannot use it".
In real life I would absolutely use third party libraries where available. I would definitely recommend people do the same. In retrospect I probably should've said something to that effect in the closing of my talk ... So many things I would say differently! -- Adam Wilson IRC: LightBender Project Coordinator The Horizon Project http://www.thehorizonproject.org/
Jun 02 2013
parent reply "Nick B" <nick.barbalich gmail.com> writes:
On Sunday, 2 June 2013 at 20:43:18 UTC, Adam Wilson wrote:
 On Sun, 02 Jun 2013 02:34:39 -0700, Jacob Carlborg 
 <doob me.com> wrote:

 On 2013-06-02 00:49, Adam Wilson wrote:
In real life I would absolutely use third party libraries where available. I would definitely recommend people do the same. In retrospect I probably should've said something to that effect in the closing of my talk ... So many things I would say differently!
Adam, for your talk you never said what your rational was for doing this i.e. what is the downside of Microsoft C# etc..(if there is one ?). wWhy go to all this effort ? Nick
Jun 04 2013
next sibling parent "Adam Wilson" <flyboynw gmail.com> writes:
On Tue, 04 Jun 2013 20:43:08 -0700, Nick B <nick.barbalich gmail.com>  
wrote:

 On Sunday, 2 June 2013 at 20:43:18 UTC, Adam Wilson wrote:
 On Sun, 02 Jun 2013 02:34:39 -0700, Jacob Carlborg <doob me.com> wrote:

 On 2013-06-02 00:49, Adam Wilson wrote:
In real life I would absolutely use third party libraries where available. I would definitely recommend people do the same. In retrospect I probably should've said something to that effect in the closing of my talk ... So many things I would say differently!
Adam, for your talk you never said what your rational was for doing this i.e. what is the downside of Microsoft C# etc..(if there is one ?). wWhy go to all this effort ? Nick
Well, the reason I started looking for alternatives in the first place is exactly as mentioned in the talk. I found the Generic Constraints to be far too constraining... if you'll pardon the pun. But indeed there are more reasons than just constraints. There are certain things that just can't be expressed in C# because of the VM, pointers, etc. There is no concept of purity. No const. No shared. No built-in unittests. And that's just off the top of my head, I'm probably forgetting a few. -- Adam Wilson IRC: LightBender Project Coordinator The Horizon Project http://www.thehorizonproject.org/
Jun 04 2013
prev sibling parent Jacob Carlborg <doob me.com> writes:
On 2013-06-05 05:43, Nick B wrote:

 Adam, for your talk you never said what your rational was for
 doing this i.e.  what is the downside of Microsoft C# etc..(if
 there is one ?).  wWhy go to all this effort ?
He said something like: the programming world isn't just Microsoft. Perhaps they like to use some other platform. -- /Jacob Carlborg
Jun 05 2013