https://issues.dlang.org/show_bug.cgi?id=15464
--- Comment #8 from Andrei Alexandrescu ---
Ping?
--
On Monday, 28 December 2015 at 18:39:47 UTC, Ilya Yaroshenko
wrote:
Have you read the latest changes?
http://forum.dlang.org/post/djgkkrdufycyjhpma...@forum.dlang.org
I have.
The problem with the doc is that is describes what it can be used
for, but it does not describe what it is.
It is
On Monday, 28 December 2015 at 23:01:05 UTC, Andrei Alexandrescu
wrote:
The signature proper is nice. The formatting of "&&" in the
constraint is inconsistent, but I guess that's a matter with
the formatting of the code.
Yeah, that is a css bug I just forgot about getting in to
everything
On Friday, 25 December 2015 at 12:43:05 UTC, Jakob Jenkov wrote:
Hi, just a quick question:
If I write a program in D and I use Windows for development but
want it to run on Linux, do I have to copy the source code to
the target Linux machine and compile it there, to make an
executable for
Is it acceptable to post examples/tips and tricks in the wiki,
and then link to them in the official Phobos documentation? What
I have in mind is adding to the documentation of a Phobos function
See Also: The [wiki](link) for additional documentation.
This would overcome two (valid IMO)
Joakim writes:
>
> I don't understand how the bitcode requirement works on your own
> device: I thought that was for an Apple-submitted app that they then
> compiled to binary themselves? Do you have to go through the same
> process even for test apps, ie no sideloading? Or
On Monday, 28 December 2015 at 07:11:00 UTC, Jack Stouffer wrote:
Voting has ended! Thanks to everyone who voted and reviewed.
The final tally:
Yes: 12
No: 0
Anything left to review/do on the PR? We're branching for 2.070
soon, would be nice if this can make it, but only if it's really
My current work on the D compiler lead me to the following test
case which I put through a unmodified version of dmd 2.069.2
import core.stdc.stdio;
struct UnusedStruct
{
int i = 3;
float f = 4.0f;
};
class UnusedClass
{
int i = 2;
float f = 5.0f;
};
void
On Monday, 28 December 2015 at 04:52:44 UTC, FrankLike wrote:
Now I build a project for ARM linux on ubuntu 15.04 ,but build
error.
I download the 'wiringPi' from http://wiringPi.com,convert the
*.h to *.d.then build the 'aa.so' file:
#! /bin/sh
dfiles="max31855.d max5322.d mcp23008.d
On 12/28/2015 12:29 AM, TheDGuy wrote:
My code:
http://dpaste.com/1X3E1HW
i store colors in the accumulator-array and draw them via
"cr.rectangle()". Because i have some problems with the code i set the
SourceRgb-color to a constant value but if i execute the program, the
window remains white.
https://issues.dlang.org/show_bug.cgi?id=14804
--- Comment #3 from b2.t...@gmx.com ---
(In reply to monkeyworks12 from comment #2)
> but let's not close this one for opEquals.
Without great convictionI've opened the PR, but let's the official maintainers
take the decision ;)
On Sunday, 27 December 2015 at 21:13:07 UTC, Stefan Koch wrote:
Hello again.
please feel free to comment or ask questions here.
Hi.
what languages do you plan to support for input and output ?
Is anyone up for writing an article or two on D for publication in the
CVu or Overload journals as an act of D-efiance? There are to be a 1-
day D workshop and a keynote session t the conference, it would be good
to "leverage" this as part of the campaign to show that C++ is a 20th
century
https://www.techempower.com/benchmarks/
The entries for vibe.d are either doing very poorly or fail to
complete. Maybe someone should look into this?
On Monday, 28 December 2015 at 13:17:04 UTC, FrankLike wrote:
About the first error ("...module wiringPi is in file
'wiringPi.d' which cannot be read...") - are you sure that the
dfiles are in "./wiringPi/WiringPi/"? The compiler reports
that it can't find them there.
You can try copying the
On 2015-12-28 09:45, Dan Olson wrote:
On implication of Apple requiring bitcode: if Apple is compiling the
bitcode with their clang or llc, then it means using a modifed LLVM like
I do to support thread-locals on watchOS, tvOS, or iOS is only good for
side loading. Probably going to have to
On Friday, 25 December 2015 at 12:43:05 UTC, Jakob Jenkov wrote:
Hi, just a quick question:
If I write a program in D and I use Windows for development but
want it to run on Linux, do I have to copy the source code to
the target Linux machine and compile it there, to make an
executable for
On Wednesday, 23 December 2015 at 00:59:53 UTC, steven kladitis
wrote:
I have 843 programs written in D. 805 actually create an 32 bit
exe in windows 10. I am running the latest D. Some just start
to link and the linker disappears. Some just have issues I am
not able figure out. I can attach
On Monday, 28 December 2015 at 14:24:04 UTC, Basile B. wrote:
On Wednesday, 23 December 2015 at 00:59:53 UTC, steven kladitis
wrote:
...
All of the programs are from RosettaCode.org. The script to
compile them generates a log file and you will see a few that
the linker just stops No idea
On Monday, 28 December 2015 at 14:16:36 UTC, Basile B. wrote:
On Monday, 28 December 2015 at 14:09:30 UTC, Joakim wrote:
I wish dfmt could do this for us, so that you develop with all
the modules imported at the top, then run dfmt and it scopes
all the imports and adds the selective import of
I've gotten the answer: use the difference 'gcc' for c code.
---For x86_64:
#! /bin/sh
dfiles="max31855.d max5322.d mcp23008.d mcp23016.d mcp23016reg.d
mcp23017.d mcp23s08.d mcp23s17.d mcp23x08.d mcp23x0817.d
mcp3002.d mcp3004.d mcp3422.d mcp4802.d pcf8574.d
On 27 Dec 2015 6:25 PM, "Andrei Alexandrescu via Digitalmars-d-announce" <
digitalmars-d-announce@puremagic.com> wrote:
>
> On 12/27/15 1:27 AM, Rory McGuire via Digitalmars-d-announce wrote:
[snip]
>> Vibe.d had a template engine called diet which is almost like Jade. It
>> is also completed so
On 2015-12-27 00:55, Walter Bright wrote:
Many of the lowerings require semantic information that is not available
from ASTs.
Hence the "in theory" ;). It's hard to tell what would be possible to
implement with AST macros without implementing the complete macro system
and use it. Of course
On Sunday, 27 December 2015 at 14:44:37 UTC, Ola Fosheim Grøstad
wrote:
I think wannabe game programmers is a sizeable market.
Programmers that dont have the capacity to learn modern C++ and
would pay for a quality tutorial of how to build a commercial
level game using OpenGL, OpenAL and a
On Sunday, 27 December 2015 at 22:42:21 UTC, Ivan Kazmenko wrote:
If you implement a struct with range primitives over it, you
can use it as a range.
See the second code example in std.container.binaryheap's docs
at
http://dlang.org/phobos/std_container_binaryheap.html#.BinaryHeap.
Or do
On Monday, 28 December 2015 at 12:24:17 UTC, Ola Fosheim Grøstad
wrote:
https://www.techempower.com/benchmarks/
The entries for vibe.d are either doing very poorly or fail to
complete. Maybe someone should look into this?
Sönke is already on it.
On Monday, 28 December 2015 at 12:58:36 UTC, Gary Willoughby
wrote:
On Sunday, 27 December 2015 at 22:42:21 UTC, Ivan Kazmenko
wrote:
Or do you mean you want to print variables in order without
modifying the array? Sounds like this would require at least
N log N time and N additional memory
On Wednesday, 23 December 2015 at 10:51:52 UTC, earthfront wrote:
I'm using hackerpilot's excellent textadept plugin + DCD, Dfmt,
and Dscanner.
Upon saving files, it produces suggestions, much like warnings
from the compiler.
One suggestion is to use selective imports in local scopes. OK,
On 2015-12-27 17:23, Andrei Alexandrescu wrote:
That looks pretty cool! -- Andrei
It's based on Haml which is pretty well known as well.
--
/Jacob Carlborg
On Sunday, 27 December 2015 at 17:19:26 UTC, Mike Parker wrote:
On Sunday, 27 December 2015 at 15:19:21 UTC, FrankLike wrote:
Hi,
Now I need get the .a file on Linux,target system is ARM.
If you use gcc ,you will use the 'ar' to get .a file,
but how to do by GDC ?
And how to get the
About the first error ("...module wiringPi is in file
'wiringPi.d' which cannot be read...") - are you sure that the
dfiles are in "./wiringPi/WiringPi/"? The compiler reports that
it can't find them there.
You can try copying the WiringPi dfiles in the same folder as
"my.d".
About the
On Sunday, 27 December 2015 at 16:00:34 UTC, jkpl wrote:
On Sunday, 27 December 2015 at 15:53:55 UTC, TheDGuy wrote:
Any idea what i am doing wrong?
https://www.youtube.com/watch?v=j_VCa-5VeP8
You could post the code also, personnaly I'm always almost at 2
meters from my screen, with zoom,
While working on a framework, I've found that Multiple Return
Values (MRV) are clearly an optimization. I'de like to write a
small D blog post about this but I don't know If it's clever
enough or if it's a well know fact.
My base D material is this:
---
#!runnable-flags: -O -boundscheck=off
I mean it's maybe "just" a special case of RVO, since tuples are
processed as structs ?
https://issues.dlang.org/show_bug.cgi?id=15481
ag0ae...@gmail.com changed:
What|Removed |Added
CC||ag0ae...@gmail.com
On Monday, 28 December 2015 at 14:16:36 UTC, Basile B. wrote:
On Monday, 28 December 2015 at 14:09:30 UTC, Joakim wrote:
I wish dfmt could do this for us, so that you develop with all
the modules imported at the top, then run dfmt and it scopes
all the imports and adds the selective import of
On Monday, 28 December 2015 at 14:09:30 UTC, Joakim wrote:
I wish dfmt could do this for us, so that you develop with all
the modules imported at the top, then run dfmt and it scopes
all the imports and adds the selective import of symbols. I've
been thinking about implementing a tool to do
https://issues.dlang.org/show_bug.cgi?id=15481
--- Comment #2 from Valentin Milea ---
Maybe the reallocation function is called and returns the same buffer. But why
call it in the first place, if reducing array length is supposed to be
_equivalent_ to slicing?
--
On Monday, 28 December 2015 at 11:13:57 UTC, Martin Nowak wrote:
On Monday, 28 December 2015 at 07:11:00 UTC, Jack Stouffer
wrote:
Voting has ended! Thanks to everyone who voted and reviewed.
The final tally:
Yes: 12
No: 0
Anything left to review/do on the PR?
Very minor DDOC style hack
I'd like to have a command line flag for dmd (and ldc,gdc) that would be
the analog to:
llvm-config --ldflags --cflags
ie, would print the corresponding flags used by dmd after following the
internal logic (look for dmd.conf in a number of directories, look for
DFLAGS environment variable etc).
On Monday, 28 December 2015 at 12:40:09 UTC, Basile B. wrote:
I mean it's maybe "just" a special case of RVO, since tuples
are processed as structs ?
Also in the second version the stack size is modified by 78
bytes. Not when using MRV.
Hi, I have two questions regarding the following, IMO very cool, vibe feature:
"Contrary to most other frameworks supporting asynchronous I/O, vibe.d
fully integrates with the UI event loop, so that it can be used to
power applications with a graphical user interface."
1. Am I right, that
On Monday, 28 December 2015 at 11:13:57 UTC, Martin Nowak wrote:
On Monday, 28 December 2015 at 07:11:00 UTC, Jack Stouffer
wrote:
Voting has ended! Thanks to everyone who voted and reviewed.
The final tally:
Yes: 12
No: 0
Anything left to review/do on the PR? We're branching for 2.070
Answer is here:
http://forum.dlang.org/thread/txvntyahlaewutzzw...@forum.dlang.org
On Monday, 28 December 2015 at 15:52:09 UTC, Robert burner
Schadek wrote:
Please do not merge this with the current state of
documentation.
Could you elaborate what issues you have with the docs? All of
the functions have Params and Returns sections and the examples
show what each function
On Sunday, 27 December 2015 at 23:24:55 UTC, TheDGuy wrote:
On Sunday, 27 December 2015 at 22:51:27 UTC, Ali Çehreli wrote:
On 12/27/2015 07:53 AM, TheDGuy wrote:
Any idea what i am doing wrong?
https://www.youtube.com/watch?v=j_VCa-5VeP8
YouTube says that the video has been removed by the
Answer is here:
http://forum.dlang.org/thread/txvntyahlaewutzzw...@forum.dlang.org
On Monday, 28 December 2015 at 10:45:59 UTC, Nick B wrote:
what languages do you plan to support for input and output ?
I just planned on PL/0 as input and C as output.
It is a simple one-pass (okay 2 pass if you count the optimizer)
trans-compilation.
There is no middle-end.
And very
On Monday, 28 December 2015 at 15:07:08 UTC, jkpl wrote:
On Sunday, 27 December 2015 at 16:00:34 UTC, jkpl wrote:
On Sunday, 27 December 2015 at 15:53:55 UTC, TheDGuy wrote:
Any idea what i am doing wrong?
https://www.youtube.com/watch?v=j_VCa-5VeP8
You could post the code also, personnaly
On Monday, 28 December 2015 at 07:11:00 UTC, Jack Stouffer wrote:
The final tally:
Yes: 12
No: 0
This is not true, my yes was conditional and the documentation is
still weak. So it is
Yes: 11
Yes: Conditional
No: 0
Please do not merge this with the current state of documentation.
On Monday, 28 December 2015 at 11:40:50 UTC, Russel Winder wrote:
Is anyone up for writing an article or two on D for publication
in the CVu or Overload journals as an act of D-efiance? There
are to be a 1- day D workshop and a keynote session t the
conference, it would be good to "leverage"
On Monday, 28 December 2015 at 18:02:53 UTC, jkpl wrote:
On Monday, 28 December 2015 at 15:50:06 UTC, Basile B. wrote:
On Monday, 28 December 2015 at 15:07:08 UTC, jkpl wrote:
On Sunday, 27 December 2015 at 16:00:34 UTC, jkpl wrote:
On Sunday, 27 December 2015 at 15:53:55 UTC, TheDGuy wrote:
On 12/28/2015 09:57 AM, Jack Stouffer wrote:
On Monday, 28 December 2015 at 11:13:57 UTC, Martin Nowak wrote:
On Monday, 28 December 2015 at 07:11:00 UTC, Jack Stouffer wrote:
Voting has ended! Thanks to everyone who voted and reviewed.
The final tally:
Yes: 12
No: 0
Anything left to
On Monday, 28 December 2015 at 15:23:19 UTC, FrankLike wrote:
New Answer: I've gotten the answer: use the difference 'gcc' for
c code.
---For x86_64:
#! /bin/sh
dfiles="max31855.d max5322.d mcp23008.d mcp23016.d
mcp23016reg.d mcp23017.d mcp23s08.d mcp23s17.d
On Monday, 28 December 2015 at 15:50:06 UTC, Basile B. wrote:
On Monday, 28 December 2015 at 15:07:08 UTC, jkpl wrote:
On Sunday, 27 December 2015 at 16:00:34 UTC, jkpl wrote:
On Sunday, 27 December 2015 at 15:53:55 UTC, TheDGuy wrote:
Any idea what i am doing wrong?
On Monday, 28 December 2015 at 15:52:09 UTC, Robert burner
Schadek wrote:
fix
Yes: 11
Yes: Conditional: 1 <<-- fix here
No: 0
Please do not merge this with the current state of
documentation.
Get used to it :) Unfortunately, DMD is not emitting the best
debug information. The program flow is correct, but the line
info is not, that's why the execution step will not be
triggered in the real location of the source code.
The simplest example is this:
import std.stdio;
void foo(int
On 12/28/2015 04:43 PM, Robert burner Schadek wrote:
On Monday, 28 December 2015 at 18:39:47 UTC, Ilya Yaroshenko wrote:
Have you read the latest changes?
http://forum.dlang.org/post/djgkkrdufycyjhpma...@forum.dlang.org
I have.
The problem with the doc is that is describes what it can be
On Monday, 28 December 2015 at 21:43:35 UTC, Robert burner
Schadek wrote:
On Monday, 28 December 2015 at 18:39:47 UTC, Ilya Yaroshenko
wrote:
Have you read the latest changes?
http://forum.dlang.org/post/djgkkrdufycyjhpma...@forum.dlang.org
I have.
The problem with the doc is that is
One more note: I salute the initiative of another doc generator and read
the motivation behind it. Yet I do think it's worth asking ourselves two
questions:
(a) is the new proposed system differentiated enough to justify its
existence and motivate others to join in?
(b) are the existent
On 12/28/15 3:15 PM, Adam D. Ruppe wrote:
http://dpldocs.info/
Inspired by the php docs, I also have it able to search direct from a
URL. Click this:
http://dpldocs.info/findSkip
The signature proper is nice. The formatting of "&&" in the constraint
is inconsistent, but I guess that's a
On 29/12/15 12:05 PM, Andrei Alexandrescu wrote:
One more note: I salute the initiative of another doc generator and read
the motivation behind it. Yet I do think it's worth asking ourselves two
questions:
(a) is the new proposed system differentiated enough to justify its
existence and
On Monday, 28 December 2015 at 14:05:42 UTC, Ivan Kazmenko wrote:
1. You can find maximum, then second maximum, then third
maximum and so on - each in constant memory and linear time.
So, if performance is somehow not an issue, there is a way to
do it @nogc but in N^2 operations.
That's
On Monday, 28 December 2015 at 15:52:09 UTC, Robert burner
Schadek wrote:
On Monday, 28 December 2015 at 07:11:00 UTC, Jack Stouffer
wrote:
The final tally:
Yes: 12
No: 0
This is not true, my yes was conditional and the documentation
is still weak. So it is
Yes: 11
Yes: Conditional
No: 0
On Friday, 25 December 2015 at 17:43:06 UTC, Kingsley wrote:
On Friday, 25 December 2015 at 16:55:32 UTC, Bogdan wrote:
On Friday, 25 December 2015 at 15:28:23 UTC, Pradeep Gowda
wrote:
On Friday, 25 December 2015 at 15:04:42 UTC, eyveer wrote:
On Friday, 25 December 2015 at 13:57:52 UTC,
On Monday, 28 December 2015 at 18:33:16 UTC, jkpl wrote:
On Monday, 28 December 2015 at 18:12:24 UTC, jkpl wrote:
On Monday, 28 December 2015 at 18:02:53 UTC, jkpl wrote:
On Monday, 28 December 2015 at 15:50:06 UTC, Basile B. wrote:
On Monday, 28 December 2015 at 15:07:08 UTC, jkpl wrote:
On
On Monday, 28 December 2015 at 18:12:24 UTC, jkpl wrote:
On Monday, 28 December 2015 at 18:02:53 UTC, jkpl wrote:
On Monday, 28 December 2015 at 15:50:06 UTC, Basile B. wrote:
On Monday, 28 December 2015 at 15:07:08 UTC, jkpl wrote:
On Sunday, 27 December 2015 at 16:00:34 UTC, jkpl wrote:
On
Jacob Carlborg writes:
>
> Would it be possible to bypass LLVM and do the thread local specific
> parts in LDC?
That is Plan B.2
On 12/28/2015 10:14 AM, Jakob Jenkov wrote:
On Monday, 28 December 2015 at 11:40:50 UTC, Russel Winder wrote:
Is anyone up for writing an article or two on D for publication in the
CVu or Overload journals as an act of D-efiance? There are to be a 1-
day D workshop and a keynote session t the
Last week, I posted in the general forum my dream for better D
docs. Today, about 4 days of work later, I'm about 1/4 of the way
there.
Still a long way to go, but I've already come so far.
First, behold my old dpldocs.info site. Yes, it is still up and
now it ties into my new docs! You can
Joakim writes:
>
> Thanks for the detailed answer; I'm sure this will now become the
> definitive answer online. I've gone googling for technical info only
> to sometimes be directed back to a post in these D forums. :)
Me too! Its very funny when that happens.
> Time to
On Monday, 28 December 2015 at 19:22:00 UTC, jkpl wrote:
On Monday, 28 December 2015 at 18:33:16 UTC, jkpl wrote:
On Monday, 28 December 2015 at 18:12:24 UTC, jkpl wrote:
On Monday, 28 December 2015 at 18:02:53 UTC, jkpl wrote:
On Monday, 28 December 2015 at 15:50:06 UTC, Basile B. wrote:
On
On 29/12/15 3:23 PM, bachmeier wrote:
Is it acceptable to post examples/tips and tricks in the wiki, and then
link to them in the official Phobos documentation? What I have in mind
is adding to the documentation of a Phobos function
See Also: The [wiki](link) for additional documentation.
This
Rikki Cattermole wrote:
> On 29/12/15 12:05 PM, Andrei Alexandrescu wrote:
>> One more note: I salute the initiative of another doc generator and read
>> the motivation behind it. Yet I do think it's worth asking ourselves two
>> questions:
>>
>> (a) is the new proposed
On 12/28/2015 04:28 PM, Walter Bright wrote:
>
https://www.reddit.com/r/programming/comments/3ykko7/implementing_a_programming_language_in_d_lexical/
Although the author does not use many D idioms, I've just learned
(re-learned?) anonymous enums from that code.
I've realized that with a
On Tuesday, 29 December 2015 at 00:50:49 UTC, Stefan Koch wrote:
so could it be used to produce D output instead of C ?
Could it be used to parse PHP as input ?
That would probably require implementing a vm.
fancyPars can certainly be used to create a php parser but a
straightforward
On Monday, 28 December 2015 at 16:41:30 UTC, Stefan Koch wrote:
On Monday, 28 December 2015 at 10:45:59 UTC, Nick B wrote:
what languages do you plan to support for input and output ?
I just planned on PL/0 as input and C as output.
It is a simple one-pass (okay 2 pass if you count the
Poodinis 6.0.0 has been released!
Poodinis is a dependency injection framework for the D
programming language. It is inspired by the Spring Framework and
Hypodermic IoC container for C++. Poodinis supports registering
and resolving classes either by concrete type or interface.
Automatic
On Monday, 28 December 2015 at 23:40:31 UTC, Nick B wrote:
On Monday, 28 December 2015 at 16:41:30 UTC, Stefan Koch wrote:
On Monday, 28 December 2015 at 10:45:59 UTC, Nick B wrote:
what languages do you plan to support for input and output ?
I just planned on PL/0 as input and C as output.
http://blog.felixangell.com/implementing-a-programming-language-in-d-part-1/
https://www.reddit.com/r/programming/comments/3ykko7/implementing_a_programming_language_in_d_lexical/
https://news.ycombinator.com/item?id=10802610 (Go through the front page, not
this link, or your votes won't
On Monday, 28 December 2015 at 22:39:45 UTC, Ilya Yaroshenko
wrote:
On Monday, 28 December 2015 at 21:43:35 UTC, Robert burner
Schadek wrote:
[...]
Agreed
1. First paragraph was replaced by your variant.
2. Binary representation was moved to Slice type documentation.
3. Small "Quick Start"
On 12/28/2015 09:57 PM, Ali Çehreli wrote:
> anonymous enums
Wow! They are pretty weird:
1) The second form of the AnonymousEnumDeclaration spec is redundant, right?
http://dlang.org/spec/enum.html#AnonymousEnumDeclaration
enum : EnumBaseType { EnumMembers }
enum { EnumMembers }
82 matches
Mail list logo