Re: Beta 2.076.0

2017-08-29 Thread Martin Nowak via Digitalmars-d-announce
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 08/18/2017 02:58 PM, Martin Nowak wrote: > First beta for the 2.076.0 release. > Release Candidate out now! http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.076.0.html -BEGIN PGP SIGNATURE-

Re: Beta 2.076.0

2017-08-26 Thread Martin Nowak via Digitalmars-d-announce
On 08/24/2017 09:40 PM, user1234 wrote: > I have a warning about the RPM package signature. It was already the > case with 2.075.1 Please be so kind to file a bug report (https://issues.dlang.org/) with a few more details and at best link it here :).

Re: Beta 2.076.0

2017-08-26 Thread Martin Nowak via Digitalmars-d-announce
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 08/18/2017 02:58 PM, Martin Nowak wrote: > First beta for the 2.076.0 release. Second beta out now! http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.076.0.html -BEGIN PGP SIGNATURE-

Re: Beta 2.076.0

2017-08-18 Thread Martin Nowak via Digitalmars-d-announce
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 08/18/2017 02:58 PM, Martin Nowak wrote: > First beta for the 2.076.0 release. > > This release comes with various phobos additions and lots of > improvements for -betterC (changelog entry upcoming). This release will also come with static

Beta 2.076.0

2017-08-18 Thread Martin Nowak via Digitalmars-d-announce
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 First beta for the 2.076.0 release. This release comes with various phobos additions and lots of improvements for -betterC (changelog entry upcoming). http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.076.0.html Please report

Release D 2.075.1

2017-08-15 Thread Martin Nowak via Digitalmars-d-announce
Glad to announce D 2.075.1. http://dlang.org/download.html This point release fixes a few issues over 2.075.0, see the changelog for more details. http://dlang.org/changelog/2.075.1.html -Martin

Re: Beta D 2.075.1

2017-08-10 Thread Martin Nowak via Digitalmars-d-announce
On Wednesday, 9 August 2017 at 15:35:12 UTC, Ulrich Küttler wrote: On Tuesday, 8 August 2017 at 20:32:34 UTC, Martin Nowak wrote: Thanks, considering https://issues.dlang.org/show_bug.cgi?id=17569 I'd still say we should evaluate whether we want to continue maintaining and shipping a tool

Re: Beta D 2.075.1

2017-08-08 Thread Martin Nowak via Digitalmars-d-announce
On Tuesday, 8 August 2017 at 15:45:45 UTC, Vladimir Panteleev wrote: On Tuesday, 8 August 2017 at 14:57:58 UTC, Daniel Kozak wrote: https://issues.dlang.org/show_bug.cgi?id=17731 Thanks. I've submitted a fix. Thanks, considering https://issues.dlang.org/show_bug.cgi?id=17569 I'd still say

Beta D 2.075.1

2017-08-08 Thread Martin Nowak via Digitalmars-d-announce
First beta for the 2.075.1 point release. This version resolves a few regressions and bugs in the 2.075.0 release. This release does not ship with the dman tool due to an unresolved issue. Let us know whether and how you use that tool, so we can evaluate whether it's worth fixing.

Re: Release D 2.075.0

2017-07-24 Thread Martin Nowak via Digitalmars-d-announce
On Monday, 24 July 2017 at 22:15:16 UTC, Moritz Maxeiner wrote: One thing to watch out for, though, is that if the D frontend starts using features introduced after its conversion to D, we are going to need to explicitly document the bootstrapping path (right now it's still simple enough with

Re: The X Macro using D

2017-07-22 Thread Martin Nowak via Digitalmars-d
On Saturday, 22 July 2017 at 11:50:40 UTC, Stefan Koch wrote: tuple map and array are all pretty expensive. please profile. Well a bit more compile time isn't the end of the world, and by far not the only metric (e.g. readability and maintainability also rank high). You're slightly obsessed

Re: Release D 2.075.0

2017-07-22 Thread Martin Nowak via Digitalmars-d-announce
On Thursday, 20 July 2017 at 18:22:36 UTC, Patrick Schluter wrote: 1 cpu on 2.4 GHz Westmere, gcc 6.2 version 2.067 They don't sell single-core CPUs any longer ;). What matters is the time you have to wait.

Release D 2.075.0

2017-07-19 Thread Martin Nowak via Digitalmars-d-announce
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Glad to announce D 2.075.0. This release comes with various phobos additions, a repackaged std.datetime, configurable Fiber stack guard pages (now also on Posix), and optional precise GC scanning for the DATA/TLS segment (static data) on Windows.

Re: static foreach is now in github master

2017-07-17 Thread Martin Nowak via Digitalmars-d-announce
On Monday, 17 July 2017 at 18:14:35 UTC, Andrei Alexandrescu wrote: For those who want to play with our new static foreach feature and are willing to take the steps to building their own dmd, Or just wait for the next nightly until tomorrow around 5AM UTC. curl -fsS

Release Candidate 2.075.0-rc1

2017-07-16 Thread Martin Nowak via Digitalmars-d-announce
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 First release candidate for 2.075.0. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.075.0.html [sic!] Please report any bugs at https://issues.dlang.org We've delayed some regression fixes to 2.075.1 which will follow soon.

Release Candidate 2.075.0-rc1

2017-07-16 Thread Martin Nowak via Digitalmars-d-announce
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 First release candidate for 2.075.0. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.075.0.html [sic!] Please report any bugs at https://issues.dlang.org We've delayed some regression fixes to 2.075.1 which will follow soon.

Re: There is a new test runner in town

2017-07-10 Thread Martin Nowak via Digitalmars-d-announce
On 06/11/2017 03:10 PM, Szabo Bogdan wrote: > I'm pleased to announce the first release of `trial`. Trial is a test > runner that aims for flexibility. I made this runner because I could not > find a flexible test runner for D, to extend it with various features, > like reporters and test

Re: daii - allocator-friendly closures and raii

2017-07-10 Thread Martin Nowak via Digitalmars-d-announce
On 06/23/2017 09:02 PM, Boris-Barboris wrote: > Hi, I wrote a small library, inspired by atilaneves automem. I didn't > like some things, especially that smart pointers proxied underlying > types, also I wanted class upcasting. > > https://github.com/Boris-Barboris/daii >

Beta 2.075.0-b4

2017-07-10 Thread Martin Nowak via Digitalmars-d-announce
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Fourth beta for the 2.075.0 release. Comes with more fixes for dmd, phobos, and installer: https://github.com/dlang/dmd/compare/v2.075.0-b2...v2.075.0-b4 https://github.com/dlang/phobos/compare/v2.075.0-b2...v2.075.0-b4

Re: Types: The Next Generation (Was: Why is phobos so wack?)

2017-07-10 Thread Martin Nowak via Digitalmars-d
On Sunday, 9 July 2017 at 20:22:16 UTC, Nick Sabalausky (Abscissa) wrote: SomeString fizzbar(RandomAccessRange!SomeNumeric r) {...} Looks like concepts. We've settled on leveraging the already useful template constraints (at best in CNF [¹]) for better error messages. It's on the Agenda for

Re: Why is phobos so wack?

2017-07-10 Thread Martin Nowak via Digitalmars-d
On Sunday, 9 July 2017 at 14:22:45 UTC, John Colvin wrote: That said, it would be nice if the errors were less daunting somehow. Better template constraint errors are on our Agenda for later this year. https://wiki.dlang.org/Vision/2017H2_draft

Re: Beta 2.075.0-b2

2017-07-10 Thread Martin Nowak via Digitalmars-d-announce
On 07/09/2017 02:59 AM, Seb wrote: > Just checking: you are aware that the latest beta (v2.075.0-b2) contains > a regression in __VERSION__? > > https://issues.dlang.org/show_bug.cgi?id=17614 Thanks I was not, went through the list of regressions a bit earlier on that same day.

Re: Beta 2.075.0-b2

2017-07-08 Thread Martin Nowak via Digitalmars-d-announce
On Friday, 7 July 2017 at 09:27:15 UTC, Paolo Invernizzi wrote: /Paolo We've recently changed the versioning of development builds and when we bump the hardcoded VERSION file https://github.com/dlang/dmd/pull/6935. Looks like we need to update that file for every pre-release now to please

Re: proposed @noreturn attribute

2017-07-08 Thread Martin Nowak via Digitalmars-d
On Saturday, 8 July 2017 at 12:17:57 UTC, Andrei Alexandrescu wrote: struct None { @disable this(); @disable this(this); @disable @property None init(); } None ThisFunctionExits(); The compiler detects (without having anything hardwired about the particular type "None") that the

Beta 2.075.0-b2

2017-07-05 Thread Martin Nowak via Digitalmars-d-announce
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Second beta for the 2.075.0 release. Comes with a couple of more fixes for dmd, phobos, and dub: https://github.com/dlang/dmd/compare/v2.075.0-b1...v2.075.0-b2 https://github.com/dlang/phobos/compare/v2.075.0-b1...v2.075.0-b2

Re: Beta 2.075.0-b1

2017-07-05 Thread Martin Nowak via Digitalmars-d-announce
On Wednesday, 5 July 2017 at 01:40:49 UTC, Dsby wrote: Will add in language : @ref @weak? is it DIP47? Or in library? We should be able to do it as library types. The only case we currently know that might need help from the compiler, is passing multiple mutable rc/uniq references. int

Re: Beta 2.075.0-b1

2017-07-04 Thread Martin Nowak via Digitalmars-d-announce
On Tuesday, 27 June 2017 at 10:46:38 UTC, Mario Kröplin wrote: It' not really intended to disallow comparisons between const(Status) and Status, isn't it? Sure not, please file a regression. BTW: There's a regression: running dmd with option -deps results in a segmentation fault. We can try

Re: About Dub capabilities

2017-07-04 Thread Martin Nowak via Digitalmars-d-learn
On Tuesday, 4 July 2017 at 20:46:33 UTC, Dukc wrote: Not that I have any need for that right now, I am just interested. preGenerate-/preBuildCommands are your friends to compile C++ code using dub. You'd invoke make or sth. and add the generated libs/objects to dub's sourceFiles.

Re: Beta 2.075.0-b1

2017-07-04 Thread Martin Nowak via Digitalmars-d-announce
On Tuesday, 27 June 2017 at 07:51:07 UTC, Dsby wrote: what about DIP1000? Is it default? We'd definitely mention such a big change in our changelog. At the moment scope support is still experimental with a couple of known issues

Beta 2.075.0-b1

2017-06-26 Thread Martin Nowak via Digitalmars-d-announce
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 First beta for the 2.075.0 release. This release comes with various phobos additions, a repackaged std.datetime, configurable Fiber stack guard pages (now also on Posix), and optional precise scanning for the DATA/TLS segment (static data) on

Re: Analysis of D GC

2017-06-25 Thread Martin Nowak via Digitalmars-d
On Saturday, 24 June 2017 at 18:12:43 UTC, Dmitry Olshansky wrote: I still think that separate pool types is better, see eg jemalloc. Right now this leads to some inflation of RSS cause previously used and now freed pages can only be reused when the whole pool (e.g. 4MB or 16MB) is free

Re: gdc is in

2017-06-24 Thread Martin Nowak via Digitalmars-d
On Wednesday, 21 June 2017 at 15:11:39 UTC, Joakim wrote: the gcc tree: https://gcc.gnu.org/ml/gcc/2017-06/msg00111.html Congratulations to Iain and the gdc team. :) I found out because it's on the front page of HN right now, where commenters are asking questions about D. Thanks for all

Re: Analysis of D GC

2017-06-24 Thread Martin Nowak via Digitalmars-d
On Monday, 19 June 2017 at 22:35:42 UTC, Dmitry Olshansky wrote: My take on D's GC problem, also spoiler - I'm going to build a new one soonish. http://olshansky.me/gc/runtime/dlang/2017/06/14/inside-d-gc.html --- Dmitry Olshansky FYI, we've tried to improve the binary pool search, but

Windows integration [was: Re: There really needs to be some moderation]

2017-06-18 Thread Martin Nowak via Digitalmars-d
On Sunday, 18 June 2017 at 21:06:07 UTC, Laeeth Isharc wrote: Is it possible to use lld on Windows? I never tried it myself. https://lld.llvm.org/ Says they don't support debug info (debugger being another dependency on VisualStudio). But yes, different toolchains (mingw, lld) and cross

Re: There really needs to be some moderation

2017-06-18 Thread Martin Nowak via Digitalmars-d
On Sunday, 18 June 2017 at 20:04:48 UTC, Joakim wrote: I strongly disagree about deletion and banning. The moment you start removing dissenting opinions, you move towards a bubble where you get isolated from the world. These people are detailing real frustrations that they had, albeit in a

Re: DIP 1008 Preliminary Review Round 1

2017-06-18 Thread Martin Nowak via Digitalmars-d
On Friday, 26 May 2017 at 08:45:40 UTC, Walter Bright wrote: Why doesn't the rethrow count as a move? There is no way it can be reused in the scope that rethrows. -- Andrei It could be - it's just that there's nothing currently in the compiler to support the notion of moves. So the destructor

Creating a dub library package that also comes with an executable

2017-06-18 Thread Martin Nowak via Digitalmars-d
Might be interesting for more people. Just added a recipe to our dub cookbook (yes that exists). [Creating a library package that also comes with an executable](https://github.com/dlang/dub/wiki/Cookbook#creating-a-library-package-that-also-comes-with-an-executable) Seems like quite a lot of

Re: Deprecating phobos modules [was: Re: Isn't it about time for D3?]

2017-06-18 Thread Martin Nowak via Digitalmars-d
On Thursday, 15 June 2017 at 18:26:57 UTC, Jesse Phillips wrote: In essence he is saying we should have immutable code releases. For example he would say that we should add a new namespace and not get rid of the original (std2.io, std2.xml, std2.json) now you can get your improvements out and

Re: Deprecating phobos modules [was: Re: Isn't it about time for D3?]

2017-06-18 Thread Martin Nowak via Digitalmars-d
On Wednesday, 14 June 2017 at 19:12:36 UTC, Jacob Carlborg wrote: You only need one, AST macros ;) Not going to happen anytime soon, as we do not have much interest in DSL abuse.

Deprecating phobos modules [was: Re: Isn't it about time for D3?]

2017-06-14 Thread Martin Nowak via Digitalmars-d
On Saturday, 10 June 2017 at 23:30:18 UTC, Liam McGillivray wrote: I'd be in favor of finally deprecating all sub-standard phobos module (moving them to https://github.com/dlang/undeaD) to make room for good implementations. Having a vacant place might be more encouraging than to wait for

Re: Release D 2.074.1

2017-06-05 Thread Martin Nowak via Digitalmars-d-announce
On Saturday, 3 June 2017 at 19:57:36 UTC, Joseph Rushton Wakeling wrote: The problem here is that anyone downstream wanting to build or package from source has to work around this issue, that without manual intervention, the version information of the compiler will be incorrect. If that's

Re: Release D 2.074.1

2017-06-05 Thread Martin Nowak via Digitalmars-d-announce
On Saturday, 3 June 2017 at 18:08:40 UTC, Joseph Rushton Wakeling wrote: On Thursday, 1 June 2017 at 21:04:00 UTC, Martin Nowak wrote: This point release fixes a few issues over 2.074.0, see the changelog for more details. I'm afraid that the release has another fault: the VERSION file still

Release D 2.074.1

2017-06-01 Thread Martin Nowak via Digitalmars-d-announce
Glad to announce D 2.074.1. http://dlang.org/download.html This point release fixes a few issues over 2.074.0, see the changelog for more details. http://dlang.org/changelog/2.074.1.html -Martin

Re: DIP 1008 Preliminary Review Round 1

2017-05-23 Thread Martin Nowak via Digitalmars-d
On Friday, 19 May 2017 at 15:45:28 UTC, Mike Parker wrote: Extensive discussion of this DIP has already taken place in two threads, both linked from the document. You may find it beneficial to skim through those threads before posting any feedback here. Thanks in advance to all who

Beta D 2.074.1-b1

2017-05-23 Thread Martin Nowak via Digitalmars-d-announce
First beta for the 2.074.1 point release. This version resolves a few regressions and bugs in the 2.074.0 release. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.074.1.html Please report any bugs at https://issues.dlang.org -Martin

Re: syntax sugar: std.path::buildPath instead of from!"std.path".buildPath

2017-05-23 Thread Martin Nowak via Digitalmars-d
On Tuesday, 14 February 2017 at 20:46:17 UTC, Walter Bright wrote: On 2/14/2017 8:25 AM, Andrei Alexandrescu wrote: Range remove (SwapStrategy s = SwapStrategy.stable, Range, Offset...) (Range range, Offset offset) if (s != SwapStrategy.stable && isBidirectionalRange!Range &&

Re: Eric Niebler talks about C++ Ranges at Microsoft Campus Wed evening

2017-05-18 Thread Martin Nowak via Digitalmars-d-announce
On Tuesday, 16 May 2017 at 17:44:28 UTC, Walter Bright wrote: Eric's talks are generally not to be missed. We often go out for beer afterwards :-) Was a good talk, find the video here [Concepts of the Upcoming Ranges TS](https://youtu.be/4OgAjT6HTG8).

Re: 2.074.0-regression in move semantics

2017-04-22 Thread Martin Nowak via Digitalmars-d
On Saturday, 22 April 2017 at 11:54:12 UTC, Nordlöw wrote: can no longer move the expression `y`. I don't understand why this specific case fails when others in the standard library apparently hasn't. Help, please. Please file a regression at issues.dlang.org and prefix the subject with

Re: The D ecosystem in Debian with free-as-in-freedom DMD

2017-04-12 Thread Martin Nowak via Digitalmars-d
On Monday, 10 April 2017 at 16:12:35 UTC, Iain Buclaw wrote: Last time someone else looked, it seemed like LDC and DMD make use of SOVERSION, but do so in an incorrect manner. You know what exactly is the problem? Any suggestion what to use instead? It's currently using libphobos2.so.0.74,

Re: Release Candidate 2.074.0-rc1

2017-04-12 Thread Martin Nowak via Digitalmars-d-announce
On Monday, 10 April 2017 at 20:53:00 UTC, Joseph Rushton Wakeling wrote: You didn't get my messages on slack about the backend license, then :-( I'd assumed that was the fastest way to reach you -- I should have filed an issue sooner. Usually works, but had too much to do to handle another

Re: automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-11 Thread Martin Nowak via Digitalmars-d-announce
On Monday, 10 April 2017 at 08:31:28 UTC, Atila Neves wrote: ```d import std.experimental.allocator.mallocator; UniqueArray!(int, Mallocator) a; a ~= [0,1]; ``` So the difference between std.container.Array and UniqueArray is that the latter supports allocators?

Re: automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-11 Thread Martin Nowak via Digitalmars-d-announce
On Tuesday, 11 April 2017 at 10:24:08 UTC, Nicholas Wilson wrote: In LDC we have an attribute for that `allocSize` (https://github.com/ldc-developers/druntime/blob/ldc/src/ldc/attributes.d#L16) perhaps this attribute should be used across compilers and be in druntime? Nice, if pure required

Re: automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-11 Thread Martin Nowak via Digitalmars-d-announce
On Sunday, 9 April 2017 at 13:59:14 UTC, Andrei Alexandrescu wrote: . The allocator has to be specified as part of the type: this means the user can choose how to store it in the smart pointer, which for singletons (e.g. Mallocator) or stateless allocators means they can take up zero space. If

Re: "Competitive Advantage with D" is one of the keynotes at C++Now 2017

2017-04-11 Thread Martin Nowak via Digitalmars-d-announce
On 04/11/2017 08:50 AM, FreeSlave wrote: > D can't compete with C++ until it gets proper dynamic library support on > all platforms. As far as I understand there're still problems on Windows. Go fix it ;). Yes, we still need to make `export` work to replace `dllimport`/`dllexport`, then we can

Re: D support for the Meson build system

2017-04-11 Thread Martin Nowak via Digitalmars-d-announce
On 04/11/2017 09:44 AM, Atila Neves wrote: > That's correct - __traits(getUnitTests) is broken unless compiling all > at once which is extremely unfortunate. I've filed a dmd bug already. > It's been on my TODO list for a while to fix it myself. [Issue 16995 – __traits(getUnittests) doesn't work

Re: automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-11 Thread Martin Nowak via Digitalmars-d-announce
On Sunday, 9 April 2017 at 10:22:49 UTC, Atila Neves wrote: I did not. Thanks for telling me! The way I wrote it RefCounted!(shared T) works - RefCounted doesn't have to be shared itself, but I guess it could be. I think the other design is slightly more correct, having a single thread own

Re: D support for the Meson build system

2017-04-10 Thread Martin Nowak via Digitalmars-d-announce
On 04/10/2017 02:41 PM, Matthias Klumpp wrote: > On Monday, 10 April 2017 at 12:10:41 UTC, Russel Winder wrote: >> On Mon, 2017-04-10 at 08:39 +, Atila Neves via Digitalmars-d- >> announce wrote: >>> […] >>> >>> As far as I know the only build system that does this by default for >>> D is

Re: Release Candidate 2.074.0-rc1

2017-04-10 Thread Martin Nowak via Digitalmars-d-announce
On 04/10/2017 09:42 PM, Joseph Rushton Wakeling wrote: > Reported at https://issues.dlang.org/show_bug.cgi?id=17317 but I'm also > highlighting it here since I think it's important: > > The backend license change has not yet been applied to the 2.074.0 > branch. It would seem like a very, very

Release D 2.074.0

2017-04-10 Thread Martin Nowak via Digitalmars-d-announce
Glad to announce D 2.074.0. This release comes with a compile-time-checked writefln/formattedWrite, plenty of phobos additions, and a new std.experimental.checkedint module. See the changelog for more details. http://dlang.org/download.html http://dlang.org/changelog/2.074.0.html -Martin

Re: dlang.org SSL certs

2017-04-09 Thread Martin Nowak via Digitalmars-d
On Friday, 31 March 2017 at 18:33:42 UTC, Ianis G. Vasilev wrote: dlang.org, forum.dlang.org, code.dlang.org, tour.dlang.org, wiki.dlang.org all serve the same content over both http and https. http://blog.dlang.org and https://blog.dlang.org Looks like blog.dlang.org is simply missing a

Re: D support for the Meson build system

2017-04-09 Thread Martin Nowak via Digitalmars-d-announce
On Sunday, 21 August 2016 at 19:08:59 UTC, Matthias Klumpp wrote: I hope you find this as useful as I do :-) Yes, mature build systems for bigger projects are great. Any opinion about/experience with [Bazel](https://bazel.build/)? https://github.com/mesonbuild/meson/wiki/Comparisons#bazel

Re: automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-09 Thread Martin Nowak via Digitalmars-d-announce
On Sunday, 9 April 2017 at 08:56:52 UTC, Atila Neves wrote: I benchmarked RefCounted against C++'s std::shared_ptr comparing ldc to clang using both shared and non-shared payloads in D. std::shared_ptr is faster (I've never written a smart pointer before), but the advantage of non-atomic

Re: Exceptions in @nogc code

2017-04-08 Thread Martin Nowak via Digitalmars-d
On Sunday, 2 April 2017 at 21:05:39 UTC, ketmar wrote: no, it won't. it is completely safe to free non-GC-owned memory with GC[0]. [0] http://dpldocs.info/experimental-docs/core.memory.GC.free.html At the cost of a GC mutex lock and metadata lookup, not too horrible, but not free either.

Re: D support for the Meson build system

2017-04-08 Thread Martin Nowak via Digitalmars-d-announce
On Friday, 7 April 2017 at 07:57:02 UTC, kinke wrote: So while compiling each file separately in parallel is potentially much much faster, the produced release binary may be slower due to less/no cross-module inlining (e.g., LDC's option is still experimental and known to have issues). In

Release Candidate 2.074.0-rc1

2017-04-08 Thread Martin Nowak via Digitalmars-d-announce
First release candidate for 2.074.0. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.074.0.html Please report any bugs at https://issues.dlang.org -Martin

Re: [OT] ISO C++ 17 changes

2017-04-08 Thread Martin Nowak via Digitalmars-d
On Tuesday, 4 April 2017 at 13:45:47 UTC, Meta wrote: I mean what goes on inside fold. If you look at the C++ example it's very concise and IMO beautiful: auto f(Args ...args) { return (0 + ... + args); } It's special syntax for a very limited (only infix operators) and rather obscure

Beta 2.074.0-b2

2017-04-03 Thread Martin Nowak via Digitalmars-d-announce
Second beta for the 2.074.0 release. This release comes with a compile-time-checked writefln/formattedWrite, plenty of phobos additions, and a new std.experimental.checkedint module. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.074.0.html Please report any bugs at

Re: The nail in the coffin of C++ or why don't GO there...

2017-04-01 Thread Martin Nowak via Digitalmars-d
On Thursday, 30 March 2017 at 11:03:03 UTC, Ervin Bosenbacher wrote: I am still convinced that D is awesome. As usual, use gdc or ldc for best results, dmd's backend misses lots of optimizations.

Re: Beta 2.074.0-b1

2017-04-01 Thread Martin Nowak via Digitalmars-d-announce
On Tuesday, 28 March 2017 at 10:30:48 UTC, H. S. Teoh wrote: Very cool about the new format!() feature. What about extending this to writef(ln)? That has already been done: see Phobos PR #5296. I'll try to cherry-pick over those as well, doesn't make sense to only release one part. Please

Re: Beta 2.074.0-b1

2017-03-30 Thread Martin Nowak via Digitalmars-d-announce
On Tuesday, 28 March 2017 at 09:49:59 UTC, Andrej Mitrovic wrote: On Friday, 24 March 2017 at 17:35:58 UTC, Martin Nowak wrote: Very cool about the new format!() feature. What about extending this to writef(ln)? Wow, that should've been top of the changelog!

Re: Beta 2.074.0-b1

2017-03-30 Thread Martin Nowak via Digitalmars-d-announce
On Monday, 27 March 2017 at 21:56:27 UTC, steven kladitis wrote: You can use the install.sh script for now. curl -fsS https://dlang.org/install.sh | bash -s dmd-beta -- windows does not know what curl is also bash , I think :) Indeed we should have a single-line Powershell install.ps1 as

Re: Can vibed be fast as Go or Python?

2017-03-30 Thread Martin Nowak via Digitalmars-d
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/28/2017 09:32 AM, Suliman wrote: > I found very interesting Python async framework japronto > https://github.com/squeaky-pl/japronto > > Test show that in some cases japronto may work as fast as Go. > > Can vibed be competitor (or even

Re: Can vibed be fast as Go or Python?

2017-03-30 Thread Martin Nowak via Digitalmars-d
On 03/28/2017 08:16 PM, Jacob Carlborg wrote: > I create a test at work, compared an existing Ruby implementation > of an API end point to a Go implementation and a D implementation. > The D implementation was five times faster. Unfortunately my > colleagues paid more attention to the result that

Re: Beta 2.074.0-b1

2017-03-26 Thread Martin Nowak via Digitalmars-d-announce
On Sunday, 26 March 2017 at 04:53:37 UTC, steven kladitis wrote: It is not downloadable from the dlang.com download page although it say it is. I get permission denied on all of them Unfortunately, missing docs means we couldn't build the packages, just the tar archives. Should get fixed with

Re: Beta 2.074.0-b1

2017-03-24 Thread Martin Nowak via Digitalmars-d-announce
On 03/24/2017 06:35 PM, Martin Nowak wrote: > First beta for the 2.074.0 release. > > This release comes with plenty of phobos additions and a new > std.experimental module. > > http://dlang.org/download.html#dmd_beta > http://dlang.org/changelog/2.074.0.html Forgot to mention, the packages

Beta 2.074.0-b1

2017-03-24 Thread Martin Nowak via Digitalmars-d-announce
First beta for the 2.074.0 release. This release comes with plenty of phobos additions and a new std.experimental module. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.074.0.html Please report any bugs at https://issues.dlang.org -Martin

Re: The delang is using merge instead of rebase/squash

2017-03-24 Thread Martin Nowak via Digitalmars-d
On Tuesday, 21 March 2017 at 20:16:00 UTC, Atila Neves wrote: git rebase master my_branch git checkout master git merge --no-ff my_branch Yes, that's about what we aim for, rebase w/ --autosquash though, so that people can `git commit --fixup` new fixup commits to open PRs w/o leaving noise

Re: Multi-commit PRs vs. multiple single-commit PRs

2017-03-24 Thread Martin Nowak via Digitalmars-d
On Tuesday, 21 March 2017 at 12:49:22 UTC, Vladimir Panteleev wrote: On Tuesday, 21 March 2017 at 11:59:42 UTC, deadalnix wrote: Then it should have been 2 PR or more to begin with. Splitting PR in smaller ones is a good practice in general, This is probably true for many cases, but I don't

Re: The delang is using merge instead of rebase/squash

2017-03-20 Thread Martin Nowak via Digitalmars-d
On Monday, 20 March 2017 at 12:25:22 UTC, deadalnix wrote: In addition there are a bunch of practical issues with this way of doing things. First there is no given that any intermediate state is sound, or even builds at all. That makes it very hard to bissect anything. You bissect on master

Re: The delang is using merge instead of rebase/squash

2017-03-19 Thread Martin Nowak via Digitalmars-d
On Wednesday, 15 March 2017 at 13:14:31 UTC, deadalnix wrote: This is making the history very spaghettified. Is that possible to have the bot rebase/squash commits and then pushing ? I don't really agree with the argument. A merge commit is a clear way to integrate changes from a PR/branch.

Release D 2.073.2

2017-03-09 Thread Martin Nowak via Digitalmars-d-announce
Glad to announce D 2.073.2. http://dlang.org/download.html This point release fixes a few issues over 2.073.1, see the changelog for more details. http://dlang.org/changelog/2.073.2.html -Martin

Beta D 2.073.2-b1

2017-03-04 Thread Martin Nowak via Digitalmars-d-announce
First beta for the 2.073.2 point release. This version resolves a few regressions and bugs in the 2.073.1 release. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.073.2.html Please report any bugs at https://issues.dlang.org -Martin

Release D 2.073.1

2017-02-16 Thread Martin Nowak via Digitalmars-d-announce
Glad to announce D 2.073.1. http://dlang.org/download.html This point release fixes a few issues over 2.073.0, see the changelog for more details. http://dlang.org/changelog/2.073.1.html -Martin

Beta D 2.073.1-b2

2017-02-13 Thread Martin Nowak via Digitalmars-d-announce
Second beta for the 2.073.1 point release. This version resolves a few regressions and bugs in the 2.073.0 release. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.073.1.html Please report any bugs at https://issues.dlang.org -Martin

Re: GSoC 2017 Application Rejected

2017-02-11 Thread Martin Nowak via Digitalmars-d-announce
On Friday, 10 February 2017 at 19:00:54 UTC, CRAIG DILLABAUGH wrote: Hello D Community Unfortunate, I guess the best improvement for the next GSoC is getting more help (people) to cater for the application/organization.

Beta D 2.073.1-b1

2017-02-08 Thread Martin Nowak via Digitalmars-d-announce
First beta for the 2.073.1 point release. This version resolves a few regressions and bugs in the 2.073.0 release. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.073.1.html Please report any bugs at https://issues.dlang.org -Martin

Release D 2.073.0

2017-01-22 Thread Martin Nowak via Digitalmars-d-announce
Glad to announce D 2.073.0. This release comes with a few phobos additions, new -mcpu=avx and -mscrt switch, and several bugfixes. http://dlang.org/download.html http://dlang.org/changelog/2.073.0.html -Martin

Re: Release Candidate 2.073.0-rc1

2017-01-19 Thread Martin Nowak via Digitalmars-d-announce
On Thursday, 19 January 2017 at 07:43:29 UTC, Jacob Carlborg wrote: About the new -mscrt=libname flag. Could we have a more generic name of the flag that would fit for other platforms to specify the C library, i.e. Musl instead of GNU? Or is this something different? It seems sufficiently

Release Candidate 2.073.0-rc1

2017-01-18 Thread Martin Nowak via Digitalmars-d-announce
First release candidate for 2.073.0. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.073.0.html Comes with a couple of more fixes: https://github.com/dlang/dmd/compare/v2.073.0-b2...v2.073.0-rc1 https://github.com/dlang/druntime/compare/v2.073.0-b2...v2.073.0-rc1

Re: CTFE Status

2017-01-17 Thread Martin Nowak via Digitalmars-d
On Tuesday, 17 January 2017 at 06:36:58 UTC, Stefan Koch wrote: real0m1.993s user0m1.872s sys 0m0.120s Just a tip, if you use (maybe install) /bin/time, you also get memory usage. 0.00user 0.00system 0:00.00elapsed 85%CPU (0avgtext+0avgdata 6372maxresident)k 0inputs+0outputs

Re: Beta 2.073.0-b1

2017-01-15 Thread Martin Nowak via Digitalmars-d-announce
On 01/14/2017 09:10 AM, Basile B. wrote: > Forget this, I've realized a bit late that it's already reported: > https://issues.dlang.org/show_bug.cgi?id=17072 The cause is that we build druntime on Windows with -dip25. https://issues.dlang.org/show_bug.cgi?id=17072#c1

Re: Beta 2.073.0-b1

2017-01-15 Thread Martin Nowak via Digitalmars-d-announce
Sorry, this is OT in the beta thread. On 01/15/2017 03:31 PM, Jacob Carlborg wrote: > What about lowering to "exp.tupleof[index]", which already bypass > protection? We also have lots of other stuff to do, and no there is no 1-to-1 mapping between exp.name and exp.tupleof[index].

Beta 2.073.0-b2

2017-01-14 Thread Martin Nowak via Digitalmars-d-announce
Second beta for the 2.073.0 release. This adds a few more dmd bugfixes over the first beta. https://github.com/dlang/dmd/compare/v2.073.0-b1...v2.073.0-b2 http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.073.0.html Please report any bugs at https://issues.dlang.org -Martin

Re: SmartRef: The Smart Pointer In D

2017-01-14 Thread Martin Nowak via Digitalmars-d-announce
On 01/14/2017 04:41 PM, Dmitry Olshansky wrote: > Not quite true, there is at least one huge advantage - thread-locality. > That is C++ smart_ptr has to be atomic, while its D counter part may > safely be non-atomic because everything is TLS be default. And you can add a shared postblit overload

Re: Beta 2.073.0-b1

2017-01-14 Thread Martin Nowak via Digitalmars-d-announce
On 01/14/2017 03:14 AM, bitwise wrote: > Is it possible to get an ETA on protection work on __traits? As any responsible programmer, I won't give out dates ;). But as was mentioned this is mostly just removing existing access checks, the visibility checks already treat __traits specially. This

Re: Auto recursive function

2017-01-11 Thread Martin Nowak via Digitalmars-d-learn
On Wednesday, 11 January 2017 at 19:39:17 UTC, Ali Çehreli wrote: return choose(lengths.length == 1, one!T(alloc, lengths[0]), two!T(alloc, lengths)); Well, choose is the right tool when the choice can only be made at runtime. That would be uncommon for dimensionality. Anyhow mentioning

Re: Auto recursive function

2017-01-11 Thread Martin Nowak via Digitalmars-d-learn
On Wednesday, 11 January 2017 at 19:23:10 UTC, Razvan Nitu wrote: auto makeMultidimensionalArray(T, Allocator)(auto ref Allocator alloc, size_t[] lengths) { if (lengths.length == 1) Looks like `static if` would fix your specific problem.

Re: Beta 2.073.0-b1

2017-01-11 Thread Martin Nowak via Digitalmars-d-announce
On Saturday, 7 January 2017 at 21:39:18 UTC, Timothee Cour wrote: * -transition=safe/-dip1000 => not mentioned in http://dlang.org/changelog/2.073.0.html That's deliberate, as you can't even use it with writeln yet. * std.experimental.ndslice has been deprecated. The synchronization between

Re: It is still not possible to use D on debian/ubuntu

2017-01-10 Thread Martin Nowak via Digitalmars-d
On Wednesday, 4 January 2017 at 15:10:48 UTC, deadalnix wrote: On Tuesday, 3 January 2017 at 00:16:52 UTC, Martin Nowak wrote: On Monday, 2 January 2017 at 18:18:33 UTC, deadalnix wrote: Plus the fix was actually released yesterday, so it's not like I'm lagging by much. The internal meddling

Re: dmd or phobos were broken in ubuntu 16.10 d-apt

2017-01-10 Thread Martin Nowak via Digitalmars-d
On Friday, 21 October 2016 at 04:16:38 UTC, mogu wrote: $ dmd hello.d Just for future reference, PIE support was fixed with 2.072.2. http://dlang.org/changelog/2.072.2.html https://issues.dlang.org/show_bug.cgi?id=16794

<    1   2   3   4   5   6   7   8   9   10   >