Am Thu, 14 Nov 2013 20:02:46 +0100
schrieb Marco Leise :
> Am Thu, 14 Nov 2013 19:11:17 +0100
> schrieb "Dejan Lekic" :
>
> > On Wednesday, 13 November 2013 at 13:50:45 UTC, Marco Leise wrote:
> > >
> > > I don't want to be limited to one installation of Phobos.
> > > That's why there is no "none
On Thursday, 14 November 2013 at 00:37:38 UTC, Tyro[17] wrote:
Greetings,
I have accepted the responsibility of preparing the builds for
DMD and would like to engage in conversation about the way
ahead.
The first concern I have is about the build cycle. Presently,
it is nonexistent. There i
On Thursday, 14 November 2013 at 20:30:40 UTC, Dicebot wrote:
On Thursday, 14 November 2013 at 20:27:23 UTC, Rob T wrote:
Bug fixes should be as frequent as possible. To understand
why, just try and find a good reason to artificially hold back
a bug fix.
Code breakage. DMD has good amount of
On 11/14/2013 11:18 AM, Jacob Carlborg wrote:
AST macros cannot change the syntax or introduce new syntax. C preprocessor
macros and AST macros are not the same. I'm starting to regret that I called it
"macros".
If it is powerful enough to do async/await but look like normal D syntax, then
is
enum Protection { protected_, private_, none }
alias protected_ = Protection.protected_;
alias private_ = Protection.private_;
alias none = Protection.none;
Best of both worlds?
I thought of this too and it does seem to be a viable solution. I
personally really don't mind the string parameter,
On 11/14/2013 11:40 AM, deadalnix wrote:
This is not proposing to configure syntax.
Right, it is about inserting arbitrarily different meaning into existing syntax.
For example, I have a friend from the middle east who worked at Microsoft. His
english was excellent. But sometimes he'd get tri
On Nov 14, 2013 8:40 PM, "Johannes Pfau" wrote:
>
> Am Thu, 14 Nov 2013 20:02:46 +0100
> schrieb Marco Leise :
>
> > Am Thu, 14 Nov 2013 19:11:17 +0100
> > schrieb "Dejan Lekic" :
> >
> > > On Wednesday, 13 November 2013 at 13:50:45 UTC, Marco Leise wrote:
> > > >
> > > > I don't want to be limite
On Thu, Nov 14, 2013 at 01:12:11PM -0800, Walter Bright wrote:
> On 11/14/2013 11:40 AM, deadalnix wrote:
> >This is not proposing to configure syntax.
>
> Right, it is about inserting arbitrarily different meaning into
> existing syntax.
[...]
> Now, let's take the AST macros, and pass it "4+3".
On Thursday, 14 November 2013 at 21:12:11 UTC, Walter Bright
wrote:
On the other hand, with string mixins, it is immediately
obvious that one is dealing with different syntax, and so
expect something different to happen.
This is exactly the reason why I have been asking to make
denoting macro
On Thursday, 14 November 2013 at 20:53:05 UTC, deadalnix wrote:
...
Hush-hush :) I was simply answering a question "Why may someone
refuse to move to minor release that contains only bug fixes".
Nothing more, nothing less, no hidden implications :)
On Thursday, 14 November 2013 at 21:12:11 UTC, Walter Bright
wrote:
On 11/14/2013 11:40 AM, deadalnix wrote:
This is not proposing to configure syntax.
Right, it is about inserting arbitrarily different meaning into
existing syntax.
For example, I have a friend from the middle east who work
Am Sat, 9 Nov 2013 01:38:10 +0100
schrieb Marco Leise :
I abandoned my "gdc" ebuild and instead just copied
the original gcc ebuild and augmented it with a specific
checkout of gdc from Github. This means that you can freely
slot it with your existing gcc installation(s) or replace it
entirely. Th
On Thursday, 14 November 2013 at 21:13:24 UTC, Robert wrote:
enum Protection { protected_, private_, none }
alias protected_ = Protection.protected_;
alias private_ = Protection.private_;
alias none = Protection.none;
Best of both worlds?
I thought of this too and it does seem to be a viable s
On Thursday, 14 November 2013 at 21:48:16 UTC, John Colvin wrote:
On Thursday, 14 November 2013 at 21:13:24 UTC, Robert wrote:
enum Protection { protected_, private_, none }
alias protected_ = Protection.protected_;
alias private_ = Protection.private_;
alias none = Protection.none;
Best of bot
On Thursday, 14 November 2013 at 21:12:11 UTC, Walter Bright
wrote:
On 11/14/2013 11:40 AM, deadalnix wrote:
This is not proposing to configure syntax.
Right, it is about inserting arbitrarily different meaning into
existing syntax.
Yes, but EXPLICITELY.
(Also, a popular way of encryptin
Am Thu, 14 Nov 2013 21:35:22 +0100
schrieb Johannes Pfau :
> AFAIK you can't put shared libraries into a different folder.
> The runtime linker must be able to find the libraries so the folders
> have to be registered in ld.so.conf. But ld 'virtually merges' all
> directories so you still can't ha
Le 14/11/2013 09:39, luka8088 a écrit :
On 14.11.2013. 5:29, Tyro[17] wrote:
On 11/13/13, 11:06 PM, Brad Roberts wrote:
On 11/13/13 7:13 PM, Tyro[17] wrote:
On 11/13/13, 9:46 PM, Brad Roberts wrote:
On 11/13/13 4:37 PM, Tyro[17] wrote:
I'm of the opinion, however, that
the cycle should be si
A simple article that shows a nice usage of __builtin_prefetch:
http://www.naftaliharris.com/blog/2x-speedup-with-one-line-of-code/
Bye,
bearophile
On 15 November 2013 05:14, Jacob Carlborg wrote:
> On 2013-11-14 17:21, Chris wrote:
>
> Thanks for your reply, Kai. That's good news, however iOS and Android
>> support is crucial. I hope D can soon be ported to ARM, it's just too
>> important.
>>
>
> If you want to do anything useful on iOS yo
I have no idea what everyone is getting worked up about. My
understanding of the plan is that there are biannual major
releases, with bug fix releases in-between, for those
people/companies who need stability/dependability.
In addition to that we have monthly 'beta' releases for those who
wan
Le 14/11/2013 13:03, Russel Winder a écrit :
Has anyone done any work with QML and D?
Gustavo Niemeyer is creating a QML package for Go and it is already
getting a lot of traction.
I have a little pet project where I am comparing PyQt5 and Go, and I
would like to try using D as a third variant,
On 14.11.2013 18:25, Benjamin Thaut wrote:
Am 14.11.2013 08:36, schrieb Rainer Schuetze:
As far as I understand, the optimization avoids generating code for
template instances only _created_ (not defined) by imported modules,
e.g. when needed for semantic analysis inside the imported module
Am Fri, 15 Nov 2013 00:03:42 +0100
schrieb Marco Leise :
> Am Thu, 14 Nov 2013 21:35:22 +0100
> schrieb Johannes Pfau :
>
> > AFAIK you can't put shared libraries into a different folder.
> > The runtime linker must be able to find the libraries so the folders
> > have to be registered in ld.so.c
On 11/14/2013 05:14 PM, Kai Nacke wrote:
But this is only half of the story. My target is Linux/ARM which is
already supported by druntime/phobos. If you target a smartphone then
you also have to add Android or iOS support to druntime/phobos.
Currently version (linux) in druntime is equivalent
Am Fri, 15 Nov 2013 00:31:40 +0100
schrieb "bearophile" :
> A simple article that shows a nice usage of __builtin_prefetch:
>
> http://www.naftaliharris.com/blog/2x-speedup-with-one-line-of-code/
>
> Bye,
> bearophile
Whenever I try that it doesn't seem to do anything :-(
Good to see that other
On 11/14/2013 09:18 AM, tn wrote:
What is wrong with the process that is described in the wiki (and that I
thought you already agreed on)? See
http://wiki.dlang.org/Development_and_Release_Process
It's too complex.
On 11/15/2013 12:36 AM, Nick wrote:
I have no idea what everyone is getting worked up about. My
understanding of the plan is that there are biannual major releases,
with bug fix releases in-between, for those people/companies who need
stability/dependability.
In addition to that we have monthly
I have created two interesting D entries for this Rosettacode
Task, is someone willing to create a Reddit entry for this? They
show very different kinds of code in D.
http://rosettacode.org/wiki/Look-and-say_sequence#D
Bye,
bearophile
On Thursday, 14 November 2013 at 20:30:40 UTC, Dicebot wrote:
On Thursday, 14 November 2013 at 20:27:23 UTC, Rob T wrote:
Bug fixes should be as frequent as possible. To understand
why, just try and find a good reason to artificially hold back
a bug fix.
Code breakage. DMD has good amount of
On Friday, 15 November 2013 at 01:09:53 UTC, bearophile wrote:
I have created two interesting D entries for this Rosettacode
Task, is someone willing to create a Reddit entry for this?
They show very different kinds of code in D.
http://rosettacode.org/wiki/Look-and-say_sequence#D
Bye,
bearop
On 11/15/2013 02:09 AM, bearophile wrote:
I have created two interesting D entries for this Rosettacode Task
len.uninitializedArray ? Isn't this too much UFCS?
On Friday, 15 November 2013 at 00:30:09 UTC, Martin Nowak wrote:
On 11/14/2013 09:18 AM, tn wrote:
What is wrong with the process that is described in the wiki
(and that I
thought you already agreed on)? See
http://wiki.dlang.org/Development_and_Release_Process
It's too complex.
How? It is
On 11/14/2013 07:32 PM, Frusdrated wrote:
First: Does 2.064 fully support shared libraries? It seems there were
previous indications that it would.
Not ready yet. You can use link against shared libraries and the
low-level support for dynamic loading is done.
Rob T:
Timings for short functional version vs fast would be nice.
OK. On the other hand regarding speed the fast version is in
another world. So the speed comparison will become a little silly.
--
Martin Nowak:
len.uninitializedArray ? Isn't this too much UFCS?
I think it'
On 2013-11-14 19:14:03 +, Jacob Carlborg said:
On 2013-11-14 17:21, Chris wrote:
Thanks for your reply, Kai. That's good news, however iOS and Android
support is crucial. I hope D can soon be ported to ARM, it's just too
important.
If you want to do anything useful on iOS you need to us
OK. On the other hand regarding speed the fast version is in
another world. So the speed comparison will become a little
silly.
The first program doesn't even compile with ldc2 v.2.063.2, and
the two programs are quite different in scope...
Bye,
bearophile
Rob T:
Timings for short functional version vs fast would be nice.
Below the two I have added a note to compare the run-times.
Bye,
bearophile
On Friday, 15 November 2013 at 01:09:53 UTC, bearophile wrote:
I have created two interesting D entries for this Rosettacode
Task, is someone willing to create a Reddit entry for this?
They show very different kinds of code in D.
http://rosettacode.org/wiki/Look-and-say_sequence#D
Bye,
bearop
Meta:
I didn't look that closely at the imperative code, but it seems
to be quite a bit longer than most of the other imperative
examples. Is this because it's super-optimized?
Yes, it's longer because it's optimized.
Bye,
bearophile
Am 14.11.2013 21:54, schrieb Walter Bright:
(A lot of the C++ macro abuse looks like normal syntax to the user, but it
behaves in a way that the casual user would find completely unexpected.
same can be said about Boost Spirit templates
On Friday, 15 November 2013 at 00:18:50 UTC, Martin Nowak wrote:
On 11/14/2013 05:14 PM, Kai Nacke wrote:
But this is only half of the story. My target is Linux/ARM
which is
already supported by druntime/phobos. If you target a
smartphone then
you also have to add Android or iOS support to dru
on one ubuntu64 box (ubuntu 12.04) (call it A), compiling from source (from
dmd.2.064.2.zip and following http://dlang.org/dmd-linux.html), I get:
$cd src/dmd
$make -f posix.mak -j8
*fatal: Not a git repository (or any of the parent directories): .git*
#but compiles ok
$cd ../druntime
$make -f po
Am 15.11.2013 00:38, schrieb Rainer Schuetze:
Maybe. Another rule might be that only the declarations actually
annotated with "export" gets exported with the instantiation, so you
could add "export" to the whole class or only some declaraations.
I don't think this is a good idea. It should be
On Friday, 15 November 2013 at 01:09:53 UTC, bearophile wrote:
I have created two interesting D entries for this Rosettacode
Task, is someone willing to create a Reddit entry for this?
They show very different kinds of code in D.
http://rosettacode.org/wiki/Look-and-say_sequence#D
The fast v
On Friday, 15 November 2013 at 06:18:00 UTC, Joakim wrote:
On Friday, 15 November 2013 at 00:18:50 UTC, Martin Nowak wrote:
On 11/14/2013 05:14 PM, Kai Nacke wrote:
But this is only half of the story. My target is Linux/ARM
which is
already supported by druntime/phobos. If you target a
smartph
On 2013-11-15 00:35, Manu wrote:
Very good point. I wonder if there's room to make a push for this in 2.065.
Highly unlikely. It seems like Walter wanted us to first implement ARC,
to not be worse the Objective-C currently is. But we haven't been able
to come to an agreement on how to do th
On 11/14/2013 3:37 AM, Benjamin Thaut wrote:
Am 14.11.2013 11:28, schrieb Walter Bright:
On 11/12/2013 2:23 PM, Martin Nowak wrote:
One possibility is modules listed on the command line are regarded as
export==dllexport, and other modules as export==dllimport.
This of course means that functio
On 11/14/2013 5:31 AM, Benjamin Thaut wrote:
Am 14.11.2013 11:28, schrieb Walter Bright:
This of course means that functions may wind up going through the
dllimport indirection even for calling functions in the same dll, but it
should work.
Also our suggested approach would not have this down
On 2013-11-15 02:50, Michel Fortin wrote:
Still no modern runtime support I'd guess? With support only for the
legacy runtime you're stuck compiling for 32-bit OS X only; 32-bit iOS
uses the modern runtime.
Right, I forgot about that. I haven't done a single thing on this since
the last time
On 2013-11-14 21:54, Walter Bright wrote:
If it is powerful enough to do async/await but look like normal D
syntax, then is going to suffer from these faults.
I don't think so. The idea is to have it look consistent within the
language. Take a look at __traits. It looks just like a function c
On 2013-11-15 02:33, Jesse Phillips wrote:
How? It is the same as Tyro[17] describes only with 2 month rather than
6 month releases. The page just goes into great detail about how to
achieve it, which is complex.
Yeah, it has all the git commands, you don't have to read those.
--
/Jacob Carlb
On 2013-11-15 00:36, Nick wrote:
I have no idea what everyone is getting worked up about. My
understanding of the plan is that there are biannual major releases,
with bug fix releases in-between, for those people/companies who need
stability/dependability.
In addition to that we have monthly 'be
101 - 152 of 152 matches
Mail list logo