DUB 0.9.24 release

2015-09-20 Thread Sönke Ludwig via Digitalmars-d-announce
Getting close to the 1.0.0 milestone, this release implements all of the 
major missing features except for a reviewed/cleaned up D API. The most 
important changes in this release are:


 - Support for SDLang [1] based package recipes. While JSON is and will
   stay available, this format is a lot more enjoyable, with support
   for comments and a much cleaner syntax. See the package format
   specification [2] for an overview.

 - Greatly enhanced "dub describe" support - includes a "targets" field
   usable for external build tools, adds a --data=... switch to output
   in shell-friendly format instead of JSON, supports a bunch of new
   environment variables for pre/post build/generate commands and more.

 - An experimental ARM build is now available on the download page.

 - Builds with DMD frontends 2.064.2 through 2.068.2.

Also new is an online documentation page of the command line interface 
[3], which is generated from the same information as the command line 
--help pages.



Download:
http://code.dlang.org/download

Change log:
https://github.com/D-Programming-Language/dub/blob/master/CHANGELOG.md

[1]: https://github.com/Abscissa/SDLang-D/
[2]: http://code.dlang.org/package-format?lang=sdl
[3]: http://code.dlang.org/docs/commandline


Re: Go 1.5

2015-09-20 Thread Jack Stouffer via Digitalmars-d-announce

On Sunday, 20 September 2015 at 22:41:46 UTC, deadalnix wrote:

That's just bad excuses.


Excuses? Sure. Bad excuses? Not nearly. The other things I listed 
are much more important (IMO) than making the GC faster.


Re: Go 1.5

2015-09-20 Thread deadalnix via Digitalmars-d-announce

On Friday, 18 September 2015 at 20:46:18 UTC, Jack Stouffer wrote:

On Friday, 18 September 2015 at 19:26:27 UTC, Rory wrote:
The new GC in Go 1.5 seems interesting. What they say about is 
certainly interesting.


http://blog.golang.org/go15gc

"To create a garbage collector for the next decade, we turned 
to an algorithm from decades ago. Go's new garbage collector 
is a concurrent, tri-color, mark-sweep collector, an idea 
first proposed by Dijkstra in 1978."


I think this was talked about in general. If I remember 
correctly the consensus was that


1. D's GC is really primitive (70's style stop the world) and 
there's a lot of room for improvement


2. However, D has much more important problems currently than a 
slow GC, e.g. std.allocator, a GC-less phobos, smaller .o files 
for embedded systems, A better DMD with DDMD, etc.


The reason Go has a better GC than D is that Go users have no 
choice but to use the GC, while D users have a bunch more 
options.


That's just bad excuses.



Re: vibe.d 0.7.25 released

2015-09-20 Thread tired_eyes via Digitalmars-d-announce

On Sunday, 20 September 2015 at 13:43:35 UTC, Sönke Ludwig wrote:
This release fixes a regression in the multi-part form parser. 
In addition to some additional bug fixes and minor changes, it 
adds support for out/ref @headerParam parameters in the REST 
interface generator. Finally, this release drops official 
support for DMD frontend versions below 2.066.x.


Change log: http://vibed.org/blog/posts/vibe-release-0.7.25

Homepage: http://vibed.org/
DUB package: http://code.dlang.org/packages/vibe-d
GitHub: https://github.com/rejectedsoftware/vibe.d


Congrats!
GitHub link on the changelog page seems to be broken.


vibe.d 0.7.25 released

2015-09-20 Thread Sönke Ludwig via Digitalmars-d-announce
This release fixes a regression in the multi-part form parser. In 
addition to some additional bug fixes and minor changes, it adds support 
for out/ref @headerParam parameters in the REST interface generator. 
Finally, this release drops official support for DMD frontend versions 
below 2.066.x.


Change log: http://vibed.org/blog/posts/vibe-release-0.7.25

Homepage: http://vibed.org/
DUB package: http://code.dlang.org/packages/vibe-d
GitHub: https://github.com/rejectedsoftware/vibe.d


Re: cpp_binder, a not-yet-useful tool for generating C++ bindings

2015-09-20 Thread deadalnix via Digitalmars-d-announce

On Monday, 21 September 2015 at 04:22:30 UTC, Paul O'Neil wrote:
As the title says, cpp_binder is a tool that generates C++ 
bindings.  It reads C++ headers and produces a D file filled 
with "extern(C++)" declarations.  It can translate a bunch of 
cool, small examples, but is not close to being ready for 
prime-time.  It crashes a lot, especially in the STL; since the 
STL is pretty pervasive, I have not successfully used 
cpp_binder on an actual C++ library.


I've written more about cpp_binder and my experiences at 
http://www.todayman.net/cpp_binder-pre-announcement-and-status.html.


The code is available at https://github.com/todayman/cpp_binder 
. cpp_binder still dumps lots of debugging info to stdout and 
stderr, so you'll probably want to redirect those somewhere 
beesides your console.


I hope that this post will spur discussion / decisions / action 
binding C++ libraries into D.  I think the language 
capabilities (e.g. extern(C++, namespace)) get really far and 
that the next big push needs to be on binding real libraries 
and tools to help.


This strikes as a most needed project. How come it crashes a lot 
? Glancing quickly at the source, it looks like it is using clang 
as a source of C++ truth.


If you can make it work on the STL, that would be a significant 
step forward for D. I'm very serious.


cpp_binder, a not-yet-useful tool for generating C++ bindings

2015-09-20 Thread Paul O'Neil via Digitalmars-d-announce
As the title says, cpp_binder is a tool that generates C++ bindings.  It
reads C++ headers and produces a D file filled with "extern(C++)"
declarations.  It can translate a bunch of cool, small examples, but is
not close to being ready for prime-time.  It crashes a lot, especially
in the STL; since the STL is pretty pervasive, I have not successfully
used cpp_binder on an actual C++ library.

I've written more about cpp_binder and my experiences at
http://www.todayman.net/cpp_binder-pre-announcement-and-status.html.

The code is available at https://github.com/todayman/cpp_binder .
cpp_binder still dumps lots of debugging info to stdout and stderr, so
you'll probably want to redirect those somewhere beesides your console.

I hope that this post will spur discussion / decisions / action binding
C++ libraries into D.  I think the language capabilities (e.g.
extern(C++, namespace)) get really far and that the next big push needs
to be on binding real libraries and tools to help.

-- 
Paul O'Neil
Github / IRC: todayman


Re: vibe.d 0.7.25 released

2015-09-20 Thread Sönke Ludwig via Digitalmars-d-announce

Am 20.09.2015 um 16:31 schrieb tired_eyes:

On Sunday, 20 September 2015 at 13:43:35 UTC, Sönke Ludwig wrote:

This release fixes a regression in the multi-part form parser. In
addition to some additional bug fixes and minor changes, it adds
support for out/ref @headerParam parameters in the REST interface
generator. Finally, this release drops official support for DMD
frontend versions below 2.066.x.

Change log: http://vibed.org/blog/posts/vibe-release-0.7.25

Homepage: http://vibed.org/
DUB package: http://code.dlang.org/packages/vibe-d
GitHub: https://github.com/rejectedsoftware/vibe.d


Congrats!
GitHub link on the changelog page seems to be broken.


Thanks! The link is fixed now.


Re: DUB 0.9.24 release

2015-09-20 Thread ZombineDev via Digitalmars-d-announce

On Sunday, 20 September 2015 at 19:36:13 UTC, Sönke Ludwig wrote:

[...]


Congrats! I really like the new SDLang format.
BTW, I was just looking to update dub on my machine a moment 
before I saw this :P