www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - D at work

reply Pedro Lacerda <pslacerda gmail.com> writes:
--000e0cdfd6465be8dd04b87da6f6
Content-Type: text/plain; charset=UTF-8

Hi all,

I'm intern at a Java and Python company despite I spent most of my free
time in there programming in D. Now I have a chance to use D on a low
priority project. I want to know relevant use cases of D, because those at
wiki aren't suited for my job. Good to know that Thrift is ready for use,
this will encourage my managers.

Since still are many compiler bugs and phobos is changing quickly, is
better I stuck at some version (eg. 2.057),  or "rolling release" is the
way to go?

I feel that I'm a lucky man.

Pedro Lacerda

--000e0cdfd6465be8dd04b87da6f6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi all,<div><br></div><div><div>I&#39;m intern at a Java and Python company=
 despite I spent most of my free time in there programming in D. Now I have=
 a chance to use D on a low priority project. I want to know relevant use c=
ases of D, because those at wiki aren&#39;t suited for my job. Good to know=
 that Thrift is ready for use, this will encourage my managers.</div>


<div><br></div><div>Since still are many compiler bugs and phobos is changi=
ng quickly, is better I stuck at some version (eg. 2.057), =C2=A0or &quot;r=
olling release&quot; is the way to go?</div></div><div><br></div><div>I fee=
l that I&#39;m a lucky man.</div>


<div><br></div><div>Pedro Lacerda</div><div><br>
</div>

--000e0cdfd6465be8dd04b87da6f6--
Feb 08 2012
next sibling parent reply "Adam D. Ruppe" <destructionator gmail.com> writes:
The way I do it is to try updates at some
point when I have a little free time.

Get the new version, but keep the old version.

Compile. If it works, sweet, probably ok to keep
it.

If your app doesn't compile, and it isn't an
easy fix, just go back to the old release.


Every two or three releases though, I'll take
the pain and make sure I'm up to date anyway,
usually because the new dmd releases are good
stuff.
Feb 08 2012
parent Jacob Carlborg <doob me.com> writes:
On 2012-02-09 02:13, Adam D. Ruppe wrote:
 The way I do it is to try updates at some
 point when I have a little free time.

 Get the new version, but keep the old version.

 Compile. If it works, sweet, probably ok to keep
 it.

 If your app doesn't compile, and it isn't an
 easy fix, just go back to the old release.


 Every two or three releases though, I'll take
 the pain and make sure I'm up to date anyway,
 usually because the new dmd releases are good
 stuff.

DVM is great for this: https://bitbucket.org/doob/dvm -- /Jacob Carlborg
Feb 08 2012
prev sibling next sibling parent bearophile <bearophileHUGS lycos.com> writes:
Pedro Lacerda:

 Since still are many compiler bugs and phobos is changing quickly, is
 better I stuck at some version (eg. 2.057),  or "rolling release" is the
 way to go?

I am using "rolling" with D, but now I am doing it at a sub-release resolution. This means I keep my code updated about as DMD gets updated, almost daily. I do this because from my experience I've seen that for me it's not easy to fix in my code all those changes/improvements at once every DMD release, and to learn all those things at once :-) I think I am not wasting a significant amount of time doing this because 98% of the changes are progressive, and compiling DMD+Phobos requires a very short time, and I avoid some troubles I used to have. Probably few years from now the situation will slow down, and a more relaxed approach will be enough, like updating my code every release or two. Bye, bearophile
Feb 08 2012
prev sibling next sibling parent "Jesse Phillips" <jessekphillips+D gmail.com> writes:
On Thursday, 9 February 2012 at 01:08:39 UTC, Pedro Lacerda wrote:
 Hi all,

 I'm intern at a Java and Python company despite I spent most of 
 my free
 time in there programming in D. Now I have a chance to use D on 
 a low
 priority project. I want to know relevant use cases of D, 
 because those at
 wiki aren't suited for my job. Good to know that Thrift is 
 ready for use,
 this will encourage my managers.

 Since still are many compiler bugs and phobos is changing 
 quickly, is
 better I stuck at some version (eg. 2.057),  or "rolling 
 release" is the
 way to go?

 I feel that I'm a lucky man.

 Pedro Lacerda

