On Thursday, October 26, 2017 03:25:24 Adam Wilson via Digitalmars-d wrote:
> On 10/25/17 23:57, Jacob Carlborg wrote:
> > I'm more concerned that I don't think we'll manage to implement a
> > complete API and 100% bug free at the first try.
>
> Depends on how one defines first try. Phobos as a pre
On Monday, October 23, 2017 12:13:12 Laeeth Isharc via Digitalmars-d wrote:
> How can we generate a static binary ? I asked about this before,
> and the response was that it's a bad idea because of security
> vulns and so on. True if you are running on a conventional Linux
> host. But on the oth
On Friday, October 27, 2017 01:12:53 codephantom via Digitalmars-d wrote:
> VS is the most bloated piece of crap that's ever come out of
> Microsoft!
> Why encourage/force D developers to use it?
The problem is that to reasonably interact with the rest of the Windows
C/C++ ecosystem, you're pretty
On Friday, October 27, 2017 02:00:53 evilrat via Digitalmars-d wrote:
> On Friday, 27 October 2017 at 01:40:07 UTC, Jonathan M Davis
>
> wrote:
> > On Friday, October 27, 2017 01:12:53 codephantom via
> >
> > Digitalmars-d wrote:
> >> VS is the most bloated piece of crap that's ever come out of
> >
On Thursday, October 26, 2017 19:19:57 Adam Wilson via Digitalmars-d wrote:
> On 10/26/17 17:51, Jonathan M Davis wrote:
> > On Thursday, October 26, 2017 03:25:24 Adam Wilson via Digitalmars-d
wrote:
> >> On 10/25/17 23:57, Jacob Carlborg wrote:
> >>> I'm more concerned that I don't think we'll m
On Friday, October 27, 2017 12:30:58 bauss via Digitalmars-d wrote:
> Are there any plans to completely remove the delete keyword so
> members of ex. a class can be called delete? Or is there still
> code within DMD or Phobos that uses it?
It's been the plan for ages that delete was to be deprecat
On Friday, October 27, 2017 09:46:21 Kagamin via Digitalmars-d wrote:
> On Friday, 27 October 2017 at 01:40:07 UTC, Jonathan M Davis
>
> wrote:
> > The problem is that to reasonably interact with the rest of the
> > Windows C/C++ ecosystem, you're pretty much stuck using
> > Microsoft's linker. If
On Saturday, October 28, 2017 02:48:00 evilrat via Digitalmars-d wrote:
> On Saturday, 28 October 2017 at 02:30:50 UTC, codephantom wrote:
> > On Saturday, 28 October 2017 at 01:42:52 UTC, evilrat wrote:
> >> Since you already on that wave, can you test Windows SDK
> >> installation and make DMD's
On Saturday, October 28, 2017 02:50:39 codephantom via Digitalmars-d wrote:
> On Saturday, 28 October 2017 at 01:08:57 UTC, Mengu wrote:
> > looks like d has a long way to go on freebsd as well.
>
> I've had no issues with D in FreeBSD at all...
>
> ...and it's been a really smooth transition to D.
On Saturday, October 28, 2017 03:45:02 evilrat via Digitalmars-d wrote:
> On Saturday, 28 October 2017 at 03:00:16 UTC, Jonathan M Davis
>
> wrote:
> > ... I rewrote our build stuff so that it was all generated with
> > cmake. Then editing the build was the same on both platforms,
> > and building
On Saturday, October 28, 2017 07:12:13 Paulo Pinto via Digitalmars-d wrote:
> Visual Studio 2017 has native support for cmake as project format.
>
> It is also the new official format for Android NDK development.
>
> So we are quite ok with using cmake. :)
That definitely sounds like an improvemen
On Saturday, October 28, 2017 19:06:29 Dmitry Olshansky via Digitalmars-d
wrote:
> On Saturday, 28 October 2017 at 18:58:50 UTC, Andrei Alexandrescu
>
> wrote:
> > I am using wine to build our Windows toolchain on Linux per
> > https://wiki.dlang.org/Building_under_Posix. After building
> > dmd, I
On Saturday, October 28, 2017 21:51:50 Ola Fosheim Grøstad via Digitalmars-d
wrote:
> On Wednesday, 25 October 2017 at 22:19:21 UTC, Walter Bright
>
> wrote:
> > for core D devs. Of course, this is much easier in D than in
> > C++ because of D's const and pure attributes.
>
> Nah, the type system
On Saturday, October 28, 2017 16:59:03 LunaticWare via Digitalmars-d wrote:
> Event if there is no default constructor on struct we can still
> make one that work as well as if it were implemented, here is my
> example n__n
This idiom gets suggested from time to time, and I'm sure that it gets use
On Sunday, October 29, 2017 08:45:15 w0rp via Digitalmars-d wrote:
> I've noticed the benefits of writing non member functions in
> Python codebases. Say if you have a User model in a Django ORM,
> and you have a Thing model, and some operation on User and Thing.
> I've noticed that your code is al
On Sunday, October 29, 2017 14:27:34 Ola Fosheim Grøstad via Digitalmars-d
wrote:
> On Sunday, 29 October 2017 at 11:23:19 UTC, Steven Schveighoffer
>
> wrote:
> >> So, what will the member function be called? «opElvis»? No…
> >
> > opCast for bool.
>
> That means you cannot create your own type-s
On Sunday, October 29, 2017 16:14:11 12345swordy via Digitalmars-d wrote:
> On Sunday, 29 October 2017 at 02:39:21 UTC, codephantom wrote:
> > On Sunday, 29 October 2017 at 02:09:31 UTC, 12345swordy wrote:
> >
> > What I am, is:
> >
> > anti-bloat
> > anti-too-many-unecessary-dependencies
> > anti
On Sunday, October 29, 2017 16:18:43 Ola Fosheim Grøstad via Digitalmars-d
wrote:
> On Sunday, 29 October 2017 at 14:37:57 UTC, Jonathan M Davis
>
> wrote:
> > everything, but I could have missed something). As proposed
> > thus far, the Elvis operator is just the ternary operator where
> > the co
On Sunday, October 29, 2017 16:44:39 Ola Fosheim Grøstad via Digitalmars-d
wrote:
> On Sunday, 29 October 2017 at 16:29:57 UTC, Jonathan M Davis
>
> wrote:
> > valid using ?:, I would think that you'd want to be doing the
> > same check with stuff like if statements anyway. So, it sounds
> > to me
On Sunday, October 29, 2017 17:35:25 Nemanja Boric via Digitalmars-d wrote:
> On Sunday, 29 October 2017 at 17:19:44 UTC, Jonathan M Davis
>
> wrote:
> > On Sunday, October 29, 2017 16:44:39 Ola Fosheim Grøstad via
> >
> > Digitalmars-d wrote:
> >> On Sunday, 29 October 2017 at 16:29:57 UTC, Jonath
On Monday, October 30, 2017 08:34:16 bauss via Digitalmars-d wrote:
> On Monday, 30 October 2017 at 05:48:16 UTC, Ilya Yaroshenko wrote:
> > Hi,
> >
> > I added unittest-release builds into Travis. LDC works well but
> > DMD fails in few places.
> >
> > One DMD bug was filled [1]. I will explore ot
On Monday, October 30, 2017 11:04:32 Steven Schveighoffer via Digitalmars-d
wrote:
> On 10/29/17 3:10 PM, Nemanja Boric wrote:
> > We've already reported this as a bug (I actually got quite burned on it,
> > trusting assert(float_value) to prevent NaN's escaping the function),
> > but there were d
On Monday, October 30, 2017 14:18:56 Steven Schveighoffer via Digitalmars-d
wrote:
> On 10/30/17 1:40 PM, H. S. Teoh wrote:
> > Page 2 of this article is essentially another reason why UFCS in D
> > totally rawkz. In D, we can take Scott's advice *without* suffering
>
> > from syntactic inconsist
On Monday, October 30, 2017 21:47:50 Ola Fosheim Grøstad via Digitalmars-d
wrote:
> On Monday, 30 October 2017 at 19:51:30 UTC, Jonathan M Davis
> > The fact that NaN == NaN is false and yet cast(bool)NaN is true
> > though is just attrocious though. We aren't source compatible
> > with C like C++
On Monday, October 30, 2017 22:10:26 Steven Schveighoffer via Digitalmars-d
wrote:
> On 10/30/17 9:59 PM, codephantom wrote:
> > On Tuesday, 31 October 2017 at 01:47:39 UTC, Steven Schveighoffer wrote:
> >> I once thought as you do (though not as the syntax you propose). I now
> >> embrace UFCS fu
On Tuesday, October 31, 2017 20:06:12 bauss via Digitalmars-d wrote:
> If you look at:
> https://github.com/DiamondMVC/Diamond/blob/master/authentication/permissio
> ns.d#L13
>
> I have to import "diamond.http.method" manually, although the
> package "diamond.http" imports the module public like:
>
On Tuesday, October 31, 2017 06:33:02 Dmitry Olshansky via Digitalmars-d
wrote:
> On Tuesday, 31 October 2017 at 01:25:31 UTC, Adam D Ruppe wrote:
> > A 32 bit program can do most the same stuff.
>
> Client applications probably do not care much. Servers and
> cluster software can use more RAM and
On Wednesday, November 01, 2017 05:36:21 Dmitry Olshansky via Digitalmars-d
wrote:
> On Wednesday, 1 November 2017 at 03:55:14 UTC, Jonathan M Davis
> > But the fact remains that plenty of applications need 64-bit or
> > would benefit from 64-bit, and plenty of applications need
> > access to COFF
On Thursday, November 02, 2017 00:25:26 Andrei Alexandrescu via Digitalmars-
d wrote:
> From the recent PR-related discussion I gather that FreeBSD 12 has made
> some breaking changes to file primitives such as stat.
>
> Do binaries built for pre-v12 crash on v12? If that's the case we should
> ha
On Thursday, November 02, 2017 11:33:39 Steven Schveighoffer via
Digitalmars-d wrote:
> On 11/2/17 10:56 AM, Andrei Alexandrescu wrote:
> > On 11/02/2017 08:46 AM, Steven Schveighoffer wrote:
> >> Well, that is only header compatibility, not binary compatibility. In
> >> other words, that still me
On Thursday, November 02, 2017 09:46:06 H. S. Teoh via Digitalmars-d wrote:
> On Thu, Nov 02, 2017 at 12:50:47PM +, Nick Treleaven via Digitalmars-d
> wrote: [..]
>
> > I'd like to mention null-coalescing assignment syntax. Perl has `$a
> > //= $b`, and PHP has voted to support `$a ??= $b`, exp
On Thursday, November 02, 2017 13:46:11 Walter Bright via Digitalmars-d
wrote:
> On 11/1/2017 10:11 PM, Jonathan M Davis wrote:
> > But we
> > don't currently have a way to version code for a particular version of
> > FreeBSD even if we wanted to.
>
> The FreeBSD version can be detected at runtime
On Friday, November 03, 2017 02:08:43 codephantom via Digitalmars-d wrote:
> On Thursday, 2 November 2017 at 18:40:26 UTC, bauss wrote:
> > I disagree with that, because it would make the language very
> > verbose.
>
> Personally, I think function headers are starting to become to
> verbose.
>
> I
On Thursday, November 02, 2017 19:28:50 Walter Bright via Digitalmars-d
wrote:
> On 11/2/2017 2:25 PM, Jonathan M Davis wrote:
> > On Thursday, November 02, 2017 13:46:11 Walter Bright via Digitalmars-d
> >
> > wrote:
> >> On 11/1/2017 10:11 PM, Jonathan M Davis wrote:
> >>> But we
> >>> don't cur
On Friday, November 03, 2017 09:50:37 codephantom via Digitalmars-d wrote:
> On Friday, 3 November 2017 at 09:40:01 UTC, Walter Bright wrote:
> > Note that dmd still runs on Windows XP, though it is not
> > officially supported. You just need to be careful about using
> > TLS variables on it :-(
>
On Friday, November 03, 2017 11:04:12 codephantom via Digitalmars-d wrote:
> On Friday, 3 November 2017 at 10:26:42 UTC, Jonathan M Davis
>
> wrote:
> > I think that there's a decent chance that some of Phobos won't
> > work with XP though
>
> Same for FreeBSD ;-)
>
> e.g: below compile fine on
On Saturday, November 04, 2017 01:28:24 codephantom via Digitalmars-d wrote:
> On Friday, 3 November 2017 at 19:36:51 UTC, Jonathan M Davis
>
> wrote:
> > What version of dmd are you running?
> >
> > - Jonathan M Davis
>
>
> DMD (installed on
On Friday, November 03, 2017 12:34:22 Mark via Digitalmars-d wrote:
> On Friday, 3 November 2017 at 02:32:41 UTC, Jonathan M Davis
>
> wrote:
> > Pretty much the only case where out contracts work well is when
> > you have a very specific, testable condition that all results
> > must have and which
On Saturday, November 04, 2017 08:02:38 codephantom via Digitalmars-d wrote:
> On Saturday, 4 November 2017 at 03:19:00 UTC, Jonathan M Davis
>
> wrote:
> > So, that implies that you're doing something funny, but if
> > you're installing dmd with an installer or package manager,
> > then I would th
On Saturday, November 04, 2017 08:38:58 codephantom via Digitalmars-d wrote:
> On Saturday, 4 November 2017 at 08:17:44 UTC, Jonathan M Davis
>
> wrote:
> > Per the spec, if you don't give a module declaration, the name
> > of the module is the name of the file (minus the extension).
> > So, if you
On Saturday, November 04, 2017 01:30:12 Walter Bright via Digitalmars-d
wrote:
> On 11/3/2017 5:29 AM, Rainer Schuetze wrote:
> >> Note that dmd still runs on Windows XP, though it is not officially
> >> supported. You just need to be careful about using TLS variables on it
> >> :-(
> >
> > to avo
On Saturday, November 04, 2017 09:34:05 codephantom via Digitalmars-d wrote:
> On Saturday, 4 November 2017 at 08:46:37 UTC, Jonathan M Davis
>
> wrote:
> > Well, the modules need names. So, either, the compiler is going
> > to have to pick a name for you, or you're going to have to give
> > it one
On Saturday, November 04, 2017 13:02:45 Nick Treleaven via Digitalmars-d
wrote:
> On Saturday, 4 November 2017 at 06:08:22 UTC, Jonathan M Davis
>
> wrote:
> > Heck, take a really simply one like sqrt. All you have to check
> > in the out contract is the return value. You have no idea what
> > was
On Saturday, November 04, 2017 15:27:39 Ola Fosheim Grøstad via Digitalmars-
d wrote:
> On Saturday, 4 November 2017 at 14:12:08 UTC, Adam D. Ruppe wrote:
> > On Saturday, 4 November 2017 at 13:59:39 UTC, Jonathan M Davis
> >
> > wrote:
> >> I'm very much of the opinion that proper unit tests prett
On Sunday, November 05, 2017 16:25:16 MrSmith via Digitalmars-d wrote:
> On Saturday, 4 November 2017 at 15:38:42 UTC, Jonathan M Davis
>
> wrote:
> > In principle, that would be nice, but in practice, it's not
> > really feasible. In the general case, there's no way to save
> > the state of the pa
On Saturday, November 04, 2017 14:12:08 Adam D. Ruppe via Digitalmars-d
wrote:
> On Saturday, 4 November 2017 at 13:59:39 UTC, Jonathan M Davis
>
> wrote:
> > I'm very much of the opinion that proper unit tests pretty much
> > eliminate the need for out contracts.
>
> I think that sqrt example is
On Monday, November 06, 2017 07:10:43 bauss via Digitalmars-d wrote:
> On Monday, 6 November 2017 at 00:20:09 UTC, Neia Neutuladh wrote:
> > On Saturday, 28 October 2017 at 11:38:52 UTC, Andrei
> >
> > Alexandrescu wrote:
> >> Walter and I decided to kick-off project Elvis for adding the
> >> homon
On Monday, November 06, 2017 09:26:24 Satoshi via Digitalmars-d wrote:
> Look, this operator does not break anything. If you don't want to
> use it, just don't, but why do you force everyone else to not to
> use it, just because it is not adding anything "more valuable"
> than just better syntax?
On Monday, November 06, 2017 09:50:47 bauss via Digitalmars-d wrote:
> On Monday, 6 November 2017 at 09:48:39 UTC, Temtaime wrote:
> > On Monday, 6 November 2017 at 09:44:24 UTC, bauss wrote:
> >> If a function has an UDA you don't need to give the function a
> >> return type.
> >>
> >> Is that a b
On Wednesday, November 08, 2017 02:52:14 bauss via Digitalmars-d wrote:
> I believe it would be nice if we were allowed to pass symbols we
> don't have access to into templates, but of course we shouldn't
> be allowed to use them.
>
> Ex.
>
> foo.d
>
> ```
> module foo;
>
> private int bar;
> ```
>
On Wednesday, November 08, 2017 10:35:17 codephantom via Digitalmars-d
wrote:
> On Wednesday, 8 November 2017 at 09:34:39 UTC, Joakim wrote:
> > ...
>
> Companies (along with their technologies and profits) are like
> waves in the ocean..they come..and they go..
>
> But BSD Unix.. like the energy
On Wednesday, November 08, 2017 12:35:19 codephantom via Digitalmars-d
wrote:
> On Wednesday, 8 November 2017 at 11:47:32 UTC, Jonathan M Davis
>
> wrote:
> > Personally, I think that the best course of action in general
> > as a developer is to try and make your software as
> > cross-platform as
On Thursday, November 09, 2017 23:42:37 codephantom via Digitalmars-d wrote:
> On Wednesday, 8 November 2017 at 11:47:32 UTC, Jonathan M Davis
>
> wrote:
> > Oh, I'm all for using FreeBSD, but most of the arguments for
> > using FreeBSD over Windows apply to Linux. And if you can't get
> > someone
On Friday, November 10, 2017 10:36:01 codephantom via Digitalmars-d wrote:
> On Friday, 10 November 2017 at 10:24:01 UTC, Adam Wilson wrote:
> > And what?
>
> This Windows 10.
>
> https://www.youtube.com/watch?v=KHG6fXEba0A
>
> You want us to look the MSFT on how things should be done??
In general
On Friday, November 10, 2017 11:39:48 codephantom via Digitalmars-d wrote:
> On Friday, 10 November 2017 at 10:51:28 UTC, Jonathan M Davis
>
> wrote:
> > Shooting down an idea just because it comes from Microsoft (or
> > any other company) rather than judging it on its technical
> > merits is just
On Saturday, November 11, 2017 13:40:23 Michael V. Franklin via Digitalmars-
d wrote:
> What's the official word on this:
> https://github.com/dlang/dmd/pull/6404
>
> Does it need a DIP?
>
> If I revive it will it go anywhere?
>
> What needs to be done to move it forward?
It probably needs a DIP,
On Saturday, November 11, 2017 14:11:50 Neia Neutuladh via Digitalmars-d
wrote:
> At my job, I put together a database migration tool for our
> services. It scans for resources in your JAR file with an
> appropriate path, interprets them as SQL scripts, and applies
> them to the database if it has
On Saturday, November 11, 2017 15:35:23 Neia Neutuladh via Digitalmars-d
wrote:
> On Saturday, 11 November 2017 at 15:00:03 UTC, Jonathan M Davis
>
> wrote:
> > You could always generate a file with the list of files that
> > you want to import and then use that to generate the import
> > statemen
On Sunday, November 12, 2017 19:13:00 Dmitry Olshansky via Digitalmars-d
wrote:
> On Sunday, 12 November 2017 at 16:00:28 UTC, Ola Fosheim Grøstad
>
> wrote:
> > On Sunday, 12 November 2017 at 13:34:50 UTC, Dmitry Olshansky
> >
> > wrote:
> >> if (a & (flag1 | flag2))
> >>
> >> to
> >>
> >> if ((a
On Monday, November 13, 2017 16:12:42 Joakim via Digitalmars-d wrote:
> Probably a good sign that they mention D with C++ and Rust and
> have looked at D features:
>
> https://github.com/zig-lang/zig/wiki/Why-Zig-When-There-is-Already-CPP%2C->
> D%2C-and-Rust%3F
Glancing over what they say there,
On Wednesday, November 15, 2017 07:28:02 Steven Schveighoffer via
Digitalmars-d wrote:
> On 11/14/17 8:56 PM, Michael V. Franklin wrote:
> > On Tuesday, 14 November 2017 at 23:41:39 UTC, Steven Schveighoffer
wrote:
> >> In fact, I'm surprised you can alias to an expression like that.
> >> Usually
On Friday, November 17, 2017 01:47:01 Michael V. Franklin via Digitalmars-d
wrote:
> With Microsoft's proposed change, the compiler will emit a
> warning for Example C. If you want to opt out of the warning,
> you'll need to declare `_instance` as `Test? _instance` (see the
> '?' there).
Persona
On Friday, November 17, 2017 09:44:01 rumbu via Digitalmars-d wrote:
> I know your aversion towards C#, but this not about C#, it's
> about safety. And safety is one of the D taglines.
Completely aside from whether having the compile-time checks would be good
or not, I would point out that this is
On Friday, November 17, 2017 15:05:48 Timon Gehr via Digitalmars-d wrote:
> On 17.11.2017 12:22, Jonathan M Davis wrote:
> > On Friday, November 17, 2017 09:44:01 rumbu via Digitalmars-d wrote:
> >> I know your aversion towards C#, but this not about C#, it's
> >> about safety. And safety is one of
On Saturday, November 18, 2017 15:03:05 Timon Gehr via Digitalmars-d wrote:
> This is quite annoying:
>
> void main(){
> import std.datetime;
> StopWatch sw;
> import std.stdio;
> writeln(sw.peek().to!("seconds",double));
> }
>
> This gives the deprecation warning:
> Deprecation
On Saturday, November 18, 2017 23:12:45 Michael V. Franklin via Digitalmars-
d wrote:
> I've resurrected a PR that fixes an implementation bug.
> https://github.com/dlang/dmd/pull/7332
>
> The existing implementation does not comply with the spec. The
> PR fixes that, but it may cause breakage, so
On Saturday, November 18, 2017 15:24:49 Timon Gehr via Digitalmars-d wrote:
> On 17.11.2017 15:53, Jonathan M Davis wrote:
> > On Friday, November 17, 2017 15:05:48 Timon Gehr via Digitalmars-d
wrote:
> >> On 17.11.2017 12:22, Jonathan M Davis wrote:
> >>> On Friday, November 17, 2017 09:44:01 rum
On Sunday, November 19, 2017 13:35:13 Michael V. Franklin via Digitalmars-d
wrote:
> Apparently user-defined attributes are not permitted on enum
> members.
>
> Issue is documented here:
> https://issues.dlang.org/show_bug.cgi?id=9701
> Pull request implementing the feature is here:
> https://gith
On Sunday, November 19, 2017 15:01:50 Rumbu via Digitalmars-d wrote:
> On Saturday, 18 November 2017 at 22:46:20 UTC, Jon Degenhardt
>
> wrote:
> > I admittedly don't understand the argument that it should be
> > hard to user programs to convert time durations to alternate
> > standard units of mea
On Sunday, November 19, 2017 16:55:06 Rumbu via Digitalmars-d wrote:
> On Sunday, 19 November 2017 at 16:02:34 UTC, Jonathan M Davis
>
> wrote:
> > Was the documentation on Duration not informative enough, or
> > did you have trouble finding it from the documentation for the
> > benchmarking functi
On Sunday, November 19, 2017 17:56:37 Rumbu via Digitalmars-d wrote:
> Finally, you resolve the deprecation, but the compiler throws an
> error like this:
>
> core.time.dur!"usecs".dur (long length) is not callable using
> argument types (Duration)
>
> Based on the error above, how in the world can
On Sunday, November 19, 2017 21:07:53 Meta via Digitalmars-d wrote:
> On Sunday, 19 November 2017 at 12:54:37 UTC, Basile B. wrote:
> > Yeah, "no worries" but for example a few weeks ago a bug report
> > has drawn my attention:
> >
> > https://issues.dlang.org/show_bug.cgi?id=17925
> >
> > After te
On Wednesday, November 22, 2017 00:19:51 codephantom via Digitalmars-d
wrote:
> On Tuesday, 21 November 2017 at 20:02:06 UTC, Timon Gehr wrote:
> > I'm confident that you would be able to use null safe languages
> > properly if that is what had been available for most of your
> > career.
>
> You d
On Wednesday, November 22, 2017 01:25:48 codephantom via Digitalmars-d
wrote:
> On Wednesday, 22 November 2017 at 00:49:02 UTC, Jonathan M Davis
>
> wrote:
> > The question isn't whether we should use the type system to
> > prevent bugs. The question is which set of problems really make
> > sense
On Wednesday, November 22, 2017 09:28:47 codephantom via Digitalmars-d
wrote:
> On Wednesday, 22 November 2017 at 08:55:03 UTC, Petar Kirov
>
> [ZombineDev] wrote:
> > On Wednesday, 22 November 2017 at 00:19:51 UTC, codephantom
> >
> > wrote:
> >> btw. what was the last compiler you wrote?
> >
> >
On Wednesday, November 22, 2017 12:45:01 Daniel Kozak via Digitalmars-d
wrote:
> Ok I understand why there is no conversion from Duration to float, but
> would be possible to make Duration.total not a member function? So insted
> of:
>
> static mytotal(string unit)(Duration dur)
> {
> return d
On Sunday, November 26, 2017 18:58:04 jmh530 via Digitalmars-d wrote:
> On Sunday, 26 November 2017 at 08:49:42 UTC, Dmitry Olshansky
>
> wrote:
> > If all of the code is 100% @safe (not system and not trusted)
> > you have a different language where write barriers would be
> > cheaper to implement
On Monday, November 27, 2017 15:56:09 Ola Fosheim Grostad via Digitalmars-d
wrote:
> On Monday, 27 November 2017 at 14:35:03 UTC, Dmitry Olshansky
>
> wrote:
> > Then watch Herb’s Sutter recent talk “Leak freedom by default”.
> > Now THAT guy must be out of his mind :)
>
> He could be, I havent se
On Monday, November 27, 2017 19:30:36 Mengu via Digitalmars-d wrote:
> On Monday, 27 November 2017 at 17:44:54 UTC, Andrei Alexandrescu
>
> wrote:
> > All: we have had an increase in troll posts lately. Please
> > avoid engaging them and resist the urge to correct assertions
> > no matter how wrong
On Tuesday, November 28, 2017 00:15:24 John via Digitalmars-d wrote:
> On Monday, 27 November 2017 at 17:48:35 UTC, Andrei Alexandrescu
>
> wrote:
> > Hi Mike, this forum is not an appropriate place for requesting
> > official answers. We don't scan the forums looking for matters
> > that need atte
On Tuesday, November 28, 2017 18:24:27 Jacob Carlborg via Digitalmars-d
wrote:
> On 2017-11-28 03:20, Michael V. Franklin wrote:
> > For those who might want to know, Walter has informed me that this
> > change will require a DIP.
>
> That's unfortunate. It should be the opposite, a DIP on why enu
On Wednesday, November 29, 2017 14:32:54 Basile B. via Digitalmars-d wrote:
> Hello, most of the changes made during the current year to the
> std.experimental.logger package are related to the cosmetic
> style. Isn't this a sign showing that the experimentation is
> achieved ?
>
>
> Facts:
> - The
On Tuesday, November 28, 2017 18:18:20 Walter Bright via Digitalmars-d
wrote:
> On 11/28/2017 9:27 AM, Jacob Carlborg wrote:
> > Why would druntime be a barrier for you for those projects?
>
> When the C version is 90K and the translated D version is 1200K, it is a
> barrier. It's a barrier for ot
On Wednesday, November 29, 2017 19:29:56 Walter Bright via Digitalmars-d
wrote:
> On 11/29/2017 7:15 PM, Jonathan M Davis wrote:
> > I wouldn't have expected assertions to cost much more than however much
> > it costs to evaluate the expression being asserted unless the assertion
> > fails. Now, e
On Wednesday, November 29, 2017 20:08:53 Walter Bright via Digitalmars-d
wrote:
> On 11/29/2017 8:02 PM, Jonathan M Davis wrote:
> > Well, given that assertions would normally be used in a debug build
> > where
> > you generally don't optimize, and the debug symbols are compiled in, I
> > wouldn't
On Thursday, November 30, 2017 09:37:30 Timon Gehr via Digitalmars-d wrote:
> On 30.11.2017 04:29, Walter Bright wrote:
> > The code *size* causes problems because it pushes the executing code out
> > of the cache. Another issue (I should check this again) was doing null
> > checks on member functi
On Thursday, November 30, 2017 09:56:35 Ola Fosheim Grøstad via Digitalmars-
d wrote:
> On Thursday, 30 November 2017 at 09:01:20 UTC, Jonathan M Davis
>
> wrote:
> > function is called, it'll segfault when it tries to access one
> > of the member variables
>
> Is there an upper limit for how large
On Thursday, November 30, 2017 13:18:37 A Guy With a Question via
Digitalmars-d wrote:
> As long as you understand it's limitations I think most bugs can
> be avoided. Where UTF16 breaks down, is pretty well defined.
> Also, super rare. I think UTF32 would be great to, but it seems
> like just a w
On Thursday, November 30, 2017 03:37:37 Walter Bright via Digitalmars-d
wrote:
> On 11/30/2017 2:39 AM, Joakim wrote:
> > Java, .NET, Qt, Javascript, and a handful of others use UTF-16 too, some
> > starting off with the earlier UCS-2:
> >
> > https://en.m.wikipedia.org/wiki/UTF-16#Usage
> >
> > N
On Thursday, November 30, 2017 10:39:07 Ola Fosheim Grøstad via Digitalmars-
d wrote:
> On Thursday, 30 November 2017 at 09:01:20 UTC, Jonathan M Davis
>
> wrote:
> > It's close enough. Instead of segfaulting when the member
> > function is called, it'll segfault when it tries to access one
> > of
On Thursday, November 30, 2017 16:48:10 Adam D. Ruppe via Digitalmars-d
wrote:
> On Thursday, 30 November 2017 at 16:12:04 UTC, H. S. Teoh wrote:
> > Which brings us to the implementation of assert() itself. What
> > about it makes it so big? I suspect most of the bloat comes
> > from throwing Ass
On Thursday, November 30, 2017 08:12:04 H. S. Teoh via Digitalmars-d wrote:
> But of course, this assumes that we even need to throw AssertError in
> the first place. If this can be made optional, we can skip the stack
> unwinding code altogether. (But I can see that this will only work for
> spec
On Thursday, November 30, 2017 18:32:46 A Guy With a Question via
Digitalmars-d wrote:
> On Thursday, 30 November 2017 at 17:56:58 UTC, Jonathan M Davis
>
> wrote:
> > On Thursday, November 30, 2017 03:37:37 Walter Bright via
> > Digitalmars-d wrote:
> > Language-wise, I think that most of the UTF
On Thursday, November 30, 2017 19:14:50 Ola Fosheim Grøstad via Digitalmars-
d wrote:
> On Thursday, 30 November 2017 at 18:10:01 UTC, Jonathan M Davis
>
> wrote:
> > whereas it would have squeaked by in a smaller object, but it's
> > really a bug to be calling a member function on a null object
>
On Thursday, November 30, 2017 19:17:32 Jack Stouffer via Digitalmars-d
wrote:
> I'm starting work on a proposal for stdx.decimal, and one of the
> clearest implementations to work off of is the Python
> implementation.
>
> This however, poses a problem because Python's source is under
> the PSFL,
On Friday, December 01, 2017 03:43:07 Adam D. Ruppe via Digitalmars-d wrote:
> On Friday, 1 December 2017 at 03:23:23 UTC, Walter Bright wrote:
> > 26 bytes of inserted Bloaty McBloatface code and 15 bytes of
>
> > data. My proposal:
> I suggest we break up the -release switch into different option
On Friday, December 01, 2017 09:49:08 Steven Schveighoffer via Digitalmars-d
wrote:
> On 12/1/17 7:26 AM, Patrick Schluter wrote:
> > On Friday, 1 December 2017 at 06:07:07 UTC, Patrick Schluter wrote:
> >> isolated codepoints.
> >
> > I meant isolated code-units, of course.
>
> Hehe, it's imposs
On Friday, December 01, 2017 15:54:31 Walter Bright via Digitalmars-d wrote:
> On 11/30/2017 9:56 AM, Jonathan M Davis wrote:
> > I'm sure that we could come up with a better encoding than UTF-8 (e.g.
> > getting rid of Unicode normalization as being a thing and never having
> > multiple encodings
On Tuesday, December 05, 2017 22:09:12 A Guy With a Question via
Digitalmars-d wrote:
> Is there actually a difference between the c style cast and
> cast(type)? Other than verbosity...
They're not the same. D's cast is not split up like C++'s casts are, but
it's not exactly the same as C's cast
On Thursday, December 07, 2017 02:09:56 lobo via Digitalmars-d wrote:
> On Thursday, 7 December 2017 at 01:21:11 UTC, Nicholas Wilson
>
> wrote:
> > I'd like to add an attribute to indicate that the annotated
> > function is only available at compile time so that in cases
> > where the operation is
901 - 1000 of 2444 matches
Mail list logo