digitalmars.D.announce - Cristian Vlasceanu and D for the .NET platform
- Walter Bright (1/1) Mar 09 2009 http://www.reddit.com/r/d_language/comments/838lf/cristian_vlasceanu_and...
- Bill Baxter (4/5) Mar 09 2009 I'm hoping this works out, so I can use D in my new job. :-)
- BCS (4/7) Mar 09 2009 His comments on array slicing are interesting.
- grauzone (4/15) Mar 09 2009 Whatever happened to T[new]. Seems The Gods prefer having something like...
- bearophile (5/6) Mar 09 2009 Don't you see that what you say is negative? What you say lowers the moo...
- Nick Sabalausky (3/11) Mar 09 2009 *shrug* It seemed like an innocent enough comment to me.
- Robert Fraser (4/12) Mar 12 2009 I read it as a positive comment. T[new] is cool, but it adds complexity
- Cristian Vlasceanu (19/28) Mar 21 2009 Using ArraySegment's under the hood is kind of is what I am doing now; o...
- Tim M (4/5) Mar 09 2009 I've been looking at that blog on and off a few times but I have missed ...
- Cristian Vlasceanu (8/14) Mar 21 2009 There is still a long way before we can release a beta, but if you're
http://www.reddit.com/r/d_language/comments/838lf/cristian_vlasceanu_and_d_for_the_net_platform/
Mar 09 2009
On Mon, Mar 9, 2009 at 12:23 PM, Walter Bright <newshound1 digitalmars.com>wrote:http://www.reddit.com/r/d_language/comments/838lf/cristian_vlasceanu_and_d_for_the_net_platform/I'm hoping this works out, so I can use D in my new job. :-) --bb
Mar 09 2009
Reply to Walter,http://www.reddit.com/r/d_language/comments/838lf/cristian_vlasceanu_a nd_d_for_the_net_platform/His comments on array slicing are interesting. Seems to me the solution should be to have *all* dynamic arrays be ArraySegment as all dynamic arrays under DMD are a slices of the full memory space.
Mar 09 2009
BCS wrote:Reply to Walter,Whatever happened to T[new]. Seems The Gods prefer having something like an "array builder" struct, and leave slices unchanged. Or maybe they'll remove the ability to increase the length of a slice.http://www.reddit.com/r/d_language/comments/838lf/cristian_vlasceanu_a nd_d_for_the_net_platform/His comments on array slicing are interesting. Seems to me the solution should be to have *all* dynamic arrays be ArraySegment as all dynamic arrays under DMD are a slices of the full memory space.
Mar 09 2009
grauzone:Seems The Gods prefer having something like [...]<Don't you see that what you say is negative? What you say lowers the mood of people, makes them nervous. What you say is worse than useless, has a net negative value. So I suggest you to change and try to build something, to add value instead of trying to remove value from the group of people and their work. Otherwise it may be better for you to find other ways to use your time. Bye, bearophile
Mar 09 2009
"bearophile" <bearophileHUGS lycos.com> wrote in message news:gp4dak$1b21$1 digitalmars.com...grauzone:*shrug* It seemed like an innocent enough comment to me.Seems The Gods prefer having something like [...]<Don't you see that what you say is negative? What you say lowers the mood of people, makes them nervous. What you say is worse than useless, has a net negative value. So I suggest you to change and try to build something, to add value instead of trying to remove value from the group of people and their work. Otherwise it may be better for you to find other ways to use your time.
Mar 09 2009
bearophile wrote:grauzone:I read it as a positive comment. T[new] is cool, but it adds complexity to the type system and breaks backwards compatibility, so perhaps grauzone was saying he prefers one of those solutions?Seems The Gods prefer having something like [...]<Don't you see that what you say is negative? What you say lowers the mood of people, makes them nervous. What you say is worse than useless, has a net negative value. So I suggest you to change and try to build something, to add value instead of trying to remove value from the group of people and their work. Otherwise it may be better for you to find other ways to use your time. Bye, bearophile
Mar 12 2009
Using ArraySegment's under the hood is kind of is what I am doing now; one interesting edge case is when you want to call functions written in other .NET languages (one main idea behind this project is to allow interoperability between D and other languages, and leverage existing frameworks rather than reinvent the wheel). If you pass a slice to a "foreign" function that mutates elements in the array, it will not work as expected, because non-D code has no knowledge of slices. The work-around is to construct a temporary array out of the slice, but any changes that the called function makes to that temp array will be lost. This can be remedied by having the compiler generate post-call code that commits the changes back into the original array. It may work but is not efficient. Currently I content myself with just issuing a compiler warning / error when such a situation is detected. Cheers, Cristian "BCS" <ao pathlink.com> wrote in message news:78ccfa2d3bc0a8cb6ed48908f778 news.digitalmars.com...Reply to Walter,http://www.reddit.com/r/d_language/comments/838lf/cristian_vlasceanu_a nd_d_for_the_net_platform/His comments on array slicing are interesting. Seems to me the solution should be to have *all* dynamic arrays be ArraySegment as all dynamic arrays under DMD are a slices of the full memory space.
Mar 21 2009
On Tue, 10 Mar 2009 08:23:08 +1300, Walter Bright <newshound1 digitalmars.com> wrote:http://www.reddit.com/r/d_language/comments/838lf/cristian_vlasceanu_and_d_for_the_net_platform/I've been looking at that blog on and off a few times but I have missed a few posts. Has there ever been a beta?
Mar 09 2009
There is still a long way before we can release a beta, but if you're curious you are welcome to take a look: svn://216.154.214.180:8080/d.net/trunk/dnet I am thinking about moving the project off my private server to CodePlex one of these days... Cheers, Cristian "Tim M" <a b.com> wrote in message news:op.uqj8yfqdjdp9fl tim-laptop...On Tue, 10 Mar 2009 08:23:08 +1300, Walter Bright <newshound1 digitalmars.com> wrote:http://www.reddit.com/r/d_language/comments/838lf/cristian_vlasceanu_and_d_for_the_net_platform/I've been looking at that blog on and off a few times but I have missed a few posts. Has there ever been a beta?
Mar 21 2009