On Friday, 3 April 2015 at 02:20:24 UTC, Laeeth Isharc wrote:
not evaluated by the Computer Language Benchmarks Game any more.
iirc Some people in the D community were going to make their own
measurements of benchmarks game tasks and publish them. Has that
happened?
I just noticed someone
On 3 April 2015 at 05:00, deadalnix via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Thursday, 2 April 2015 at 09:06:52 UTC, Manu wrote:
virtual by default is completely wrong for D.
And don't say 'speculative' devirtualisation. What an abomination!
Just fix the problem; don't have
On 4/2/15 11:20 PM, Laeeth Isharc wrote:
On Tuesday, 31 March 2015 at 18:20:05 UTC, cym13 wrote:
I found this repository (reddit!) that hosts common benchmarks for
many languages such as D, Nim, Go, python, C, etc... It uses only
standard structures not to influence the benchmark.
Martin Nowak:
Your persistent interest in integer overflow checks make we
wonder if you were responsible for this?
http://www.around.com/ariane.html
I am not responsible for that, but I try to not be responsible
for future molecular biology mistakes equivalent to that Ariane
fiasco.
Bye,
On Thursday, 2 April 2015 at 09:09:04 UTC, Martin Nowak wrote:
I'm not asking for a linear algebra library in phobos, although
we need one in dub and should consider having one in Phobos at
some point too.
But it would be nice if std.numeric came with a
multiply(T)(T[][] a, T[][] b, T[][]
On Wednesday, 1 April 2015 at 22:49:55 UTC, Martin Nowak wrote:
³: Places 2, 3, and 4 thanks to std.numeric.dotProduct. An
optimized
dense matrix multiplication would get us #1.
According to
https://github.com/JuliaLang/julia#Required-Build-Tools-External-Libraries
building Julia requires
On Thursday, 2 April 2015 at 08:32:13 UTC, anonymous wrote:
It would be nice to have such a good matrix multiplication in
Phobos but I think there are more important things to work on
(GC, AA, ...),
I'm not asking for a linear algebra library in phobos, although
we need one in dub and should
weaselcat:
was it a conscious decision to make the AA [] operator not
work like map/etc in C++?
What do you mean?
accessing a non-existing element in C++'s map/unordered_map
inserts the default instead of raising an exception
int main(int argc, char *argv[])
{
On 2 April 2015 at 08:15, Martin Nowak via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On 04/01/2015 10:31 PM, novice2 wrote:
Can DMD compiler do it itself, as one of optimizations?
You could do it as part of LTO or whole program optimization.
It requires another compiler/linker phase,
On Thursday, 2 April 2015 at 21:55:59 UTC, Iain Buclaw wrote:
On 1 April 2015 at 04:17, weaselcat via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Tuesday, 31 March 2015 at 23:53:07 UTC, weaselcat wrote:
On Tuesday, 31 March 2015 at 18:20:05 UTC, cym13 wrote:
I found this repository
On 1 April 2015 at 04:17, weaselcat via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Tuesday, 31 March 2015 at 23:53:07 UTC, weaselcat wrote:
On Tuesday, 31 March 2015 at 18:20:05 UTC, cym13 wrote:
I found this repository (reddit!) that hosts common benchmarks for many
languages such
On 2 April 2015 at 00:15, Martin Nowak via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On 04/01/2015 10:31 PM, novice2 wrote:
Can DMD compiler do it itself, as one of optimizations?
You could do it as part of LTO or whole program optimization.
It requires another compiler/linker phase,
On Tuesday, 31 March 2015 at 18:20:05 UTC, cym13 wrote:
I found this repository (reddit!) that hosts common benchmarks
for many languages such as D, Nim, Go, python, C, etc... It
uses only standard structures not to influence the benchmark.
https://github.com/kostya/benchmarks
Thanks for
On Thursday, 2 April 2015 at 09:06:52 UTC, Manu wrote:
On 2 April 2015 at 08:15, Martin Nowak via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On 04/01/2015 10:31 PM, novice2 wrote:
Can DMD compiler do it itself, as one of optimizations?
You could do it as part of LTO or whole program
On Thu, 02 Apr 2015 11:00:12 +
lobo via Digitalmars-d digitalmars-d@puremagic.com wrote:
On Thursday, 2 April 2015 at 09:06:52 UTC, Manu wrote:
On 2 April 2015 at 08:15, Martin Nowak via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On 04/01/2015 10:31 PM, novice2 wrote:
Can DMD
On Thursday, 2 April 2015 at 09:06:52 UTC, Manu wrote:
virtual by default is completely wrong for D.
And don't say 'speculative' devirtualisation. What an
abomination!
Just fix the problem; don't have every function be virtual in
the
first place!
I'm not sure why you don't use struct in
Andrei Alexandrescu:
Oh boy all classes with one-liner non-final methods. Manu must
be dancing a gig right now :o). -- Andrei
Yes, the right default for D language should be final, because
lot of programmers are lazy and they don't add attributes.
Bye,
bearophile
On Tue, 2015-03-31 at 19:52 -0700, Andrei Alexandrescu via Digitalmars-d wrote:
On 3/31/15 7:17 PM, weaselcat wrote:
posting this knowing that andrei is about to yell at me for not
posting
this in the reddit thread ;)
Yep, while reading I had this loaded in my chamber: Remember that
On 4/1/15 3:06 AM, Russel Winder via Digitalmars-d wrote:
On Tue, 2015-03-31 at 19:52 -0700, Andrei Alexandrescu via Digitalmars-d wrote:
On 3/31/15 7:17 PM, weaselcat wrote:
posting this knowing that andrei is about to yell at me for not
posting
this in the reddit thread ;)
Yep, while
Martin Nowak:
GCC5 comes with a big announcement about devirtualization.
https://www.gnu.org/software/gcc/gcc-5/changes.html#general
I have a small question. That page says:
A new set of built-in functions for arithmetics with overflow
checking has been added: __builtin_add_overflow,
On Wednesday, 1 April 2015 at 22:49:55 UTC, Martin Nowak wrote:
On 03/31/2015 08:20 PM, cym13 wrote:
https://github.com/kostya/benchmarks
We made a massive jump towards the upper ranks.
#4 ¹
https://github.com/kostya/benchmarks/tree/master/brainfuck#user-content-benchmark-benchb
#2
On Thursday, 2 April 2015 at 04:32:26 UTC, Martin Nowak wrote:
On Thursday, 2 April 2015 at 04:11:02 UTC, weaselcat wrote:
was it a conscious decision to make the AA [] operator not
work like map/etc in C++?
What do you mean?
accessing a non-existing element in C++'s map/unordered_map
On Thursday, 2 April 2015 at 04:11:02 UTC, weaselcat wrote:
was it a conscious decision to make the AA [] operator not work
like map/etc in C++?
What do you mean?
On 4/1/15 3:49 PM, Martin Nowak wrote:
On 03/31/2015 08:20 PM, cym13 wrote:
https://github.com/kostya/benchmarks
We made a massive jump towards the upper ranks.
[snip]
This is amazing work. Thanks! -- Andrei
On 04/02/2015 01:39 AM, bearophile wrote:
built-in functions for arithmetics with overflow checking
Your persistent interest in integer overflow checks make we wonder if
you were responsible for this?
http://www.around.com/ariane.html
On 04/02/2015 03:35 AM, weaselcat wrote:
the benchmark pointed out two sore areas in D(AA and std.json,) would be
nice to see AA get updated as I often completely avoid using the
built-in AA.
I filed two ERs already, both are pretty isolated and not too hard to
implement. I hope I don't have
On Thursday, 2 April 2015 at 03:55:53 UTC, Martin Nowak wrote:
On 04/02/2015 03:35 AM, weaselcat wrote:
the benchmark pointed out two sore areas in D(AA and
std.json,) would be
nice to see AA get updated as I often completely avoid using
the
built-in AA.
I filed two ERs already, both are
On Wednesday, 1 April 2015 at 08:52:06 UTC, bearophile wrote:
Andrei Alexandrescu:
Oh boy all classes with one-liner non-final methods. Manu must
be dancing a gig right now :o). -- Andrei
Yes, the right default for D language should be final, because
lot of programmers are lazy and they
On 04/01/2015 10:31 PM, novice2 wrote:
Can DMD compiler do it itself, as one of optimizations?
Even more interesting a complete blog post about devirtualization.
http://hubicka.blogspot.de/2014/02/devirtualization-in-c-part-4-analyzing.html
On 04/01/2015 10:31 PM, novice2 wrote:
Can DMD compiler do it itself, as one of optimizations?
You could do it as part of LTO or whole program optimization.
It requires another compiler/linker phase, so it's not easy to achieve,
maybe the LDC/GDC people have LTO running?
GCC5 comes with a big
On Wednesday, 1 April 2015 at 20:31:18 UTC, novice2 wrote:
I am sorry for so dumb question, but:
when peoples talking about D and speed,
then they always say mark method final.
Can DMD compiler do it itself, as one of optimizations?
afaik there's no reason the compiler couldn't infer it for
On Wed, 2015-04-01 at 07:48 -0700, Andrei Alexandrescu via Digitalmars-d wrote:
Everybody compared to nobody. It's a statistics thing :o).
You keep pulling me up for linguistic and logical inexactness, I feel
no compunction…
I trust your bit of the Alexandrescu tribe is doing well given the
I am sorry for so dumb question, but:
when peoples talking about D and speed,
then they always say mark method final.
Can DMD compiler do it itself, as one of optimizations?
On Wednesday, 1 April 2015 at 22:15:42 UTC, Martin Nowak wrote:
On 04/01/2015 10:31 PM, novice2 wrote:
Can DMD compiler do it itself, as one of optimizations?
You could do it as part of LTO or whole program optimization.
It requires another compiler/linker phase, so it's not easy to
achieve,
On Wednesday, 1 April 2015 at 22:30:55 UTC, weaselcat wrote:
On Wednesday, 1 April 2015 at 22:15:42 UTC, Martin Nowak wrote:
On 04/01/2015 10:31 PM, novice2 wrote:
Can DMD compiler do it itself, as one of optimizations?
You could do it as part of LTO or whole program optimization.
It
On 03/31/2015 08:20 PM, cym13 wrote:
https://github.com/kostya/benchmarks
We made a massive jump towards the upper ranks.
#4 ¹
https://github.com/kostya/benchmarks/tree/master/brainfuck#user-content-benchmark-benchb
#2
On Wednesday, 1 April 2015 at 02:17:29 UTC, weaselcat wrote:
...
forgot to label second test, it's the brainfuck one.
p.s., D loses because of AA slowness.
On 3/31/15 7:17 PM, weaselcat wrote:
posting this knowing that andrei is about to yell at me for not posting
this in the reddit thread ;)
Yep, while reading I had this loaded in my chamber: Remember that
statistically NOBODY is on forum.dlang.org and EVERYBODY is on reddit!
-- Andrei
On Tuesday, 31 March 2015 at 23:53:07 UTC, weaselcat wrote:
On Tuesday, 31 March 2015 at 18:20:05 UTC, cym13 wrote:
I found this repository (reddit!) that hosts common benchmarks
for many languages such as D, Nim, Go, python, C, etc... It
uses only standard structures not to influence the
On Tuesday, 31 March 2015 at 18:20:05 UTC, cym13 wrote:
I found this repository (reddit!) that hosts common benchmarks
for many languages such as D, Nim, Go, python, C, etc... It
uses only standard structures not to influence the benchmark.
https://github.com/kostya/benchmarks
Can you
On Tuesday, 31 March 2015 at 18:32:25 UTC, Meta wrote:
On Tuesday, 31 March 2015 at 18:20:05 UTC, cym13 wrote:
I found this repository (reddit!) that hosts common benchmarks
for many languages such as D, Nim, Go, python, C, etc... It
uses only standard structures not to influence the
On 3/31/15 11:47 AM, Martin Nowak wrote:
On 03/31/2015 08:46 PM, Andrei Alexandrescu wrote:
Let's see: https://github.com/kostya/benchmarks/pull/4
Please fire up a profiler, you never know anything.
True. I don't have time to put this on my plate, does anyone? -- Andrei
On 3/31/15 11:35 AM, cym13 wrote:
On Tuesday, 31 March 2015 at 18:32:25 UTC, Meta wrote:
On Tuesday, 31 March 2015 at 18:20:05 UTC, cym13 wrote:
I found this repository (reddit!) that hosts common benchmarks for
many languages such as D, Nim, Go, python, C, etc... It uses only
standard
On 3/31/15 11:44 AM, Andrei Alexandrescu wrote:
On 3/31/15 11:35 AM, cym13 wrote:
On Tuesday, 31 March 2015 at 18:32:25 UTC, Meta wrote:
On Tuesday, 31 March 2015 at 18:20:05 UTC, cym13 wrote:
I found this repository (reddit!) that hosts common benchmarks for
many languages such as D, Nim,
On 3/31/15 11:45 AM, Andrei Alexandrescu wrote:
On 3/31/15 11:44 AM, Andrei Alexandrescu wrote:
On 3/31/15 11:35 AM, cym13 wrote:
On Tuesday, 31 March 2015 at 18:32:25 UTC, Meta wrote:
On Tuesday, 31 March 2015 at 18:20:05 UTC, cym13 wrote:
I found this repository (reddit!) that hosts common
On 03/31/2015 08:46 PM, Andrei Alexandrescu wrote:
Let's see: https://github.com/kostya/benchmarks/pull/4
Please fire up a profiler, you never know anything.
I found this repository (reddit!) that hosts common benchmarks
for many languages such as D, Nim, Go, python, C, etc... It uses
only standard structures not to influence the benchmark.
https://github.com/kostya/benchmarks
Oh boy all classes with one-liner non-final methods. Manu must
be dancing a gig right now :o). -- Andrei
Jig. =)
On Tuesday, 31 March 2015 at 18:20:05 UTC, cym13 wrote:
I found this repository (reddit!) that hosts common benchmarks
for many languages such as D, Nim, Go, python, C, etc... It
uses only standard structures not to influence the benchmark.
https://github.com/kostya/benchmarks
dmd in
On 03/31/2015 09:07 PM, Andrei Alexandrescu wrote:
True. I don't have time to put this on my plate, does anyone? -- Andrei
Very little, here is my outcome.
- brainfuck = better backend, better AA
The switch in the run loop doesn't use a switch table.
A lot of time is also spent on AA
On 3/31/15 3:44 PM, Andrei Alexandrescu wrote:
On 3/31/15 11:35 AM, cym13 wrote:
On Tuesday, 31 March 2015 at 18:32:25 UTC, Meta wrote:
On Tuesday, 31 March 2015 at 18:20:05 UTC, cym13 wrote:
I found this repository (reddit!) that hosts common benchmarks for
many languages such as D, Nim, Go,
On Tuesday, 31 March 2015 at 22:15:58 UTC, Ary Borenszweig wrote:
But in Crystal he also uses classes and doesn't mark methods as
final. And it's faster than D.
Not familiar with their way of doing.
Can you explain the crystal semantic ?
On 3/31/15 7:27 PM, deadalnix wrote:
On Tuesday, 31 March 2015 at 22:15:58 UTC, Ary Borenszweig wrote:
But in Crystal he also uses classes and doesn't mark methods as final.
And it's faster than D.
Not familiar with their way of doing.
Can you explain the crystal semantic ?
You can read
53 matches
Mail list logo