Beta D 2.068.0-b2

2015-07-25 Thread Martin Nowak via Digitalmars-d-announce
Second beta for the 2.068.0 release.

http://downloads.dlang.org/pre-releases/2.x/2.068.0/
http://ftp.digitalmars.com/

Also available on Travis-CI as dmd-2.068.0-b2.

The changelog (http://dlang.org/changelog.html#2.068.0) contains a list
of all fixed issues that will be included in 2.068.0.
A description of library and language changes is still upcoming.

This beta comes with 27 dmd, 2 druntime, and 4 phobos fixes.

https://github.com/D-Programming-Language/dmd/compare/v2.068.0-b1...v2.068.0-b2
https://github.com/D-Programming-Language/druntime/compare/v2.068.0-b1...v2.068.0-b2
https://github.com/D-Programming-Language/phobos/compare/v2.068.0-b1...v2.068.0-b2

Please report any bugs at https://issues.dlang.org.

-Martin


Re: Voting for std.experimental.allocator

2015-07-25 Thread Dicebot via Digitalmars-d-announce

Final stats:

Yes - 25
No - 0

Quite a definitive approval. http://wiki.dlang.org/Review_Queue 
log has been updated.


With this formal review of std.experimental.allocator is 
considered finished.


Vibe-d MQTT client library

2015-07-25 Thread TC via Digitalmars-d-announce
I wanted to announce the first tagged version[0] of native D MQTT 
client library for vibe-d.


It's just the first release so there are features missing, but 
hopefully with community help, they will be there soon.


It's tested against RabbitMQ[1] message broker.

I wanted it to be as lightweight as possible, so it has no other 
direct dependencies but vibe-d.


There are already mqttd broker implementation by Atila Nevens[2] 
and his cerealed serializer I know of. Actually they were both 
helpfull resources - so thanks for that.


Main differences are:
- messages are structs not classes - avoid GC as much as possible
- focus on the client side
- serialization is done simply, just to work with defined 
messages (not as a generic serialization) with range interfaces - 
speed is on par with msgpack-d[3]
- hopefully clean easily understandable code with a lot of 
comments in it to make it easier for contributors

- supports the latest MQTT protocol - 3.1.1

I still consider myself as a D rookie, so there are surely places 
which can be done better, more D idiomatic way. You are welcome 
to point me to them or even create pull requests.


[0] http://code.dlang.org/packages/vibe-mqtt
[1] https://www.rabbitmq.com/
[2] http://code.dlang.org/packages/mqtt
[3] https://github.com/msgpack/msgpack-d


Re: Vibe-d MQTT client library

2015-07-25 Thread Martin Nowak via Digitalmars-d-announce

On Saturday, 25 July 2015 at 15:23:48 UTC, TC wrote:

It's tested against RabbitMQ[1] message broker.


You also intend to work on a direct AMQP implementation?


Re: Vibe-d MQTT client library

2015-07-25 Thread TC via Digitalmars-d-announce

On Saturday, 25 July 2015 at 17:46:23 UTC, Martin Nowak wrote:

On Saturday, 25 July 2015 at 15:23:48 UTC, TC wrote:

It's tested against RabbitMQ[1] message broker.


You also intend to work on a direct AMQP implementation?


It would be nice to have too, but according to specs[0], it seems 
to bee a lot of effort to make in comparison to MQTT.


Maybe STOMP[1] protocol can be interesting too, but it's even 
simpler..


Btw what version of AMQP will be preferred? I guess 1.0, but it's 
totally different to 0.9.1 which RabbitMQ mainly uses.


I can read through specs to at least see how hard it is, I can 
imagine doing the packets serializations/deserializations (it's 
not hard, but takes time to write packet structures and proper 
unit tests), but for now I'm just learning vibe-d and don't feel 
too confident in it to write protocol that complex - but with 
shared efforts it can be done ;-)


[0] 
http://docs.oasis-open.org/amqp/core/v1.0/amqp-core-complete-v1.0.pdf

[1] https://stomp.github.io/stomp-specification-1.2.html


Re: Beta D 2.068.0-b1

2015-07-25 Thread Martin Nowak via Digitalmars-d-announce
On 07/15/2015 09:39 AM, Suliman wrote:
> There was plan to include dub (and other tools) in DMD distrib. In what
> release it would be done?

The current plan is to do so when dub reaches 1.0, should be pretty soon.


Re: Beta D 2.068.0-b1

2015-07-25 Thread Martin Nowak via Digitalmars-d-announce
On 07/14/2015 08:47 PM, Jacob Carlborg wrote:
> It appears this is part of Apple's new security policies. The root user
> cannot change system directories/files. /System, /bin, /usr/ and /sbin
> are all part of what's now considered system directories. /usr/local is
> available to developers [1]. I guess we can just create the symlinks in
> /usr/local/bin instead. It's already included in the default PATH, if I
> recall correctly.
> 
> [1] https://developer.apple.com/videos/wwdc/2015/?id=706

Can you help with fixing the installer?


Run D on AWS Lambda

2015-07-25 Thread Laeeth Isharc via Digitalmars-d-announce

https://aws.amazon.com/lambda/
https://github.com/Laeeth/awslambda_d
http://blog.0x82.com/2014/11/24/aws-lambda-functions-in-go/
No proper docs yet, but you can figure it out from the go example.


Re: Run D on AWS Lambda

2015-07-25 Thread Rikki Cattermole via Digitalmars-d-announce

On 26/07/2015 3:55 p.m., Laeeth Isharc wrote:

https://aws.amazon.com/lambda/
https://github.com/Laeeth/awslambda_d
http://blog.0x82.com/2014/11/24/aws-lambda-functions-in-go/
No proper docs yet, but you can figure it out from the go example.


FYI, based upon what I could find, it is using Amazon Linux[0] x64.
So because right now we cannot cross compile really, linux has to be 
host OS to build these with D, locally atleast.


[0] http://aws.amazon.com/amazon-linux-ami/


Re: Run D on AWS Lambda

2015-07-25 Thread Martin Nowak via Digitalmars-d-announce

On Sunday, 26 July 2015 at 03:55:17 UTC, Laeeth Isharc wrote:

https://aws.amazon.com/lambda/
https://github.com/Laeeth/awslambda_d
http://blog.0x82.com/2014/11/24/aws-lambda-functions-in-go/
No proper docs yet, but you can figure it out from the go 
example.


Please take the time to write the damn docs and a small article.
If you don't know where to host it, you can write a guest entry 
on my blog https://code.dawg.eu/.