On 1/29/2017 4:18 AM, Dicebot wrote:
On Friday, 27 January 2017 at 19:12:37 UTC, Walter Bright wrote:
On 1/27/2017 3:12 AM, Dicebot wrote:
And also stuff like https://github.com/dlang/druntime/pull/1740
I'm curious what is wrong with that?
You have been pushing for premature merg
On 1/28/2017 3:56 PM, Olivier FAURE wrote:
Let's say I have an arbitrary class 'Container', and I want
a function that stores a pointer to an int in this container, in a way that lets
the function's caller know that the int* given to it will last only as long as
the container, and I want to do it
On 1/28/2017 6:56 AM, Olivier FAURE wrote:
For what it's worth, here are my problems with 'return scope':
- As far as I can tell, it's not properly documented. The github page for
DIP-1000 is apparently pending a rewrite, and I can't find a formal definition
of 'return scope' anywhere (the D ref
On 1/28/2017 3:51 AM, deadalnix wrote:
I did so repeatedly for years and never reached to you or Andrei, so I'm not
sure how that's going to change anything but here you go.
By being specific.
The root problem you are trying to solve is to be able to specify that what
comes out of a function
On 1/27/2017 4:43 PM, deadalnix wrote:
I mostly went silent on this because I this point, I have no idea how to reach
to you and Andrei. This is bad because of all the same reasons inout is bad,
plus some other on its own, and is going down exactly like inout so far, plus
some extra problems on i
On 1/27/2017 3:12 AM, Dicebot wrote:
And also stuff like https://github.com/dlang/druntime/pull/1740
I'm curious what is wrong with that?
I think the
story behind `return scope` is the critical point for me. It is worst technical
disaster that has happened to compiler in years, and I am goin
On 1/26/2017 5:42 AM, Dicebot wrote:
https://issues.dlang.org/show_bug.cgi?id=17123
Can I have my "I told you so" badge please?
Yes, you may. But nobody promised there would be no regressions - just that
we'll fix them. I'll see about taking care of this one. Thanks for reporting it.
On 1/20/2017 1:23 AM, Nicholas Wilson wrote:
On Thursday, 19 January 2017 at 20:53:28 UTC, Walter Bright wrote:
$250 for Early Bird tickets!
http://dconf.org/2017/registration.html
Also at the bottom of the page
For corporate sponsorship packages, please contact dconf2
On 1/20/2017 1:20 AM, Nicholas Wilson wrote:
I presume if I only intend to go if my submission proposal is accepted that I
don't need to register?
You're still better off registering to:
1. reserve your ticket in case it is not accepted
2. take advantage of Early Bird price if it is not accept
On 1/19/2017 11:45 PM, Jacob Carlborg wrote:
On 2017-01-19 21:53, Walter Bright wrote:
$250 for Early Bird tickets!
http://dconf.org/2017/registration.html
Awesome :). BTW, there's a page missing [1].
[1] http://dconf.org/2017/thankyou.html
https://github.com/dlang/dconf.org/pull/146
$250 for Early Bird tickets!
http://dconf.org/2017/registration.html
On 1/7/2017 6:44 AM, biozic wrote:
Are phobos unittests not passing when compiling with -dip1000 considered bugs or
is it this experimental?
druntime is now being compiled with -dip1000.
https://github.com/dlang/druntime/pull/1733
Phobos is next!
Thanks for letting us know! Very nice to hear.
On 1/7/2017 3:54 AM, Jacob Carlborg wrote:
On 2017-01-07 06:02, Martin Nowak wrote:
an experimental safety checks (-transition=safe/-dip1000)
Is the flag to enable the new checks or revert to the previous behavior?
enable
On 1/11/2017 2:09 AM, Chris wrote:
On Sunday, 8 January 2017 at 22:54:58 UTC, Walter Bright wrote:
Yes. I can't because anything I post gets autobanned.
Why is that?
Probably because I posted links to articles I wrote myself. I didn't know at the
time it was against their rules.
On 1/8/2017 2:58 PM, extrawurst wrote:
On Sunday, 8 January 2017 at 22:54:58 UTC, Walter Bright wrote:
On 1/8/2017 1:15 PM, extrawurst wrote:
On Sunday, 8 January 2017 at 18:51:45 UTC, Walter Bright wrote:
On 1/7/2017 5:17 AM, extrawurst wrote:
the last 2 weeks I jumped on a new toy project
On 1/8/2017 1:15 PM, extrawurst wrote:
On Sunday, 8 January 2017 at 18:51:45 UTC, Walter Bright wrote:
On 1/7/2017 5:17 AM, extrawurst wrote:
the last 2 weeks I jumped on a new toy project: An Alexa Skill written in D.
Post this to reddit!
Isn't it better someone else does that?
Y
On 1/7/2017 5:17 AM, extrawurst wrote:
the last 2 weeks I jumped on a new toy project: An Alexa Skill written in D.
Post this to reddit!
On 1/6/2017 6:33 PM, Joakim wrote:
don't know what the DConf committee
would go for.
We go for whatever our best guess is that the conference attendees would most
want to hear. We shoot for variety so that there's something for everyone.
A topic that you yourself are excited about is your be
It's 2017 already - sharpen your pencils and start on a proposal for a
presentation! Time is moving fast!
On 12/31/2016 3:49 PM, Meta wrote:
Does this mean that DIP1000 has been
implemented and is behind a feature switch,
Not until 2.073
On 5/5/2016 1:17 AM, Joakim wrote:
After a sleepless night of trying to build the latest ldc master branch 2.070.2
on my Android tablet a couple nights ago, almost the full druntime/phobos
standard library test suite passes (only one assert in std.conv) and the same
for the dmd test suite, with a
On 12/26/2016 8:36 PM, Martin Nowak wrote:
First beta for the 2.072.2 point release.
Thanks, Martin! I sure do appreciate your work on this.
On 12/25/2016 2:15 AM, Adam Wilson wrote:
This one is on me. And I do apologize profusely. We were talking beforehand
about how we needed to remember to unmute, we had tested everything to make sure
it worked, and then in a fit of eagerness to get started, I forgot to switch
windows and unmute.
On 12/23/2016 11:30 PM, Ali Çehreli wrote:
(There is no audio on the recording until 45:45.)
Oh, this is painful.
Running AVX 32 bit vector code! (And getting the right results, too!)
https://github.com/dlang/dmd/pull/6358
On 12/14/2016 7:21 PM, Joakim wrote:
How far do you plan to go in bringing D idioms to the compiler itself? A simple
grep shows 3 C-style `for` loops in the frontend for every D `foreach`. Do you
plan on using ranges and algorithms, which likely means relying on Phobos at
some point? Any plans
The last one:
https://github.com/dlang/dmd/pull/6310
On 12/5/2016 8:16 PM, Mike Parker wrote:
Thanks. I've noticed that when I leave such comments they initially get a number
of upvotes, but in some cases they get downvoted over time. So now I've taken to
only leaving them on posts where I can't come up with an obvious title for the
reddit link. I
On 12/5/2016 5:36 AM, Mike Parker wrote:
After a two-week hiatus, the latest post at the blog takes the form of an
interview with Andrei regarding the new scholarships he announced a couple weeks
back. He talks about how the program came into existence, how it works, and some
of what he hopes to
https://www.jobsinnew.tech/langs/d/
On 11/21/2016 7:20 AM, ixid wrote:
On Sunday, 20 November 2016 at 22:34:26 UTC, Walter Bright wrote:
On 11/14/2016 1:39 AM, qznc wrote:
On Monday, 14 November 2016 at 06:57:07 UTC, Walter Bright wrote:
· Follow our YouTube channel.
So, there will be a recording? Great!
Unfortunately, the
On 11/14/2016 1:39 AM, qznc wrote:
On Monday, 14 November 2016 at 06:57:07 UTC, Walter Bright wrote:
· Follow our YouTube channel.
So, there will be a recording? Great!
Unfortunately, the audio was lost 18 minutes in. Looks to be not worth posting.
I do have the slides up, though.
http
On 11/17/2016 7:30 AM, Dicebot wrote:
On Thursday, 17 November 2016 at 15:26:21 UTC, John Colvin wrote:
Regardless of the outcome, I just want to commend whoever wrote the rejection
text* on doing such a clear and comprehensive job. I'm sure it must be
disappointing for a DIP author to have it r
This is a copy of the announcement. See y'all there!
---
Folks please welcome Walter Bright as our presenter this month! Also please
thank KForce for sponsoring our pizza this month!!
Date/Time/Location:
November 16th, 2016 at 7:00 PM Microsoft Eastside Campus, Bldg. 40, St
Put these in your /etc/hosts file:
192.30.253.113 github.com
151.101.44.133 assets-cdn.github.com
54.236.140.90 collector.githubapp.com
192.30.253.116 api.github.com
192.30.253.122 ssh.github.com
151.101.44.133 avatars0.githubusercontent.com
151.101.44.133 avatars1.githubusercontent.com
On 10/20/2016 9:20 AM, eugene wrote:
could you give facts that on linux it is ok?
You can find out by writing a program to generate 100,000 functions and compile
the result on linux.
On 10/19/2016 10:05 AM, Gary Willoughby wrote:
D was doing well but in the larger examples the D compiler crashed: "Error: more
than 32767 symbols in object file".
The article didn't say it crashed.
That message only occurs for Win32 object files - it's a limitation of the OMF
file format. We
On 10/11/2016 7:01 AM, Johan Engelen wrote:
I wrote a piece on LDC's fastmath stuff that Mir uses for high-performance D
math code:
https://johanengelen.github.io/ldc/2016/10/11/Math-performance-LDC.html
Articles like this are great! Keep 'em coming.
Welcome, Alexandru!
On 9/23/2016 7:30 AM, Joakim wrote:
People don't just want speed and portability, they want ease of use. Show them
that D will be easier.
Fast code, fast!
https://github.com/dlang/undeaD
Need an obsolete Phobos module? Here they are, back from the dead and upgraded
to work with the latest D
Current modules included:
std.bitarray
std.date
std.datebase
std.dateparse
std.regexp
std.stream and friends
---
Thanks to Martin Nowak for his help makin
On 9/21/2016 3:48 PM, Brad Anderson wrote:
On Wednesday, 21 September 2016 at 22:32:27 UTC, Walter Bright wrote:
Wednesday 09/21/2016 8:30pm: Writing Secure C++
CppCon is being hosted at the Meydenbauer Center in Bellevue. Directions and
parking information can be found here:
http
Wednesday 09/21/2016 8:30pm: Writing Secure C++
CppCon is being hosted at the Meydenbauer Center in Bellevue. Directions and
parking information can be found here:
http://www.meydenbauer.com/parking-directions/
Additional information on CppCon can be found here: http://cppcon.org/
Don't need
On 8/30/2016 1:27 PM, Walter Bright wrote:
https://news.ycombinator.com/item?id=1239047
Well, that seems to be the wrong url :-(
ure.
[1]
https://dlang.org/blog/2016/08/30/ruminations-on-d-an-interview-with-walter-bright/
[2]
https://www.reddit.com/r/programming/comments/50aox1/ruminations_on_d_an_interview_with_walter_bright/
It's also on Hacker News, but access it via the front page rather than this URL,
otherwise u
On 8/29/2016 1:42 PM, Craig Dillabaugh wrote:
Thanks for your work on this Andrei.
Yes, Andrei took charge of this and did all the work. Thank you!
On 8/28/2016 3:39 AM, Dicebot wrote:
There have never been a single professional or at least constructively fashioned
post from that account and tolerating that harms D public image. I have learned
not to argue about this but I am very unhappy that you not only allow but
encourage both off-topic
On 8/27/2016 11:58 PM, Bill Hicks wrote:
white men
There are plenty of other forums for politics. Not this one.
You've had a couple of worthwhile posts, you're welcome to stay and continue in
that vein. Posts with unprofessional behavior, politics, etc., will be simply
deleted.
On 8/27/2016 9:04 AM, Dicebot wrote:
Please never reply to that person unless you are his other account. Not in an
announce threads at least.
If the post is reasonably professional, it's ok to. Abusive posts just get
deleted.
On 8/27/2016 8:19 AM, Bill Hicks wrote:
I believe Andrei's point was that Rust had focused on one problem to the
relative exclusion of others, not that memory safety was unimportant. Rust, to
its credit, has changed the perception of the importance of memory safety.
I bet in a few years we'
On 8/26/2016 9:53 PM, Bill Hicks wrote:
On Wednesday, 24 August 2016 at 15:30:34 UTC, Martin Nowak wrote:
we want memory safe code w/o the GC.
-Martin
Rust has had that since day one. Funny how not too long ago D core was mocking
Rust,
We've never mocked Rust's safety features, although I
On 8/21/2016 7:01 PM, Jonathan M Davis via Digitalmars-d-announce wrote:
Well, if you typically try and restrict your @system code to small parts of
your program and use @trusted to turn them into @safe, then the vast
majority of your program will be @safe. As I understand it, that's at least
how
On 8/16/2016 6:01 PM, H. S. Teoh via Digitalmars-d-announce wrote:
On Wed, Aug 17, 2016 at 01:01:05AM +, Chris Wright via
Digitalmars-d-announce wrote:
On Tue, 16 Aug 2016 18:55:40 +, Dicebot wrote:
You need to add one more level of indirection for things to start
going complicated.
On 8/16/2016 5:31 PM, Mike wrote:
On Monday, 15 August 2016 at 04:58:06 UTC, Walter Bright wrote:
On 8/14/2016 9:56 PM, Joseph Rushton Wakeling wrote:
Does that actually work in D2?
Yes.
Can you please clarify the current implementation `scope`, and what DIP1000
proposes to change with
On 8/16/2016 11:25 AM, Meta wrote:
What about this?
struct Rnd
{
int* state;
}
void test()
{
scope rnd = new Rnd();
Rnd rnd2 = *rnd;
saveGlobalState(rnd2);
}
'state' is set to null by 'new Rnd()', and so no pointers escape.
On 8/15/2016 6:54 AM, Rory McGuire via Digitalmars-d-announce wrote:
okay nice, so that code would not compile but code such as:
void test() {
scope rnd = new Rnd; // reference semantic and stack allocated
auto rnd2 = rnd;
some_sneaky_function_that_saves_global_state(rnd);
}
would still
On 8/14/2016 9:56 PM, Joseph Rushton Wakeling wrote:
Does that actually work in D2?
Yes.
On 8/13/2016 1:50 PM, Joseph Rushton Wakeling wrote:
Sure, but doesn't the envisioned DIP create the circumstances in which it could
also be permitted in @safe code where the compiler can guarantee that the
pointer's lifetime will not outlive the data referred to?
The whole point of ref is that
On 8/13/2016 5:02 AM, Joseph Rushton Wakeling wrote:
On Saturday, 13 August 2016 at 11:09:05 UTC, Walter Bright wrote:
Taking the address of a ref variable has not been allowed in @safe code for a
long time.
Which is understandable given things as they are, but which could probably be
relaxed
On 8/13/2016 1:13 AM, Joseph Rushton Wakeling wrote:
On Friday, 12 August 2016 at 19:37:47 UTC, Walter Bright wrote:
That's just what this DIP addresses.
struct MyWrapperStruct (T)
{
private T* data;
public this (ref T input)
{
this.data = &
On 8/12/2016 1:08 PM, Timon Gehr wrote:
On 12.08.2016 21:39, Walter Bright wrote:
On 8/12/2016 5:33 AM, Nordlöw wrote:
If this is successfully implemented, what will D not be able to do,
that Rust
can/will?
Have ownership semantics for pointers in more complex data structures.
In D you
On 8/12/2016 5:24 AM, Nordlöw wrote:
On Wednesday, 10 August 2016 at 20:35:23 UTC, Dicebot wrote:
The first DIP has just landed into the new queue. It is a proposal from
language authors and thus it bypasses usual nitpicking process and proceeds
straight to requesting community (your!) feedback.
On 8/12/2016 12:03 PM, Timon Gehr wrote:
On 11.08.2016 09:48, Walter Bright wrote:
On 8/10/2016 11:36 PM, rikki cattermole wrote:
Perfect :)
The nice thing about this scheme is it can do some things that Rust
can't
What are some of those things?
Accessing mutable globals in a fun
On 8/12/2016 5:33 AM, Nordlöw wrote:
If this is successfully implemented, what will D not be able to do, that Rust
can/will?
Have ownership semantics for pointers in more complex data structures. In D
you'll have to do such with ref counted objects.
On the other hand, D code can reference mu
On 8/12/2016 5:54 AM, Joseph Rushton Wakeling wrote:
On Friday, 12 August 2016 at 12:51:26 UTC, Joseph Rushton Wakeling wrote:
I'm not sure I follow. I'm looking for the ability to guarantee that a
pointer to a stack-allocated entity will not go out of scope
... more precisely, that the point
On 8/12/2016 4:12 AM, Joseph Rushton Wakeling wrote:
On Thursday, 11 August 2016 at 22:07:57 UTC, Walter Bright wrote:
The scheme does not implement borrowing. References to internal data should be
returned via 'return ref' or 'return scope', where their usage will be limit
On 8/11/2016 12:59 PM, Joseph Rushton Wakeling wrote:
There's a use-case that relates to some of our discussions together in another
context, about structs or classes that borrow data via ref:
The scheme does not implement borrowing. References to internal data should be
returned via 'return r
On 8/11/2016 6:38 AM, Sönke Ludwig wrote:
What would be nice to add is a behavior specification for 'scope' member
variables (lifetime considered equal or slightly shorter than parent object
lifetime). For example the `RefCountedSlice.payload` and `count` fields could be
annotated with 'scope' to
On 8/10/2016 11:36 PM, rikki cattermole wrote:
Perfect :)
The nice thing about this scheme is it can do some things that Rust can't (and
Rust can do things that this can't). I suppose it will balance out.
On 8/10/2016 10:05 PM, rikki cattermole wrote:
Question:
I see RefCountedSlice example, does this mean if I alias this say like:
struct FooBar;
struct Foo {
FooBar* v;
scope FooBar* get() { return v; }
alias this get;
}
That it will operate correctly in the below case?
func(myFoo
On 8/10/2016 4:56 PM, Nicholas Wilson wrote:
How will the infinite lifetime of ArrayLiteral and ArrayLiteral[constant]
interact with LDC's GC to stack promotion pass?
I don't know about how that works in LDC, but general such a promotion can only
be done if the compiler can prove there are no
On 8/1/2016 4:02 AM, Martin Nowak wrote:
First beta for the 2.071.2 point release.
Thank you, Martin!
On 7/28/2016 2:06 AM, Jack Applegame wrote:
[...]
Past time to drop this topic.
On 7/21/2016 9:35 AM, Ali Çehreli wrote:
Stealing the opportunity to announce this news... :)
https://www.youtube.com/playlist?list=PL3jwVPmk_PRyTWWtTAZyvmjDF4pm6EX6z
Reddit:
https://www.reddit.com/r/programming/comments/4txf9w/dconf_2016_video_playlist/
Ali
Yay for the closed captioning
On 7/21/2016 12:16 AM, Ali Çehreli wrote:
Can you make a better ASCII D-Man drawing.
o o
|\
\ ___ /
|,-oo\\
||||
||||
|| //
||__//
'---
\ \
/ /
^ ^
Ali
Nope! That one is pretty good!
On 7/8/2016 7:01 AM, Eugene wrote:
please add some features from Rust: primitive type aliases, like i8, u8, u32,
and so on
http://dlang.org/phobos/core_stdc_stdint.html
On 7/8/2016 6:51 AM, Robert M. Münch wrote:
1. Fixing (all) bugs before doing new things: If I look as a CTO, CIO or CEO on
D I the first thing I ask is: "Are they doing a lot of new stuff? And if, is
this thing / last releasae that bullet proof stable that there are not annoying
open issued?" An
On 7/7/2016 1:16 PM, H. S. Teoh via Digitalmars-d-announce wrote:
Recently Walter has been fixing a series of compiler bugs related to
@safe, which is a very promising development, but we're not quite there
yet:
https://issues.dlang.org/buglist.cgi?keywords=safe&list_id=209407&resolutio
On 7/6/2016 2:28 AM, Martin Nowak wrote:
This is the first nightly dmd build that includes dub binaries.
http://nightlies.dlang.org/dmd-2016-07-06/
They will also be part of the upcoming 2.072.y releases.
We will sync the dub and dmd release cycles, but not the versioning.
Ah, wonderful! Thank
On 6/27/2016 3:11 PM, Martin Nowak wrote:
Glad to announce D 2.071.1.
http://dlang.org/download.html
This point release fixes a few issues over 2.071.0, see the changelog
for more details.
http://dlang.org/changelog/2.071.1.html
-Martin
Thank you, Martin!
On 6/26/2016 5:01 PM, deadalnix wrote:
http://www.deadalnix.me/2016/06/27/on-code-review/
Nice article!
On 6/19/2016 4:29 PM, Adam D. Ruppe wrote:
We should probably make a D-man video game.
Having one D-Man comic per This Week In D would be nice!
I find this amazing and lots of fun!
On 6/15/2016 4:07 AM, Edwin van Leeuwen wrote:
How about using reggae?
https://github.com/atilaneves/phobos/blob/reggae/reggaefile.d
I haven't studied either.
On 6/13/2016 4:00 PM, Ali Çehreli wrote:
On 06/13/2016 03:45 PM, Márcio Martins wrote:
Forgive me if this is not the best place for this sort of posts, but we
are looking for experienced developers willing to learn D to join our
development team in Amsterdam. We are a fast-growing travel e-comme
On 6/12/2016 4:27 PM, Jason White wrote:
I don't understand this dependency-phobia.
It's the "first 5 minutes" thing. Every hiccup there costs us maybe half the
people who just want to try it out.
Even the makefiles have hiccups. I've had builds fail with the dmd system
because I had the wr
On 5/30/2016 12:16 PM, Jason White wrote:
Here is an example build description for DMD:
https://github.com/jasonwhite/dmd/blob/button/src/BUILD.lua
I'd say that's a lot easier to read than this crusty thing:
https://github.com/dlang/dmd/blob/master/src/posix.mak
Yes, the syntax looks
On 6/3/2016 1:26 AM, Dicebot wrote:
From that perspective, the best build system you could possibly have would look
like this:
```
#!/usr/bin/rdmd
import std.build;
// define your build script as D code
```
Yeah, I have often thought that writing a self-contained D program to build D
would
Pretty dazz! Thanks, Mike!
On 6/2/2016 11:34 AM, Minas Mina wrote:
I have written a blog post about operator overloading for structs.
You can find it here:
https://www.reddit.com/r/programming/comments/4m8mgr/operator_overloading_for_structs_in_d/
Comments and suggestions are appreciated.
Things usually go better on R
On 5/24/2016 4:04 PM, Jonathan M Davis via Digitalmars-d-announce wrote:
Well, I guess that that answers the question of what they were going to do
with the interviews they were doing. :)
You should be pleased with your spot, well done!
On 5/24/2016 4:06 AM, Leandro Lucarella wrote:
For the ones that missed it (and the ones that didn't too), here is a short
video about the conference.
https://vimeo.com/167235872
Sociomantic really did a great job with the conference and the video.
On 5/20/2016 6:47 AM, H. S. Teoh via Digitalmars-d-announce wrote:
Not to mention inconsistency in what exactly
is being tested for: if you want to check if something is an input
range, do you use is(typeof(R.empty)), etc., or should you use
__traits(compiles, R.init.empty), or is it is(typeof((R
On 5/19/2016 11:50 PM, Manu via Digitalmars-d-announce wrote:
Ah. Okay, well while this is a very interesting talk, I was indeed
hoping you were going to make a D concepts proposal... do you have
such a thing in mind, or are you against concepts in D?
D has constraints. No point in adding conce
On 5/16/2016 6:46 AM, Andrei Alexandrescu wrote:
Uses D for examples, showcases Design by Introspection, and rediscovers a fast
partition routine. It was quite well received.
https://www.youtube.com/watch?v=AxnotgLql0k
https://www.reddit.com/r/programming/comments/4jlkhv/accu_2016_keynote_by_an
On 5/15/2016 7:56 AM, Ali Çehreli wrote:
Then the author provides a function that does it correctly.
https://issues.dlang.org/show_bug.cgi?id=16028
On 5/9/2016 2:32 PM, Andrej Mitrovic via Digitalmars-d-announce wrote:
On 5/9/16, Stefan Koch via Digitalmars-d-announce
wrote:
I was shocked to discover that the PowExpression actually depends
on phobos!
I seem to remember having to implement diagnostics in DMD asking for
the user to import
On 5/9/2016 9:57 AM, Stefan Koch wrote:
[...]
The memory consumption problem, at least, can be resolved by using stack
temporaries instead of allocating new nodes. This was already done in
constfold.d, but not in the rest of the interpreter.
Doing that will (I predict) also double its speed
Jet lagged as I am, I'll be at breakfast at Hotel Ibis at 630am. Come
and join me!
701 - 800 of 2708 matches
Mail list logo