Basically the same here. I'll grab the latest DMD, and see how it goes, I'll also try and grab the beta when it is released in hopes to prevent any blockers for my use getting through. New releases tend to be fairly enticing, for example I won't need CSV as library anymore and it sounds like 2.059 could be a candidate for the new std.process. It can also be a pain when your project starts taking on libraries. Right now I'm using LuaD but I can't use the latest due to a bug, when DMD creates more changes it becomes hard to make the changes to provide back to upstream. And if you are adding new libraries then those libraries may not be buildable with the version you use, I don't consider this much of an issue when using the latest dmd as the effort to make it work isn't a waste, but if behind then I will wait until I can use the latest DMD. I don't have to coordinate with any team members for the project though. These things would probably be a little more of a problem in such a situation. But overall it has been a good experience. As for use cases, command line is a good bet. I suggest starting with something that has a clear scope and isn't chosen based on a marketing feature. For example if you're going to build a server of some sort be sure the project won't grow and require database access (or verify that the bindings you'll need are up-to-date beforehand), and while making use of const/pure would good to use don't make your design choices around it. Do expand/explore and contribute, real world testing needs to be done, but be genital with it as things are still coming together and you want to show a productivity gain and quality.
Feb 08 2012
prev sibling parent Pedro Lacerda <pslacerda gmail.com> writes:
--000e0ce0391e7a923804b8864609
Content-Type: text/plain; charset=UTF-8

 DVM is great for this: https://bitbucket.org/doob/dvm

DVM sounds well, thanks! As for use cases, command line is a good bet. I suggest starting with
 something that has a clear scope and isn't chosen based on a marketing
 feature. For example if you're going to build a server of some sort be sure
 the project won't grow and require database access (or verify that the
 bindings you'll need are up-to-date beforehand), and while making use of
 const/pure would good to use don't make your design choices around it. Do
 expand/explore and contribute, real world testing needs to be done, but be
 genital with it as things are still coming together and you want to show a
 productivity gain and quality.

I'll keep it in mind. Why can't I make design around const/pure? ************************************************************************ Do you know any famous company or software publicly running on D? I searched at StackOverflow, Wiki4D and Wikipedia without meaningful results. 2012/2/9 Jacob Carlborg <doob me.com>
 On 2012-02-09 02:13, Adam D. Ruppe wrote:

 The way I do it is to try updates at some
 point when I have a little free time.

 Get the new version, but keep the old version.

 Compile. If it works, sweet, probably ok to keep
 it.

 If your app doesn't compile, and it isn't an
 easy fix, just go back to the old release.


 Every two or three releases though, I'll take
 the pain and make sure I'm up to date anyway,
 usually because the new dmd releases are good
 stuff.

DVM is great for this: https://bitbucket.org/doob/dvm -- /Jacob Carlborg

--000e0ce0391e7a923804b8864609 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div class=3D"gmail_quote"><div><blockquote class=3D"gmail_quote" style=3D"= margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-= left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p= adding-left:1ex"> <span>DVM is great for this:=C2=A0</span><a href=3D"https://bitbucket.org/d= oob/dvm" target=3D"_blank">https://bitbucket.org/doob/dvm</a></blockquote><= div>=C2=A0</div><div>=C2=A0DVM sounds well, thanks!</div></div><div> <br></div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin-= top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-wi= dth:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-= left:1ex"> As for use cases, command line is a good bet. I suggest starting with somet= hing that has a clear scope and isn&#39;t chosen based on a marketing featu= re. For example if you&#39;re going to build a server of some sort be sure = the project won&#39;t grow and require database access (or verify that the = bindings you&#39;ll need are up-to-date beforehand), and while making use o= f const/pure would good to use don&#39;t make your design choices around it= . Do expand/explore and contribute, real world testing needs to be done, bu= t be genital with it as things are still coming together and you want to sh= ow a productivity gain and quality.<br> </blockquote></div><br><div>I&#39;ll keep it in mind. Why can&#39;t I make = design around const/pure?</div><div><br></div><div>************************= ************************************************=C2=A0</div> <div><br></div><div>Do you know any famous company or software publicly run= ning on D? I searched at StackOverflow, Wiki4D and Wikipedia without meanin= gful results.</div><div><br></div><div><br></div> <br><br><div class=3D"gmail_quote">2012/2/9 Jacob Carlborg <span dir=3D"ltr= ">&lt;<a href=3D"mailto:doob me.com" target=3D"_blank">doob me.com</a>&gt;<= /span><br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord= er-left:1px #ccc solid;padding-left:1ex"> <div><div>On 2012-02-09 02:13, Adam D. Ruppe wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> The way I do it is to try updates at some<br> point when I have a little free time.<br> <br> Get the new version, but keep the old version.<br> <br> Compile. If it works, sweet, probably ok to keep<br> it.<br> <br> If your app doesn&#39;t compile, and it isn&#39;t an<br> easy fix, just go back to the old release.<br> <br> <br> Every two or three releases though, I&#39;ll take<br> the pain and make sure I&#39;m up to date anyway,<br> usually because the new dmd releases are good<br> stuff.<br> </blockquote> <br></div></div> DVM is great for this: <a href=3D"https://bitbucket.org/doob/dvm" target=3D= "_blank">https://bitbucket.org/doob/dvm</a><span><font color=3D"#888888"><b= r> <br> -- <br> /Jacob Carlborg<br> </font></span></blockquote></div><br> --000e0ce0391e7a923804b8864609--
Feb 09 2012