Re: This Week in D 16: microcontroller, andoid, std.allocator, lazy import trick

2015-05-12 Thread JohnnyK via Digitalmars-d-announce

On Monday, 11 May 2015 at 03:09:53 UTC, Adam D. Ruppe wrote:

http://arsdnet.net/this-week-in-d/may-10.html
https://twitter.com/adamdruppe/status/597598994227924992

The tip could probably use a rewrite in editing, but I'm out of 
time again tonight and I hope I got the point across anyway. As 
someone who really likes distributing single-file libraries 
when possible, the lazy import has given me some cool interop 
things without compromising my preferred distribution strategy.


I think producing this news bulletin is the single best thing you 
guys have done recently for the D programming language.  It makes 
it easy for someone like myself that is still learning the 
language (4 years now) and is wanting to know more about what is 
happening but don't know where to start.  Unfortunately I don't 
use D in my job daily so it's nice to get a new feed with the 
highlights on what is happening.  Anyway I just wanted to let you 
know that I appreciate all your hard work on this Adam and you 
definitely have a fan.  I am looking forward to reading next 
weeks post.


Re: This Week in D 16: microcontroller, andoid, std.allocator, lazy import trick

2015-05-11 Thread ezneh via Digitalmars-d-announce

On Monday, 11 May 2015 at 03:09:53 UTC, Adam D. Ruppe wrote:

http://arsdnet.net/this-week-in-d/may-10.html
https://twitter.com/adamdruppe/status/597598994227924992

The tip could probably use a rewrite in editing, but I'm out of 
time again tonight and I hope I got the point across anyway. As 
someone who really likes distributing single-file libraries 
when possible, the lazy import has given me some cool interop 
things without compromising my preferred distribution strategy.


There is a typo in the tip section :
 […], so they don't need to now it is a template, […]. now 
should be know.


Also, I am not sure this part is well constructed too :

[…] Be careful to test actually calling these functions […].





Re: This Week in D 16: microcontroller, andoid, std.allocator, lazy import trick

2015-05-11 Thread Nick Sabalausky via Digitalmars-d-announce

On 05/10/2015 11:09 PM, Adam D. Ruppe wrote:

http://arsdnet.net/this-week-in-d/may-10.html
https://twitter.com/adamdruppe/status/597598994227924992

The tip could probably use a rewrite in editing, but I'm out of time
again tonight and I hope I got the point across anyway. As someone who
really likes distributing single-file libraries when possible, the lazy
import has given me some cool interop things without compromising my
preferred distribution strategy.


Conditional importing is something I love in D and occasionally find 
indispensable. Unfortunately, dub's always throw every file I can 
possibly find at the compiler completely breaks it :( I am working on 
some PRs though which hopefully will get accepted and (I hope) should 
make it possible for a lib to essentially say I get built using rdmd 
(or whatever) not dub's internal build system which would fix the 
problem (or at least make it bypassable anyway).


https://github.com/D-Programming-Language/dub/issues/562
https://github.com/Abscissa/dub/commits/more-details



This Week in D 16: microcontroller, andoid, std.allocator, lazy import trick

2015-05-10 Thread Adam D. Ruppe via Digitalmars-d-announce

http://arsdnet.net/this-week-in-d/may-10.html
https://twitter.com/adamdruppe/status/597598994227924992

The tip could probably use a rewrite in editing, but I'm out of 
time again tonight and I hope I got the point across anyway. As 
someone who really likes distributing single-file libraries when 
possible, the lazy import has given me some cool interop things 
without compromising my preferred distribution strategy.