On Tuesday, 7 October 2014 at 01:11:42 UTC, Shammah Chancellor
wrote:
On 2014-10-06 22:28:52 +, Andrei Alexandrescu said:
On 10/6/14, 12:59 PM, Shammah Chancellor wrote:
I'm willing to put in the work if Walter is on board also. I
don't want
to do all that work to end up being a DPL Found
On Thursday, 23 October 2014 at 04:12:45 UTC, John A wrote:
What am I missing?
To answer my own question, I put the source file in the wrong
spot:
BAD:
$(ARM-GDC) $(INCDIR) -L$(LIBDIR) -lopengl3 -lutil -ldl testgl3.d
-o testgl3
Good:
$(ARM-GDC) $(INCDIR) testgl3.d -L$(LIBDIR) -lopengl3 -l
On Wednesday, 22 October 2014 at 07:49:24 UTC, Johannes Pfau
wrote:
You also have to link against DerelictGL3 and maybe
DerelictUtil:
-lDerelictGL3 -lDerelictUtil
Sorry for the confusion.
When I compile DerelictGL3 and DerelictUtil, I create archives
libopengl3.a and libutil.a in a local 'lib
On Wednesday, October 22, 2014 14:10:02 Walter Bright via
Digitalmars-d wrote:
On 10/22/2014 1:28 PM, Jonathan M Davis wrote:
> I can understand that, but it does seem a bit risky in this
> case. The
> suggestion of creating a warning for it seems like a good
> one, since it
> allows you to deb
On Wednesday, 22 October 2014 at 23:09:17 UTC, Ola Fosheim
Grøstad wrote:
I think it is related to so-called dependent types?
http://en.wikipedia.org/wiki/Dependent_type
And:
http://en.wikipedia.org/wiki/Refinement_(computing)#Refinement_types
And perhaps:
http://en.wikipedia.org/wiki/Liskov
On Wednesday, 22 October 2014 at 21:34:51 UTC, Peter Alexander
wrote:
Term rewriting is very interesting, and I believe some work has
been done for this in Haskell. I don't believe anything has
been done with this propositions and inference approach you
describe.
I would always assume it has
On Wednesday, 22 October 2014 at 11:10:35 UTC, Ola Fosheim
Grøstad wrote:
[snip]
These kinds of optimizations are very difficult to achieve in a
low level backend, but you really need them in order to do
generic programming properly.
A simple start would be to not provide term rewriting as a
On 10/22/2014 1:28 PM, Jonathan M Davis wrote:
I can understand that, but it does seem a bit risky in this case. The suggestion
of creating a warning for it seems like a good one, since it allows you to debug
like that but needles you to not leave it that way.
I don't want deliberately written
https://en.wikipedia.org/wiki/Code_smell
Do you read this?
Yes phobos.stdio very smell code. Disagree?
107 КБ of source code olny for call
few functions from stdio. Are you sure that
this code are full correctly?
"silly rabbit, y should be positive" - may
be becose his used class like this?
the
On Wednesday, 22 October 2014 at 15:11:39 UTC, Adam D. Ruppe
wrote:
On Wednesday, 22 October 2014 at 08:13:20 UTC, ponce wrote:
1. A windowing library to replace some of SDL usage.
My simpledisplay.d is aimed to do some of this.
https://github.com/adamdruppe/arsd
It also depends on my color.d
On Wednesday, 22 October 2014 at 19:49:48 UTC, Jacob Carlborg
wrote:
On 2014-10-22 10:13, ponce wrote:
2. A binary serialization library that support versions of
data schemes.
Would allow to load previous versions of data when the scheme
has
changed and fields have been added/removed.
Sound
On 10/22/2014 2:31 AM, Shammah Chancellor wrote:
A couple of us working on SDC are trying to get ValueRange propigation
implemented. I was wonder if someone could offer some insight as to how VRP
works in DMD. If for example, trying to get the value range of a global, what
is the expected beh
On Wednesday, 22 October 2014 at 20:15:57 UTC, Walter Bright
wrote:
On 10/22/2014 1:04 PM, Jonathan M Davis wrote:
Yeah, being able to just enable the debug blocks from within
the code like
that seems questionable to me and has nothing to do with debug
blocks
disabling pure functions. It just m
On 10/22/2014 1:04 PM, Jonathan M Davis wrote:
Yeah, being able to just enable the debug blocks from within the code like
that seems questionable to me and has nothing to do with debug blocks
disabling pure functions. It just makes for a nastier side effect when debug
blocks are enabled within th
On 10/22/2014 12:44 PM, "Ola Fosheim Grøstad"
" wrote:
On Wednesday, 22 October 2014 at 19:24:54 UTC, Walter Bright wrote:
On 10/22/2014 4:30 AM, "Ola Fosheim Grøstad"
" wrote:
On a related note, how do you provide multiple execution paths based on cpuid
without making the code dirty?
https:/
On Tuesday, October 21, 2014 22:33:02 Steven Schveighoffer via
Digitalmars-d
wrote:
On 10/21/14 3:24 PM, Walter Bright wrote:
> On 10/21/2014 12:15 PM, Gary Willoughby wrote:
>> On Tuesday, 21 October 2014 at 17:25:37 UTC, Steven
>> Schveighoffer
>>
>> wrote:
>>> Yep, you can just turn off pur
On 2014-10-22 10:13, ponce wrote:
2. A binary serialization library that support versions of data schemes.
Would allow to load previous versions of data when the scheme has
changed and fields have been added/removed.
Sounds like Protocol Buffers [1], D implementations: [2] [3].
[1] http://cod
On Wednesday, 22 October 2014 at 19:24:54 UTC, Walter Bright
wrote:
On 10/22/2014 4:30 AM, "Ola Fosheim Grøstad"
" wrote:
On a related note, how do you provide multiple execution paths
based on cpuid
without making the code dirty?
https://github.com/D-Programming-Language/druntime/blob/master
On 10/22/2014 4:30 AM, "Ola Fosheim Grøstad"
" wrote:
On a related note, how do you provide multiple execution paths based on cpuid
without making the code dirty?
https://github.com/D-Programming-Language/druntime/blob/master/src/rt/arrayfloat.d
On Wednesday, 22 October 2014 at 01:45:07 UTC, Mike Parker wrote:
On 10/22/2014 2:37 AM, Edn wrote:
Anyways, would
deimos/glfw/glfw3.d
be needed if I have
import glfw.glfw3;
in my main.d ?
You should be importing deimos.glfw.glfw3, I believe. But the
answer is yes. Import statements tell the
On Wed, 22 Oct 2014 17:04:41 +
Gary Willoughby via Digitalmars-d wrote:
> On Wednesday, 22 October 2014 at 13:58:44 UTC, Steven
> Schveighoffer wrote:
> > I am surprised. So you can actually enable all debug code
> > permanently.
> >
> > I think debug=... statement should be made illegal.
>
On Wednesday, 22 October 2014 at 13:58:44 UTC, Steven
Schveighoffer wrote:
I am surprised. So you can actually enable all debug code
permanently.
I think debug=... statement should be made illegal.
-Steve
I'd agree with that to be honest. It seems odd to allow this in
code. I can understand
On Wednesday, 22 October 2014 at 08:13:20 UTC, ponce wrote:
1. A windowing library to replace some of SDL usage.
My simpledisplay.d is aimed to do some of this.
https://github.com/adamdruppe/arsd
It also depends on my color.d, but none of the other files. It
also doesn't depend on Phobos, whi
On Saturday, 18 October 2014 at 17:40:43 UTC, Walter Bright wrote:
On 10/18/2014 8:21 AM, Jacob Carlborg wrote:
On 2014-10-18 07:09, Walter Bright wrote:
Which means they'll be program bugs, not environmental errors.
Yes, but just because I made a mistake in using a function
(hitting an ass
On Wednesday, 22 October 2014 at 15:05:58 UTC, w0rp wrote:
On Saturday, 18 October 2014 at 17:40:43 UTC, Walter Bright
wrote:
On 10/18/2014 8:21 AM, Jacob Carlborg wrote:
On 2014-10-18 07:09, Walter Bright wrote:
never happen," which is like a car turning into King Kong and
It depends on t
On 10/22/14 7:23 AM, Marco Leise wrote:
Am Tue, 21 Oct 2014 22:33:02 -0400
schrieb Steven Schveighoffer :
On 10/21/14 3:24 PM, Walter Bright wrote:
On 10/21/2014 12:15 PM, Gary Willoughby wrote:
On Tuesday, 21 October 2014 at 17:25:37 UTC, Steven Schveighoffer
wrote:
Yep, you can just turn o
On Wednesday, 22 October 2014 at 12:17:32 UTC, Dejan Lekic wrote:
It is easy to write ugly code in D without string mixins.
Just take a look at the (ab)use of UFCS...
I am not a fan of UFCS either… I think it is nice to be able to
extend aggregates with new member functions, UFCS isn't require
On Wednesday, 22 October 2014 at 08:14:24 UTC, Ola Fosheim
Grøstad wrote:
2. Easy to write ugly code: It suffers from the same issues as
macros.
It is easy to write ugly code in D without string mixins.
Just take a look at the (ab)use of UFCS...
On Wednesday, 22 October 2014 at 11:13:35 UTC, Marco Leise wrote:
You might be surprised that -debug doesn't enable anything
special. It is just a shortcut for setting the debug level to
1 (a shortcut for -debug=1). Likewise debug statements are a
shortcut for debug(1) {…}. This is also analogous
Am Tue, 21 Oct 2014 22:33:02 -0400
schrieb Steven Schveighoffer :
> On 10/21/14 3:24 PM, Walter Bright wrote:
> > On 10/21/2014 12:15 PM, Gary Willoughby wrote:
> >> On Tuesday, 21 October 2014 at 17:25:37 UTC, Steven Schveighoffer
> >> wrote:
> >>> Yep, you can just turn off purity when it gets i
Generic programming without high level analytical capabilities
are problematic since you cannot optimize everything on a low
level.
For instance, some algorithms run better if the input is sorted,
and although you can cover one property with typing (e.g. sorted
range) the combinatorial explos
On 22/10/2014 10:07 p.m., ponce wrote:
On Wednesday, 22 October 2014 at 08:25:25 UTC, Rikki Cattermole wrote:
On 22/10/2014 9:13 p.m., ponce wrote:
I feel like we need a NG thread for D users to come and ask for new
libraries/bindings.
Express your needs! Here are mines.
1. A windowing librar
On Wednesday, 22 October 2014 at 01:45:07 UTC, Mike Parker wrote:
On 10/22/2014 2:37 AM, Edn wrote:
Anyways, would
deimos/glfw/glfw3.d
be needed if I have
import glfw.glfw3;
in my main.d ?
You should be importing deimos.glfw.glfw3, I believe. But the
answer is yes. Import statements tell the
On Wednesday, 22 October 2014 at 09:27:09 UTC, Shammah Chancellor
wrote:
A couple of us working on SDC are trying to get ValueRange
propigation implemented.
Nice! Maybe you should also consider establishing error in
floating point calculations by extending to interval arithmetic?
http://en.w
A couple of us working on SDC are trying to get ValueRange propigation
implemented. I was wonder if someone could offer some insight as to
how VRP works in DMD. If for example, trying to get the value range
of a global, what is the expected behavior?
It seems as though VRP is a language fe
On Wednesday, 22 October 2014 at 08:25:25 UTC, Rikki Cattermole
wrote:
On 22/10/2014 9:13 p.m., ponce wrote:
I feel like we need a NG thread for D users to come and ask
for new
libraries/bindings.
Express your needs! Here are mines.
1. A windowing library to replace some of SDL usage. Some
p
On Wednesday, 22 October 2014 at 08:27:53 UTC, bearophile wrote:
Ola Fosheim Grøstad:
2. Easy to write ugly code: It suffers from the same issues as
macros.
Do you mean C macros? I think this is not true.
Not C macros, because they are free form and happen before
parsing.
On the other ha
On 22/10/2014 9:13 p.m., ponce wrote:
I feel like we need a NG thread for D users to come and ask for new
libraries/bindings.
Express your needs! Here are mines.
1. A windowing library to replace some of SDL usage. Some programs like
audio plugins are usually done without any dependent dynamic
Ola Fosheim Grøstad:
2. Easy to write ugly code: It suffers from the same issues as
macros.
Do you mean C macros? I think this is not true.
3. Language integration: It is desirable to have an application
level language that can integrate well with a low level
language when calling out to s
I feel like we need a NG thread for D users to come and ask for
new libraries/bindings.
Express your needs! Here are mines.
1. A windowing library to replace some of SDL usage. Some
programs like audio plugins are usually done without any
dependent dynamic library. It could also make one less
On Wednesday, 22 October 2014 at 07:46:18 UTC, bearophile wrote:
Ola Fosheim Grøstad:
I also want to see string mixins removed from phobos. It is a
very ugly feature.
What are your problems with those strings?
1. Source level analysis: Hard to write programs that transform
source.
2. Easy
Am Wed, 22 Oct 2014 06:26:56 +
schrieb "John A" :
> > Next step for me, is to create a small opengl test app:
> > - does it cross-compile (on Ubunutu)?
> > - does it run in QEMU?
> > - does it run on a Pandaboard?
>
> Here's the result:
> DerelictGL3 and DerelictUtil cross-compiles ok with no
Ola Fosheim Grøstad:
I think the overrated C++ standard library has influenced
phobos too much.
I agree.
I also want to see string mixins removed from phobos. It is a
very ugly feature.
What are your problems with those strings?
Bye,
bearophile
On Wednesday, October 22, 2014 06:59:02 Jakob Ovrum via Digitalmars-d wrote:
> On Wednesday, 22 October 2014 at 06:42:06 UTC, Ali Çehreli wrote:
> > On 10/21/2014 11:06 PM, thedeemon wrote:
> >> A[B] freshCleanAA;
> >> aa = freshCleanAA;
> >>
> >> (where A[B] denotes the type of aa)
> >> Th
On Tuesday, 21 October 2014 at 03:25:55 UTC, rst256 wrote:
On Monday, 20 October 2014 at 20:36:58 UTC, eles wrote:
On Saturday, 18 October 2014 at 17:40:43 UTC, Walter Bright
wrote:
On 10/18/2014 8:21 AM, Jacob Carlborg wrote:
On 2014-10-18 07:09, Walter Bright wrote:
Its linking time.
No
On Wednesday, 22 October 2014 at 06:42:06 UTC, Ali Çehreli wrote:
On 10/21/2014 11:06 PM, thedeemon wrote:
A[B] freshCleanAA;
aa = freshCleanAA;
(where A[B] denotes the type of aa)
That's it!
Alternative:
A[B] aa;
aa = aa.init;
Ali
`aa.init` is just `null`, which illustra
46 matches
Mail list logo