On 03/04/2017 02:29 AM, Joakim wrote:
I recently ported this small C++/OpenGL ES 2.0 Android app to D, just
finished fixing the last bug I know of:
[...]
Obviously not a bigger project like you had in mind, but just thought
I'd mention this one.
Actually, that's very cool, particularly since i
On Saturday, 4 March 2017 at 07:09:17 UTC, Nick Sabalausky
(Abscissa) wrote:
Just a thought for boosting D's street cred:
Perhaps...take a worthwhile C/C++ project with real potential,
fork it, and port it to D. And make a real commitment to
maintaining it. Obviously a bit of a gambit, granted
Just a thought for boosting D's street cred:
Perhaps...take a worthwhile C/C++ project with real potential, fork it,
and port it to D. And make a real commitment to maintaining it.
Obviously a bit of a gambit, granted, but the potential payout is
improving a worthwhile tool's maintainability w
On Friday, 3 March 2017 at 18:28:50 UTC, Nick Sabalausky
(Abscissa) wrote:
startpage.com is another way to get clean (or at least
clean-ish) results. Although, it's conceivable (probable?) it's
really giving out results based on a "user" that's really an
aggregate of startpage.com's users.
I'
Having taken a bit of time to get more familiar with Rust I
wondered if we could have something like Rust's algebraic result
type[1] using Phobos' Algebraic template and started to
experiment:
--- Usage
enum DivisionError
{
ZeroDivisor
}
Result!(int, DivisionError) divide(int dividend, in
On 3/3/17 10:16 AM, Kagamin wrote:
Nitpick: object.d is for symbols visible to user code, but it's not
necessary to provide these helper functions to used code, so they should
be in a different module known to the compiler.
Fundamentally the code resulting from lowering must be in the standard
On 3/3/17 6:27 PM, deadalnix wrote:
On Friday, 3 March 2017 at 18:47:53 UTC, H. S. Teoh wrote:
Actually, I just tested on a freshly-cloned copy of
dmd/druntime/phobos, it seems that building on Debian does work.
Digging into the git log, it appears that commit 78cd023 *should* have
added -fPIC t
On Friday, 3 March 2017 at 22:35:15 UTC, Johan Engelen wrote:
Clang without/with optimizations turned on:
❯ clang++ float.cpp && ./a.out
1.0011920928955078125
❯ clang++ float.cpp -O3 && ./a.out
1
-Johan
GCC with optimizations turned on:
$ g++ float.cpp -O3 -frounding-math && ./a.out
1.000
On Friday, 3 March 2017 at 18:47:53 UTC, H. S. Teoh wrote:
Actually, I just tested on a freshly-cloned copy of
dmd/druntime/phobos, it seems that building on Debian does
work. Digging into the git log, it appears that commit 78cd023
*should* have added -fPIC to the makefiles.
So how come it's
On Friday, 3 March 2017 at 22:35:15 UTC, Johan Engelen wrote:
Clang without/with optimizations turned on:
❯ clang++ float.cpp && ./a.out
1.0011920928955078125
❯ clang++ float.cpp -O3 && ./a.out
1
-Johan
Thx Johan I should have checked... My point is moot then.
--
"welcome to the magician
On Friday, 3 March 2017 at 18:11:29 UTC, deadalnix wrote:
https://issues.dlang.org/show_bug.cgi?id=17236
Coming to you on ubuntu soon.
I started a new Docker instance and tried this:
```
docker run -i -t ubuntu:16.10 /bin/bash
apt-get update
apt-get install git curl gcc g++ unzip
git clone ht
On Friday, 3 March 2017 at 09:31:19 UTC, Guillaume Chatelet wrote:
Considering the floating point operations have a runtime
component, it seems to me that constant folding is not allowed
to occur in the first example. For example, it does not occur
in the following C++ snippet:
---
#include
On Friday, 3 March 2017 at 18:11:29 UTC, deadalnix wrote:
https://issues.dlang.org/show_bug.cgi?id=17236
Coming to you on ubuntu soon.
I'm pretty sure that would still work with LDC. So not exactly
"nothing". ;)
– David
On Fri, Mar 03, 2017 at 07:49:06PM +, Jared Jeffries via Digitalmars-d
wrote:
> > Yeah. I am actually skeptical of the whole GUI koolaid. I'm pretty
> > sure having a GUI is not a necessity to implementing the equivalent
> > functionality of an IDE in a text-mode editor.
>
> Personally I'm
Yeah. I am actually skeptical of the whole GUI koolaid. I'm
pretty sure having a GUI is not a necessity to implementing the
equivalent functionality of an IDE in a text-mode editor.
Personally I'm using a mix of Geany, Coedit and Code::Blocks for
D development, depending on what I'm doing on
On 2017-03-03 16:16, Kagamin wrote:
Nitpick: object.d is for symbols visible to user code, but it's not
necessary to provide these helper functions to used code, so they should
be in a different module known to the compiler.
Exactly https://github.com/dlang/druntime/pull/1781#issuecomment-28390
On Thursday, 2 March 2017 at 15:32:26 UTC, bachmeier wrote:
I spend my days working with graduate students in economics
departments. They have to program for their research, but most
of them have never taken a programming class. I use RStudio
server. Students need only a browser to do fairly
On Fri, Mar 03, 2017 at 01:45:50PM -0500, Nick Sabalausky (Abscissa) via
Digitalmars-d wrote:
[...]
> But I do really wish though, that the IDE devs would start
> prioritizing efficiency, UI snappiness, and startup time. Yea, those
> toold do more, but they don't do THAT much more that would
> tec
On 03/03/2017 12:33 PM, H. S. Teoh via Digitalmars-d wrote:
Call me a non-conformist or whatever, but every
time I see too much hype surrounding something, my kneejerk reaction is
to be skeptical of it. I eschew all bandwagons.
Yea, I'm the same way. Not even a deliberate thing really, just m
On Fri, Mar 03, 2017 at 10:32:34AM -0800, H. S. Teoh via Digitalmars-d wrote:
> On Fri, Mar 03, 2017 at 06:11:29PM +, deadalnix via Digitalmars-d wrote:
> > https://issues.dlang.org/show_bug.cgi?id=17236
> >
> > Coming to you on ubuntu soon.
>
> I just built dmd/druntime/phobos on Debian, and
On 03/03/2017 10:40 AM, Russel Winder via Digitalmars-d wrote:
IDEs, vastly more supportive, useful software development functionality
than editors, especially for debugging, yes.
It's that last one, the one about getting working software developed
faster, that is the one that has moved me awa
On Fri, Mar 03, 2017 at 06:11:29PM +, deadalnix via Digitalmars-d wrote:
> https://issues.dlang.org/show_bug.cgi?id=17236
>
> Coming to you on ubuntu soon.
I just built dmd/druntime/phobos on Debian, and it works fine. But then
again, I'm using my -fPIC workaround, which has been officially
On 03/03/2017 04:50 AM, Andrej Mitrovic wrote:
On Friday, 3 March 2017 at 07:51:06 UTC, Ola Fosheim Grøstad wrote:
I get those same results when using my regular browser, but when using
another browser I get "ad lib" etc, nothing about programming.
You may be right. :)
I mistakenly thought th
https://issues.dlang.org/show_bug.cgi?id=17236
Coming to you on ubuntu soon.
On 03/03/2017 12:33 PM, H. S. Teoh via Digitalmars-d wrote:
Ahh, the memories!
(Please keep memories marked with [OT]. Thanks! -- Andrei)
On Thursday, 2 March 2017 at 18:45:23 UTC, Ali Çehreli wrote:
On 03/02/2017 07:46 AM, angel wrote:
>> Isn't it :C => :C++ => :D
>>
>> Much better than :C# of course.
>
>
> Your :C++ looks like someone throwing up.
> Well ... maybe this is intentional.
I like it more than "two band aids". :)
On Fri, Mar 03, 2017 at 08:06:00AM +, Ola Fosheim Grøstad via Digitalmars-d
wrote:
[...]
> The general public has become more ignorant. I guess to a large extent
> because of information overflow and the downfall of real journalism
> (e.g. the old payment model is failing which means media is
On Thu, Mar 02, 2017 at 07:12:07PM -0500, Nick Sabalausky (Abscissa) via
Digitalmars-d wrote:
> On 03/02/2017 10:32 AM, bachmeier wrote:
> >
> > I too learned to program using BASIC sometime in the mid-80's. The
>
> Ditto here (well, late 80's). AppleSoft Basic on Apple IIc.
Ahh, the memories!
On Friday, 3 March 2017 at 16:43:05 UTC, Kagamin wrote:
On Friday, 24 February 2017 at 19:19:57 UTC, Moritz Maxeiner
wrote:
*Then* you have to provide conclusive (or at the very least
hard to refute) proof that the reason that no one could break
them were the memory safety features; and then, *
On Friday, 3 March 2017 at 16:38:52 UTC, Kagamin wrote:
On Friday, 3 March 2017 at 02:11:38 UTC, Moritz Maxeiner wrote:
My major gripe, though, is still that people tend to create
"safe" wrappers around "unsafe" (mostly) C libraries, which
(in the sense of safety) doesn't really help me as a de
On Friday, 3 March 2017 at 02:48:46 UTC, Nick Sabalausky
(Abscissa) wrote:
On 03/02/2017 06:00 PM, Guillaume Piolat wrote:
On Friday, 24 February 2017 at 13:38:57 UTC, Moritz Maxeiner
wrote:
On Friday, 24 February 2017 at 06:59:16 UTC, Jack Stouffer
wrote:
https://bugs.chromium.org/p/project-z
On Friday, 24 February 2017 at 19:19:57 UTC, Moritz Maxeiner
wrote:
*Then* you have to provide conclusive (or at the very least
hard to refute) proof that the reason that no one could break
them were the memory safety features; and then, *finally*, you
can point to all the people *still not usi
On Friday, 3 March 2017 at 02:11:38 UTC, Moritz Maxeiner wrote:
My major gripe, though, is still that people tend to create
"safe" wrappers around "unsafe" (mostly) C libraries, which (in
the sense of safety) doesn't really help me as a developer at
all
Wrappers are needed because C libraries
On Friday, 24 February 2017 at 15:15:00 UTC, Ola Fosheim Grøstad
wrote:
If you don't want to max out performance you might as well
consider Go, Java, C#, Swift etc. I don't really buy into the
idea that a single language has to cover all bases.
Ewww, java? Why not COBOL?
On Friday, 24 February 2017 at 21:22:10 UTC, Ola Fosheim Grøstad
wrote:
I don't really buy that bullet-proof and under-performing
solutions is improving on system level programming. It is an
improvement for application level programming and performant
libraries.
Maybe, but most personal user
On Friday, 3 March 2017 at 02:48:46 UTC, Nick Sabalausky
(Abscissa) wrote:
I think it's safe enough to just go ahead and interpret it as
"...evidence that memory safety is important and SHOULD be the
direction we take."
In D you have less memory corruption than in C++, which in its
modern inc
On Friday, 24 February 2017 at 20:16:28 UTC, Timon Gehr wrote:
No. Worse. It turns failures into UB.
On the other hand disabled bounds check can result in buffer
overflow, which is already UB enough, so asserts turned into
assumes won't add anything new.
On Thu, 2017-03-02 at 15:02 -0500, Nick Sabalausky (Abscissa) via
Digitalmars-d wrote:
> […]
> I've used tools from JetBrains before. IMO, it should be easy for
> both
> vim and emacs to catch up to tools like JetBrains, Xamarin and such.
> All
> they need are a couple extensions to artificially
On Friday, 3 March 2017 at 09:22:31 UTC, Jacob Carlborg wrote:
On 2017-03-03 03:11, Moritz Maxeiner wrote:
[...]
TL/DR: I wish people would write more native libraries in safe
languages, but who has the time for that?
So we need operating systems and the core libraries to be built
from the g
Nitpick: object.d is for symbols visible to user code, but it's
not necessary to provide these helper functions to used code, so
they should be in a different module known to the compiler.
On 3/3/17 6:56 AM, Dukc wrote:
On Thursday, 2 March 2017 at 01:44:19 UTC, Andrei Alexandrescu wrote:
May be worth discussing in here:
https://issues.dlang.org/show_bug.cgi?id=17238 -- Andrei
Almost similar to this: https://github.com/dlang/phobos/pull/4027
Perhaps we should use that as base?
On 3/3/17 6:22 AM, Dukc wrote:
iota(5).lookAhead(1, 2)
should be iota(5).lookaround!(1, 2)
On Friday, 3 March 2017 at 11:22:52 UTC, kinke wrote:
I'm slightly annoyed by DPaste providing a single ancient LDC
version (0.12, 2.063 front-end...). I wouldn't mind as long as
it wouldn't boldly state `We provide always up-to-date
compilers collection!` and it wasn't the first result when
g
On Friday, 3 March 2017 at 11:56:26 UTC, Dukc wrote:
On Thursday, 2 March 2017 at 01:44:19 UTC, Andrei Alexandrescu
wrote:
May be worth discussing in here:
https://issues.dlang.org/show_bug.cgi?id=17238 -- Andrei
Almost similar to this:
https://github.com/dlang/phobos/pull/4027
Perhaps we s
On Thursday, 2 March 2017 at 01:44:19 UTC, Andrei Alexandrescu
wrote:
May be worth discussing in here:
https://issues.dlang.org/show_bug.cgi?id=17238 -- Andrei
Almost similar to this: https://github.com/dlang/phobos/pull/4027
Perhaps we should use that as base?
For dmd you can try: http://asm.dlang.org/
Dne 3. 3. 2017 12:27 napsal uživatel "kinke via Digitalmars-d" <
digitalmars-d@puremagic.com>:
> I'm slightly annoyed by DPaste providing a single ancient LDC version
> (0.12, 2.063 front-end...). I wouldn't mind as long as it wouldn't boldly
> state `We
On Friday, 3 March 2017 at 11:22:37 UTC, Dukc wrote:
[snip]
correction:
assert(iota(5).lookAhead(1, 2).array ==
[ [0, 1],
[0, 1, 2],
[0, 1, 2, 3],
[1, 2, 3, 4],
[2, 3, 4]
]);
I'm slightly annoyed by DPaste providing a single ancient LDC
version (0.12, 2.063 front-end...). I wouldn't mind as long as it
wouldn't boldly state `We provide always up-to-date compilers
collection!` and it wasn't the first result when googling for
"dlang online compiler" (I prefer d.godbolt
On Thursday, 2 March 2017 at 01:44:19 UTC, Andrei Alexandrescu
wrote:
May be worth discussing in here:
https://issues.dlang.org/show_bug.cgi?id=17238 -- Andrei
//My understanding of the concept, is this correct?
assert(iota(5).lookAhead(1, 2).array ==
[ [0, 1],
[0, 1, 2],
[0, 1, 2, 3]
On Friday, 3 March 2017 at 07:51:06 UTC, Ola Fosheim Grøstad
wrote:
I get those same results when using my regular browser, but
when using another browser I get "ad lib" etc, nothing about
programming.
You may be right. :)
I mistakenly thought the lack of cookies would be enough to get
clean
Context:
http://forum.dlang.org/post/qybweycrifqgtcsse...@forum.dlang.org
--- prints 1 ---
void main(string[] args)
{
import std.stdio;
import core.stdc.fenv;
fesetround(FE_UPWARD);
writefln("%.32g", 1.0f + float.min_normal);
}
---
--- prints 1.0011920928955078125 ---
void
On 3/2/2017 11:04 PM, Dukc wrote:
On Thursday, 2 March 2017 at 19:32:23 UTC, Andrei Alexandrescu wrote:
Worth a look: https://github.com/dlang/druntime/pull/1781. This moves
comparison code away from tedious runtime-introspected routines to nice
templates. -- Andrei
This means that if I don't
On 2017-03-03 03:11, Moritz Maxeiner wrote:
For what it's worth: I do hope memory safety becomes a common feature
and what languages like D and Rust do on that front is great (even
though both D's still heavily integrated GC as well as Rust's static
analysis have their downsides).
My major gripe
Slant does a pretty good job of providing a platform to these
opinionated questions.
https://www.slant.co/topics/25/viewpoints/11/~best-programming-language-to-learn-first~d
That's right.
Btw I've tested this simple "opinionated" search :
https://www.google.be/search?q=best+programming+langu
On Thursday, 2 March 2017 at 19:52:58 UTC, Nick Sabalausky
(Abscissa) wrote:
At some point there will be a resistance movement, forking one
of the
main browsers and building in collaborative blacklisting etc.
I hope, but I'm skeptical. Big business is definitely headed
very 1984, but that's h
55 matches
Mail list logo