On Tuesday, 24 May 2016 at 01:29:53 UTC, Steven Schveighoffer
wrote:
Blog post on making Voldemort types without the disk-space
issues:
http://www.schveiguy.com/blog/2016/05/have-your-voldemort-types-and-keep-your-disk-space-too/
-Steve
Should we horcruxify Phobos?
Atila
On Tuesday, 24 May 2016 at 01:29:53 UTC, Steven Schveighoffer
wrote:
http://www.schveiguy.com/blog/2016/05/have-your-voldemort-types-and-keep-your-disk-space-too/
Good read. I'll horcruxify my phobos-next ranges until compiler
is fixed. Thanks!
On Tuesday, 24 May 2016 at 01:33:40 UTC, Adam D. Ruppe wrote:
On Monday, 23 May 2016 at 20:08:11 UTC, Daniel N wrote:
This pull request just removes an intentional restriction and
make this feature more easily accessible for meta-programming,
so that not everyone has to reinvent the wheel in th
On 2016-05-25 11:24, Daniel N wrote:
From an end-user perspective I find it reasonable to expect that an API
which takes lambda:s works consistently for both below examples. i.e. if
we support one we should support the other.
[1] fun!( x => y)
[2] fun!((int x) => y)
Currently I just copy/
http://tour.dlang.org/
On the "Controlling flow" page, the first paragraph says :
Sometimes you have to control your application's flow depending
on input parameters. if, else and if else are your friends then:
I think it's "if, else and else if are tour friends".
On Wednesday, 25 May 2016 at 11:22:41 UTC, Jacob Carlborg wrote:
On 2016-05-25 11:24, Daniel N wrote:
ParameterIdentifierTuple can hopefully be updated to take
advantage of this feature when it's available in compiler
without requiring to change the API of ParameterIdentifierTuple.
[1] https
On 5/24/16 7:51 PM, Walter Bright wrote:
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!
Yes, "recharg
On 5/25/16 4:22 AM, Atila Neves wrote:
On Tuesday, 24 May 2016 at 01:29:53 UTC, Steven Schveighoffer wrote:
Blog post on making Voldemort types without the disk-space issues:
http://www.schveiguy.com/blog/2016/05/have-your-voldemort-types-and-keep-your-disk-space-too/
Should we horcruxify Pho
On Tuesday, 24 May 2016 at 11:06:45 UTC, 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
Neat!
On Tuesday, 24 May 2016 at 16:00:32 UTC, Andrei Alexandrescu
wrote:
Apparently it can be made to work with non-templates as well,
see https://dpaste.dzfl.pl/c4b7a8b6978b.
Oh, that's the buggy area. The compiler keeps parameter names for
runtime delegates... but it also reuses the structures. T
On Tuesday, 24 May 2016 at 14:57:03 UTC, Bauss wrote:
Note: If you have a better suggestion, feel free to come with
one :)
I'd say do what razor does: raw output should require extra
syntax. Weren't templates created in order to not build html in
code?
On Wednesday, 25 May 2016 at 09:24:31 UTC, Daniel N wrote:
From an end-user perspective I find it reasonable to expect
that an API which takes lambda:s works consistently for both
below examples. i.e. if we support one we should support the
other.
[1] fun!( x => y)
[2] fun!((int x) => y)
On Monday, 16 May 2016 at 17:32:06 UTC, André wrote:
Hi,
after another round of polishing, bug fixing, very useful user
contributions and suggestions, I'd like to present the new home
of the D language online tour:
http://tour.dlang.org/
Thank you very much to the D foundation for hosting t
On 05/24/2016 05:17 PM, Seb wrote:
> On Tuesday, 24 May 2016 at 23:11:07 UTC, Shammah Chancellor wrote:
>> On Tuesday, 17 May 2016 at 09:02:04 UTC, André wrote:
>>> On Monday, 16 May 2016 at 20:39:26 UTC, Jack Stouffer wrote:
On Monday, 16 May 2016 at 18:02:29 UTC, Andrei Alexandrescu wrote:
On Wednesday, 25 May 2016 at 11:46:55 UTC, marcpmichel wrote:
I think it's "if, else and else if are tour friends".
Hmm that doesn't make sense to me either. How can "if" be a "tour
friend".
That being said I agree the current wording isn't optimal - do
you want to open a PR to fix it?
http
On Wednesday, 25 May 2016 at 12:29:03 UTC, Kagamin wrote:
On Tuesday, 24 May 2016 at 14:57:03 UTC, Bauss wrote:
Note: If you have a better suggestion, feel free to come with
one :)
I'd say do what razor does: raw output should require extra
syntax. Weren't templates created in order to not bu
On Wednesday, 25 May 2016 at 06:52:22 UTC, Suliman wrote:
Even faster then official version?
What about futures, would it possible to make it's 100%
compatibility with C version?
Not really.
The reason why it is faster is because there is no indirection in
working with the data.
If I had fu
On 5/25/16 9:42 AM, Seb wrote:
On Wednesday, 25 May 2016 at 11:46:55 UTC, marcpmichel wrote:
I think it's "if, else and else if are tour friends".
Hmm that doesn't make sense to me either. How can "if" be a "tour friend".
That being said I agree the current wording isn't optimal - do you want
On 05/17/2016 02:00 AM, André wrote:
> Another more fundamental question: Is a translation really needed for
> the tour?
Definitely.
> I am not a native speaker but I still prefer reading technical
> stuff in English especially when English is the language of the
> original. It's hard for me to
On Wednesday, 25 May 2016 at 02:34:03 UTC, Mike Parker wrote:
On Tuesday, 24 May 2016 at 20:52:54 UTC, extrawurst wrote:
Hey folks,
So here are the inofficial Derelict Bindings to it:
https://github.com/Extrawurst/DerelictLibui
I tested them on both windows and mac osx so far. Any linux
On 2016-05-25 13:57, Daniel N wrote:
Issue9608 is good too, but insufficient.
import std.traits;
static assert(__traits(isTemplate, a => 0));
static assert(!__traits(isTemplate, (int a) => 0));
The 2nd case can't be solved by 9608 since it's about introspecting
templates and "(int a) => 0)" is
On 05/24/2016 04:52 PM, extrawurst wrote:
So here are the inofficial Derelict Bindings to it:
https://github.com/Extrawurst/DerelictLibui
Some D-oriented docs and example code would be nice.
>
> find libui on github:
> https://github.com/andlabs/libui
Hmm:
> uses the native GUI technologie
On 05/25/2016 08:18 AM, Steven Schveighoffer wrote:
IMO, just say "if and else are your friends", as "else if" is really not
it's own construct.
I like my own description of "else if" here: :)
http://ddili.org/ders/d.en/if.html#ix_if.else%20if
Ali
On Wednesday, 25 May 2016 at 16:47:30 UTC, Nick Sabalausky wrote:
On 05/24/2016 04:52 PM, extrawurst wrote:
So here are the inofficial Derelict Bindings to it:
https://github.com/Extrawurst/DerelictLibui
Some D-oriented docs and example code would be nice.
There is a plain conversion of th
On Wednesday, 25 May 2016 at 03:48:48 UTC, Stefan Koch wrote:
Well not much has changed since I made this announcement.
By fixing a really jarring bug I had a slight performance
regression.
But this is still the fastest SQLite reader I know of.
This project is currently on the back burner.
Ho
On 5/25/16 1:22 PM, Ali Çehreli wrote:
On 05/25/2016 08:18 AM, Steven Schveighoffer wrote:
IMO, just say "if and else are your friends", as "else if" is really not
it's own construct.
I like my own description of "else if" here: :)
http://ddili.org/ders/d.en/if.html#ix_if.else%20if
"Ha
On 05/25/2016 10:46 AM, Steven Schveighoffer wrote:
On 5/25/16 1:22 PM, Ali Çehreli wrote:
On 05/25/2016 08:18 AM, Steven Schveighoffer wrote:
IMO, just say "if and else are your friends", as "else if" is really not
it's own construct.
I like my own description of "else if" here: :)
http
On Wednesday, 25 May 2016 at 11:22:41 UTC, Jacob Carlborg wrote:
I don't think this is the right approach. I think the correct
approach is to allow introspection of template parameters [1].
That would allow to get the parameter names without having to
instantiate the template.
Is that true? I
On 05/25/2016 10:46 AM, Steven Schveighoffer wrote:
http://ddili.org/ders/d.en/if.html#ix_if.else%20if
"Have coffee at neighbor's"
Thank you, fixed.
Ali
A few weeks ago I made a github repo for D modules. I'm adding to
this as I learn the language, and as I find myself writing
modules to support other code.
https://github.com/pineapplemachine/mach.d
It hasn't got a lot at the moment, but it will grow for as long
as I'm writing D. I suspect th
On Wednesday, 25 May 2016 at 20:31:34 UTC, pineapple wrote:
A few weeks ago I made a github repo for D modules. I'm adding
to this as I learn the language, and as I find myself writing
modules to support other code.
https://github.com/pineapplemachine/mach.d
It hasn't got a lot at the moment,
On Wednesday, 25 May 2016 at 22:19:28 UTC, Seb wrote:
I know that writing your own library is fun, but something that
I see quite often when looking at e.g.
Yep, I saw a couple of those before I got started on mine. For
some of us it's a sense of ownership, I think. It feels good to
be buildi
On Tuesday, 24 May 2016 at 04:57:34 UTC, Bauss wrote:
On Monday, 23 May 2016 at 05:37:10 UTC, Ali Çehreli wrote:
Found on Reddit:
https://www.reddit.com/r/programming/comments/4kmfp6/the_best_quality_programming_languages/
The list:
http://www.slant.co/topics/5984/~productivity-enhancing-we
On Wednesday, 25 May 2016 at 22:29:38 UTC, pineapple wrote:
I will do that
...I'm honestly having second thoughts because reading the style
guide for phobos was like a watching a B horror movie.
All the code in the mach.d repo is very permissively licensed and
anyone with the patience to wr
On Wednesday, 25 May 2016 at 03:48:48 UTC, Stefan Koch wrote:
This project is currently on the back burner.
However in the next days there will be another significant
performance improvement :)
A 20% performance improvement has landed in master!
It is possible that there are more places in th
On Wednesday, 25 May 2016 at 22:19:28 UTC, Seb wrote:
is that people love to collect and build their own ecosystem,
but it would be a lot better if for a specific use-case there's
a great dub package or it's part of Phobos.
I, and I'm pretty sure Vladimir too, have been writing these libs
sin
On Wednesday, 25 May 2016 at 20:31:34 UTC, pineapple wrote:
clip
My focus currently is on developing mach.sdl, a wrapper for
SDL2 and OpenGL, since ultimately I'd like to use D primarily
for game development.
I hope the library proves useful!
Hey, have you looked at: http://dgame-dev.de/
On Wednesday, 25 May 2016 at 22:52:44 UTC, Adam D. Ruppe wrote:
On Wednesday, 25 May 2016 at 22:19:28 UTC, Seb wrote:
is that people love to collect and build their own ecosystem,
but it would be a lot better if for a specific use-case
there's a great dub package or it's part of Phobos.
I, an
On Wednesday, 25 May 2016 at 12:19:33 UTC, Steven Schveighoffer
wrote:
On 5/25/16 4:22 AM, Atila Neves wrote:
On Tuesday, 24 May 2016 at 01:29:53 UTC, Steven Schveighoffer
wrote:
Blog post on making Voldemort types without the disk-space
issues:
http://www.schveiguy.com/blog/2016/05/have-your-
On Wednesday, 25 May 2016 at 23:21:09 UTC, Seb wrote:
On Wednesday, 25 May 2016 at 22:52:44 UTC, Adam D. Ruppe wrote:
On Wednesday, 25 May 2016 at 22:19:28 UTC, Seb wrote:
is that people love to collect and build their own ecosystem,
but it would be a lot better if for a specific use-case
ther
On Wednesday, 25 May 2016 at 23:21:09 UTC, Seb wrote:
Yes, and they are great. However now we have dub and a
"serious" standard library ;-)
I've looked into two options to join the dub bandwagon, and both
aren't really any good (and the fact that I don't use it myself
means it'd probably be
On Wednesday, 25 May 2016 at 22:19:28 UTC, Seb wrote:
A bit off-topic, but I can't help to say it.
I know that writing your own library is fun, but something that
I see quite often when looking at e.g.
https://github.com/adamdruppe/arsd
https://github.com/CyberShadow/ae
https://github.com/nord
42 matches
Mail list logo