Re: Copy Constructor DIP and implementation
On Monday, October 8, 2018 4:27:47 AM MDT RazvanN via Digitalmars-d-announce wrote: > On Monday, 8 October 2018 at 10:26:17 UTC, Nicholas Wilson wrote: > > On Monday, 8 October 2018 at 10:14:51 UTC, RazvanN wrote: > >> On Tuesday, 2 October 2018 at 09:26:34 UTC, RazvanN wrote: > >>> Hi all, > >>> > >>> I just pushed another version of the DIP in which the major > >>> modifications among otthers are removing implicit and use > >>> copy constructor calls in all situations where a copy is > >>> made. For more details, please visit [1] and if you have the > >>> time, please offer some feedback, > >>> > >>> Thank you, > >>> RazvanN > >>> > >>> [1] https://github.com/dlang/DIPs/pull/129/ > >> > >> I've made all the changes in the code that the DIP includes[1] > >> and the tests seem to be all green. I still need to add more > >> tests; if you have any tests that you want to make sure the > >> implementation takes into account please post them. > >> > >> Cheers, > >> RazvanN > >> > >> [1] https://github.com/dlang/dmd/pull/8688 > > > > Both the DIP and the implementation still lack a -dip10xx > > switch. > > After discussing with Walter and Andrei we came to the conclusion > that a flag is not necessary in this case. Immediately after the > DIP is accepted, the postblit will be deprecated. Even without a transitional switch, I would ask that we _please_ delay actually deprecating postblit constructors until copy constructors have been in at least one release. We do this when replacing old symbols in Phobos with new ones, because if we don't, it's not possible to have your code compile with the current release and master at the same time without getting deprecation messages (while code _could_ use static if with __VERSION__ to support multiple releases, that doesn't work with master, since unfortunately, __VERSION__ on master always matches the most recent release rather than the next one). The DIP that covers deprecations talks about delaying deprecations when adding new symbols that for exactly that reason, and replacing postblit constructors with copy constructors poses exactly the same problem. It should always be possible to make code compile with both master and the latest release without deprecation messages, since otherwise, even programmers who are completely on top of things could end up having to deal with a flood of deprecation messages that they can't fix. - Jonathan M Davis
Re: Beta 2.082.1
On Saturday, 6 October 2018 at 18:12:43 UTC, Andre Pany wrote: As far as I understand you have access to this server only. Can you check what is causing the issue? See https://dlang.slack.com/archives/C4DN1H6LA/p1536909712000100 for more info. I'm about to rebuild the nightlies infrastructure based on a buildkite worker, so that release binary building becomes somewhat more transparent (and reliable). The new nightlies binaries will be uploaded to downloads.dlang.org/nightlies just as all the other binaries.
gRPC for D is released.
hunt-grpc is Grpc for D programming language, hunt-http library based. example server code: import helloworld.helloworld; import helloworld.helloworldrpc; import grpc; class GreeterImpl : GreeterBase { override HelloReply SayHello(HelloRequest request) { HelloReply reply = new HelloReply(); reply.message = "hello " ~ request.name; return reply; } } string host = "0.0.0.0"; ushort port = 50051; Server server = new Server(); server.listen(host , port); server.register( new GreeterImpl()); server.start(); example client code: import helloworld.helloworld; import helloworld.helloworldrpc; import grpc; auto channel = new Channel("127.0.0.1" , 50051); GreeterClient client = new GreeterClient(channel); HelloRequest request = new HelloRequest(); request.name = "test"; HelloReply reply = client.SayHello(request); build for library: dub build -v build for example: dub build -c=example -v hunt-grpc project: https://github.com/huntlabs/hunt-grpc
Re: gRPC for D is released.
On Thursday, 11 October 2018 at 12:15:43 UTC, Brian wrote: hunt-grpc is Grpc for D programming language, hunt-http library based. [...] hunt-grpc project: https://github.com/huntlabs/hunt-grpc Interesting! D might be a candidate for being added here later: https://grpc.io/ "go straight to Quick Start in the language of your choice:"
Re: gRPC for D is released.
On Thursday, 11 October 2018 at 12:15:43 UTC, Brian wrote: hunt-grpc is Grpc for D programming language, hunt-http library based. hunt-grpc project: https://github.com/huntlabs/hunt-grpc Could you at least link to https://grpc.io/about/ so others know what this is?
Re: Beta 2.082.1
On Thursday, 11 October 2018 at 12:19:56 UTC, Martin Nowak wrote: https://dlang.slack.com/archives/C4DN1H6LA/p1536909712000100 for more info. I'm about to rebuild the nightlies infrastructure based on a buildkite worker, so that release binary building becomes somewhat more transparent (and reliable). The new nightlies binaries will be uploaded to downloads.dlang.org/nightlies just as all the other binaries. Nice.
Re: gRPC for D is released.
Hi! I'm the community manager for gRPC and this is awesome! Would love to add this to our ecosystem repo. Would also be great to have you talk about this on an upcoming community call!
Re: gRPC for D is released.
On Thursday, 11 October 2018 at 16:19:07 UTC, April Nassi wrote: Hi! I'm the community manager for gRPC and this is awesome! Would love to add this to our ecosystem repo. Would also be great to have you talk about this on an upcoming community call! That'll be nice.
Release D 2.082.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Glad to announce D 2.082.1. http://dlang.org/download.html This point release fixes a few issues over 2.082.1, see the changelog for more details. http://dlang.org/changelog/2.082.1.html - -Martin -BEGIN PGP SIGNATURE- iQIzBAEBCgAdFiEEpzRNrTw0HqEtE8TmsnOBFhK7GTkFAlu/1nsACgkQsnOBFhK7 GTnjkRAApPjGrvTsFsgW4RxLNUgjQUjcsxgfUXdaeWyEjjRiAEvCv+GCYn7tTT74 +Am3GHX7B07lZ3KYmbC3Wad4rB5/6Q0TyVP4JxDmUuU/msqw1yu2yf3xIglLivAW D+KOkXrrpT0ptT5HlrEv6AOqQSCMCwvBGb4ePZldhqBxqnLBURsvEBBJ6HxUroa2 CjwBbAIbdWDZoR2eqJinWvuadh836Lzxq01X7pttNOZfhhCvppOqkY4JILgubMY5 9wVFRZWhL47nihyAYXMoa5/fhX16hRWzadEVmb4KM+2aVqCQC8CIA/Yvb0BKlZ/c BZ6XX0qXpHhal0N18QsXdfvYMiSKXnVEOzfb/bTbuSPlVcimU84EX360GlAQNJsT 7XWwTABc0X1mEuNk2b0mBMEWuz+rYQklpWa/CQ15X0Ye2gu7oLO06g82lIndpR0c 9YwNYyjKQJXSf0OZaBcyNTptl0k0o7E7J7RLfUAR5SMOWzXjjf6vyTk/68Dkns/+ 2e2mAINMZgeD/cu5BrfoqsM3PPauoQbhh6JaA7tnBhqe0A6OgJoWJjnl17hvwPKA sv5AskWp0JdTKYBYgQZxXS5JBr5VCgdAE9rAPyZXyS/y6N+3yOgWVu5Z6UdaTTl9 V0agzRHm8YZPnLbgId9PjWBLA4Kc9ng0xAHXQrWwMR4FPZ98yY8= =cVOc -END PGP SIGNATURE-
Silicon Valley October Social - October 13, 2018 - Dinner
Nicholas Wilson, the author of dcompute[1] and a prominent member of the D community, is visiting the Bay Area for a conference. Meet us for dinner at 6pm on Saturday, October 13, 2018 Embassy Suites by Hilton Santa Clara Silicon Valley 2885 Lakeside Drive · Santa Clara, CA Find us at the Lobby/Concierge. We may eat at the hotel or walk to a nearby restaurant. Please RSVP either at acehr...@yahoo.com or at the meetup link so that we know to wait for you: https://www.meetup.com/D-Lang-Silicon-Valley/events/255473018/ Ali [1] https://github.com/libmir/dcompute