On Tue, 27 May 2014 22:40:00 +0100, Walter Bright
newshou...@digitalmars.com wrote:
On 5/27/2014 2:22 PM, w0rp wrote:
I'm actually a native speaker of 25 years and I didn't get it at first.
Natural
language communicates ideas approximately.
What bugs me is when people say:
I could
On Thu, 29 May 2014 20:40:10 +0100, Walter Bright
newshou...@digitalmars.com wrote:
On 5/29/2014 11:25 AM, Dmitry Olshansky wrote:
Agreed. The simple dream of automatically decoding UTF and staying
Unicode
correct is a failure.
Yes. Attempting to hide the fact that strings are UTF-8 is
Walter Bright newshou...@digitalmars.com wrote in message
news:lm5924$7r8$1...@digitalmars.com...
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
26.05.2014 23:08, Andre пишет:
On Saturday, 24 May 2014 at 07:20:49 UTC, Denis Shelomovskij
wrote:
20.05.2014 17:46, FrankLike пишет:
DGui need some other controls,such as
imageButton,DataView,GridViewe.t.c.
There is no plan to add new controls and I don't see any lacking ones.
One can
On 5/29/14, 9:21 PM, Jesse Phillips wrote:
On Wednesday, 28 May 2014 at 07:21:56 UTC, dennis luehring wrote:
woudl be nice to have some sort of example by example comparison
or as an extension to the page http://dlang.org/cpptod.html
I've got two posts complete[1]. Since C++ and D are exactly
On 5/30/14, 3:53 AM, Andrei Alexandrescu wrote:
On 5/29/14, 9:21 PM, Jesse Phillips wrote:
On Wednesday, 28 May 2014 at 07:21:56 UTC, dennis luehring wrote:
woudl be nice to have some sort of example by example comparison
or as an extension to the page http://dlang.org/cpptod.html
I've got
On Friday, 30 May 2014 at 09:07:54 UTC, Mike James wrote:
Walter Bright newshou...@digitalmars.com wrote in message
news:lm5924$7r8$1...@digitalmars.com...
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
On Friday, 30 May 2014 at 04:21:18 UTC, Jesse Phillips wrote:
1. http://he-the-great.livejournal.com/52333.html
Note that in the following code:
import core.memory : GC;
int* pxprime = cast(int*)GC.malloc(int.sizeof);
version(none) assert(pxprime); // possibly zero
GC.malloc
I received my copy this morning, earlier than I thought I would.
I shall check it out over the weekend. I suspect I'll probably
know a lot of the things in the book, but I'm the type who likes
to watch introductory lectures because there's always something I
didn't see before.
On Friday, 30 May 2014 at 11:46:35 UTC, w0rp wrote:
I received my copy this morning, earlier than I thought I
would. I shall check it out over the weekend. I suspect I'll
probably know a lot of the things in the book, but I'm the type
who likes to watch introductory lectures because there's
On Thu, 29 May 2014 21:15:21 -0400, deadalnix deadal...@gmail.com wrote:
On Thursday, 29 May 2014 at 19:06:15 UTC, Steven Schveighoffer
wrote:
Static if is certainly NOT an attribute, it doesn't make any sense.
Well... it sorta does. static if does not introduce a new scope, even
with {},
On Friday, 30 May 2014 at 11:25:45 UTC, Chris wrote:
If you already know D, you don't need to read it
cover-to-cover. Just read the sexy bits :)
Yea, I also tried to keep the dependencies on previous content to
a minimum or at the least, explicit to make jumping around that
much easier.
On Friday, 30 May 2014 at 11:46:35 UTC, w0rp wrote:
I received my copy this morning, earlier than I thought I would.
I still haven't gotten my copies! Hopefully will be here today
though.
I suspect I'll probably know a lot of the things in the book
Yea, especially if you're a regular on
On Friday, 30 May 2014 at 13:25:28 UTC, Adam D. Ruppe wrote:
On Friday, 30 May 2014 at 11:25:45 UTC, Chris wrote:
If you already know D, you don't need to read it
cover-to-cover. Just read the sexy bits :)
Yea, I also tried to keep the dependencies on previous content
to a minimum or at the
On Friday, 30 May 2014 at 10:56:30 UTC, Andrei Alexandrescu wrote:
Nice! I'll post it tomorrow on reddit and friends. You have an
unmatched
brace after assert(a2[].all!(x = x == 0));.
Andrei
Actually a bunch of unmatched braces (formatter eats the
closing one?) and at least one ;; instead
On Friday, 30 May 2014 at 11:31:18 UTC, safety0ff wrote:
On Friday, 30 May 2014 at 04:21:18 UTC, Jesse Phillips wrote:
1. http://he-the-great.livejournal.com/52333.html
Note that in the following code:
import core.memory : GC;
int* pxprime = cast(int*)GC.malloc(int.sizeof);
Hi,
In the opening of your keynote you mentioned the need of
redesigning dlang.org. I'm more of a webdesigner than programmer
so maybe I can lend a hand here. Is there a place where this is
being discussed?
On 5/30/14, 8:16 AM, florin wrote:
Hi,
In the opening of your keynote you mentioned the need of redesigning
dlang.org. I'm more of a webdesigner than programmer so maybe I can lend
a hand here. Is there a place where this is being discussed?
Here's the thread where this was recently discussed
Thanks David,
I will get the time to read that thread and I'll reply over there.
Florin
On Friday, 30 May 2014 at 15:25:17 UTC, David Gileadi wrote:
Here's the thread where this was recently discussed (with a
proposed design):
On 5/29/14, 9:21 PM, Jesse Phillips wrote:
On Wednesday, 28 May 2014 at 07:21:56 UTC, dennis luehring wrote:
woudl be nice to have some sort of example by example comparison
or as an extension to the page http://dlang.org/cpptod.html
I've got two posts complete[1]. Since C++ and D are exactly
On Fri, 30 May 2014 11:48:56 +
Chris via Digitalmars-d-announce digitalmars-d-announce@puremagic.com
wrote:
On Friday, 30 May 2014 at 11:46:35 UTC, w0rp wrote:
I received my copy this morning, earlier than I thought I
would. I shall check it out over the weekend. I suspect I'll
Walter Bright wrote:
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
http://www.reddit.com/r/programming/comments/26pn00/d_cookbook_officially_published_consists_of_d/
After watching Adam's most
On 30/05/2014 3:53 a.m., Tom Browder via Digitalmars-d wrote:
Has anyone done a survey of the primary OS of D users?
I (a D newbie) use Debian Linux (64-bit), but I get the feeling that
many (if not most) users are on some version of Windows.
Thanks.
Best regards,
-Tom
Windows 7 for host
On Thu, 29 May 2014 06:30:05 +
Vladimir Panteleev via Digitalmars-d digitalmars-d@puremagic.com
wrote:
On Wednesday, 28 May 2014 at 22:48:22 UTC, Jonathan M Davis via
Digitalmars-d wrote:
Please configure your email client to include a text/plain part.
Your messages are unreadable to
On Thursday, 29 May 2014 at 07:08:06 UTC, w0rp wrote:
You could possibly take the HTML and generate plaintext from
that by removing tags, replacing unordered lists with *
characters, and so on. That's how a lot of mail clients do it
when people write their emails with a wysiwyg editor.
Yes,
Am Thu, 29 May 2014 20:10:13 +
schrieb John Colvin john.loughran.col...@gmail.com:
On Thursday, 29 May 2014 at 20:01:25 UTC, Tobias Pankrath wrote:
On Thursday, 29 May 2014 at 15:32:54 UTC, Wanderer wrote:
I don't see any valid alternatives. What should ideally happen
if you increment
On Friday, 30 May 2014 at 06:14:15 UTC, Jonathan M Davis via
Digitalmars-d wrote:
Yeah, sorry about that. The web interface that I'm forced to
use for e-mail
when I'm at work just got changed, and it screwed with my
settings - and
clearly in a very nasty way. It should be fixed now though.
Am Sat, 24 May 2014 21:32:04 +0200
schrieb Sönke Ludwig slud...@rejectedsoftware.com:
* It may also be a good step to solve the chicken-egg issue here, where
the argument is that because SDL isn't so common, it shouldn't be used.
I think it's a really nice little format that deserves to get
On Friday, 30 May 2014 at 05:10:31 UTC, Andrei Alexandrescu wrote:
On 5/28/14, 10:28 AM, Dicebot wrote:
I'd love to see Andrei comment about it to either update its
status or remove from review queue.
I will work on it but std.allocator takes precedence. If anyone
is in a hurry, please take
Arch Linux 64-bit.
On Thursday, 29 May 2014 at 18:24:57 UTC, Tom Browder via
Digitalmars-d wrote:
Has anyone done a survey of the primary OS of D users?
I (a D newbie) use Debian Linux (64-bit), but I get the feeling
that
many (if not most) users are on some version of Windows.
Thanks.
I tried modifying the runtime but unfortunately vibe.d doesn't
compile with the latest dmd. I don't feel like fixing it or
figuring out how to compile gdc either. As mentioned later, I
wouldn't be able to claim to beat Java, but I would be able to
see how much faster it would go without the lock,
Arch Linux x86_64
On Thursday, 29 May 2014 at 18:24:57 UTC, Tom Browder via
Digitalmars-d wrote:
Has anyone done a survey of the primary OS of D users?
I (a D newbie) use Debian Linux (64-bit), but I get the feeling
that
many (if not most) users are on some version of Windows.
Thanks.
On Thu, 2014-05-29 at 22:07 -0700, Andrei Alexandrescu via Digitalmars-d
wrote:
[…]
It was a solid review cycle that prompted good things to fix and
improve. std.benchmark will be part of std iff we make it so. -- Andrei
Clearly the data about the things is in the email thread, but might it
be
On 05/29/2014 05:53 PM, Tom Browder via Digitalmars-d wrote:
Has anyone done a survey of the primary OS of D users?
I (a D newbie) use Debian Linux (64-bit), but I get the feeling that
many (if not most) users are on some version of Windows.
Thanks.
Best regards,
-Tom
Arch Linux
I use Ubuntu 64-bit for my personal use, but my bread winner is
always Windows.
Though I use both Windows 64-bit and 32-bit, I wouldn't shed a
tear if the 32-bit support is neglected or dropped entirely.
On 29.05.2014 12:09, Atila Neves wrote:
The GC is preventing me from beating Java, but not because of
collections. It's the locking it does to allocate instead! I
don't know about the rest of you but I definitely didn't see that
one coming.
A lock should not be more than a CAS operation
El 29/05/14 17:53, Tom Browder via Digitalmars-d ha escrit:
Has anyone done a survey of the primary OS of D users?
I (a D newbie) use Debian Linux (64-bit), but I get the feeling that
many (if not most) users are on some version of Windows.
Linux Mint Debian Edition (64-bit)
--
Jordi
Linux 64bits here also.
In fact, contrary to the OP belief, it's mainly a Linux crowd here.
People using Windows regularly complain about it, saying we don't see
the way some tools are missing or not working as well on Windows.
Windows 7 x64
On Friday, 30 May 2014 at 07:00:58 UTC, Marco Leise wrote:
Am Thu, 29 May 2014 20:10:13 +
schrieb John Colvin john.loughran.col...@gmail.com:
On Thursday, 29 May 2014 at 20:01:25 UTC, Tobias Pankrath
wrote:
On Thursday, 29 May 2014 at 15:32:54 UTC, Wanderer wrote:
I don't see any valid
On 29/05/2014 4:53 PM, Tom Browder via Digitalmars-d wrote:
Has anyone done a survey of the primary OS of D users?
Win7 64bit
A...
On 2014-05-30 00:13, Kiith-Sa wrote:
Or if you're working on tools, don't
make them for $OS, make them cross-platform. (I boycott
non-crossplatform tools
by default)
That's not so easy, depending on what you're doing. Some things are done
in completely different ways depending on the
On 2014-05-29 17:53, Tom Browder via Digitalmars-d wrote:
Has anyone done a survey of the primary OS of D users?
I (a D newbie) use Debian Linux (64-bit), but I get the feeling that
many (if not most) users are on some version of Windows.
OS X.
--
/Jacob Carlborg
Am Fri, 30 May 2014 10:29:58 +0200
schrieb Rainer Schuetze r.sagita...@gmx.de:
On 29.05.2014 12:09, Atila Neves wrote:
The GC is preventing me from beating Java, but not because of
collections. It's the locking it does to allocate instead! I
don't know about the rest of you but I
On 05/30/2014 10:52 AM, Philippe Sigaud via Digitalmars-d wrote:
Linux 64bits here also.
In fact, contrary to the OP belief, it's mainly a Linux crowd here.
People using Windows regularly complain about it, saying we don't see
the way some tools are missing or not working as well on Windows.
On Thursday, 29 May 2014 at 19:41:48 UTC, Wyatt wrote:
On Thursday, 29 May 2014 at 19:15:29 UTC, ponce wrote:
Now you have another problem, how do you know that something
looks good from a design point of view for inclusion in
std.experimental? Reviews like for Phobos inclusion?
Especially
On the topic of perf, I found a stupid trick the other day and
wrote it down on the wiki: http://wiki.dlang.org/Perf
Great tip!
Now I want bash completion for it. But I can't seem to get it by
reusing _kill in bash-completion:
On Friday, 30 May 2014 at 05:20:57 UTC, Andrei Alexandrescu wrote:
Also please don't analyze this to death. It's meant to reduce
friction, not increase this.
I'm not sure whether your comment was just targeted at the naming
discussions, but in general, I find it very valid to discuss the
On 5/30/14, 3:35 AM, David Nadlinger wrote:
Personally, I rather like the idea of std.experimental being a staging
area for libraries that already passed some initial round of review (be
it in the form of a dub package or otherwise) to get more widespread
attention before being set in stone.
Existing GC code: 15700ms (average)
My GC code: 500ms (Average)
This sounds almost to good to be true!
What remains to be fixed before a pull request can be made?
/Per
On Friday, 30 May 2014 at 10:35:57 UTC, David Nadlinger wrote:
On Friday, 30 May 2014 at 05:20:57 UTC, Andrei Alexandrescu
wrote:
Also please don't analyze this to death. It's meant to reduce
friction, not increase this.
I'm not sure whether your comment was just targeted at the
naming
On Thursday, 29 May 2014 at 18:24:57 UTC, Tom Browder via
Digitalmars-d wrote:
Has anyone done a survey of the primary OS of D users?
I (a D newbie) use Debian Linux (64-bit), but I get the feeling
that
many (if not most) users are on some version of Windows.
Thanks.
Best regards,
-Tom
On Friday, 30 May 2014 at 09:25:40 UTC, Jacob Carlborg wrote:
On 2014-05-30 00:13, Kiith-Sa wrote:
Or if you're working on tools, don't
make them for $OS, make them cross-platform. (I boycott
non-crossplatform tools
by default)
That's not so easy, depending on what you're doing. Some things
On 29/05/2014 23:13, Kiith-Sa wrote:
But seriously, why does this question keep coming up every few months?
Every few months? When was the last time such as survey was made? I
don't remember it.
--
Bruno Medeiros
https://twitter.com/brunodomedeiros
On Friday, 30 May 2014 at 08:53:16 UTC, Philippe Sigaud via
Digitalmars-d wrote:
People using Windows regularly complain about it
I see no issue with that. If people don't like the way some
modules integrate with OS, they write their own, but pure D code
works just fine.
Reading through Adam's book at home made me think about how much
time I've spent reading / learning / thinking about programs
outside the office. I read TDPL in my spare time. I checked out
things in the D Cookbook in my spare time and applied them the
next day, like loads of other things
On 29/05/2014 16:53, Tom Browder via Digitalmars-d wrote:
Has anyone done a survey of the primary OS of D users?
I (a D newbie) use Debian Linux (64-bit), but I get the feeling that
many (if not most) users are on some version of Windows.
Thanks.
Best regards,
-Tom
Windows 7 x64
Actually such instructions exist since MMX on Intel CPUs. The
question is: Can these new SSE instructions replace integer
math seemlessly?
My opinion is no. When you increment an integer value (any
value), you at least expect its lower bit to change. All
cryptographic algorithms would crash
On Friday, 30 May 2014 at 11:35:19 UTC, Chris wrote:
Are we mad or just passionate?
Yes.
On Friday, 30 May 2014 at 10:45:14 UTC, Nordlöw wrote:
Existing GC code: 15700ms (average)
My GC code: 500ms (Average)
This sounds almost to good to be true!
For allocations of less than 128 bytes, each thread
is allocated memory from it's own memory pool to avoid
false sharing on the
On Friday, 30 May 2014 at 13:27:10 UTC, Bruno Medeiros wrote:
On 29/05/2014 22:12, Dicebot wrote:
When similar question was asked during one of DConf talks vast
majority
raised their hands as Linux users ;)
It is not that surprising considering D currently is most
mature for all
kinds of
I made the following performance test, which adds 10^9 Double’s
on Linux with the latest dmd compiler in the Eclipse IDE and with
the Gdc-Compiler also on Linux. Then the same test was done with
C++ on Linux and with Scala in the Java ecosystem on Linux. All
the testing was done on the same
On Thursday, 29 May 2014 at 18:24:57 UTC, Tom Browder via
Digitalmars-d wrote:
Has anyone done a survey of the primary OS of D users?
I (a D newbie) use Debian Linux (64-bit), but I get the feeling
that
many (if not most) users are on some version of Windows.
Thanks.
Best regards,
-Tom
On Friday, 30 May 2014 at 13:35:59 UTC, Thomas wrote:
return (format(%s %f,plus\nLast: , sum) );
I haven't actually run this but my guess is that the format
function is the slowish thing here. Did you create a new string
in the C version too?
gdc ./source/perf/testperf.d -frelease -o
On Friday, 30 May 2014 at 13:37:47 UTC, Dicebot wrote:
On Friday, 30 May 2014 at 13:27:10 UTC, Bruno Medeiros wrote:
On 29/05/2014 22:12, Dicebot wrote:
When similar question was asked during one of DConf talks
vast majority
raised their hands as Linux users ;)
It is not that surprising
On Friday, 30 May 2014 at 13:37:47 UTC, Dicebot wrote:
On Friday, 30 May 2014 at 13:27:10 UTC, Bruno Medeiros wrote:
On 29/05/2014 22:12, Dicebot wrote:
When similar question was asked during one of DConf talks
vast majority
raised their hands as Linux users ;)
It is not that surprising
On Friday, 30 May 2014 at 13:35:59 UTC, Thomas wrote:
I made the following performance test, which adds 10^9 Double’s
on Linux with the latest dmd compiler in the Eclipse IDE and
with the Gdc-Compiler also on Linux. Then the same test was
done with C++ on Linux and with Scala in the Java
On Friday, 30 May 2014 at 13:35:59 UTC, Thomas wrote:
I made the following performance test, which adds 10^9 Double’s
on Linux with the latest dmd compiler in the Eclipse IDE and
with the Gdc-Compiler also on Linux. Then the same test was
done with C++ on Linux and with Scala in the Java
On Friday, 30 May 2014 at 13:37:47 UTC, Dicebot wrote:
Also native platform tools being open-source greatly helps in
building D ones on top.
Source code as a documentation? Yeah, been there, done that.
On Friday, 30 May 2014 at 11:35:19 UTC, Chris wrote:
The issue is that most employers don't really appreciate this.
Your employer doesn't appreciate professional growth?
On Friday, 30 May 2014 at 14:26:46 UTC, Kagamin wrote:
On Friday, 30 May 2014 at 11:35:19 UTC, Chris wrote:
The issue is that most employers don't really appreciate this.
Your employer doesn't appreciate professional growth?
My point was that they are not aware of the fact that we spend a
On Friday, 30 May 2014 at 14:31:26 UTC, Chris wrote:
On Friday, 30 May 2014 at 14:26:46 UTC, Kagamin wrote:
On Friday, 30 May 2014 at 11:35:19 UTC, Chris wrote:
The issue is that most employers don't really appreciate this.
Your employer doesn't appreciate professional growth?
My point was
double plus(in uint nSteps) pure nothrow @safe /*@nogc*/ {
enum double p0 = 0.0045;
enum double p1 = 1.00045452-p0;
double tot = 1.346346;
auto b = true;
foreach (immutable i; 0 .. nSteps) {
final switch (b) {
case true:
tot += p0;
On Friday, 30 May 2014 at 14:07:23 UTC, Chris wrote:
Do you have a link to Walter's article? Thanks.
I remember reading it on Dr. Dobbs but don't see it right now in
Walters article list :(
Chris:
My point was that they are not aware of the fact that we spend
a lot of our spare time learning and improving things.
Every programmer worth the job (and even most that are not worth
it) uses some time every day or every week to learn. The employer
should be aware of this. Otherwise
This C++ code:
double plus(const unsigned int nSteps) {
const double p0 = 0.0045;
const double p1 = 1.00045452-p0;
double tot = 1.346346;
bool b = true;
for (unsigned int i = 0; i nSteps; i++) {
switch (b) {
case true:
tot += p0;
On 2014-05-30 7:35 AM, Chris wrote:
Reading through Adam's book at home made me think about how much time
I've spent reading / learning / thinking about programs outside the
office. I read TDPL in my spare time. I checked out things in the D
Cookbook in my spare time and applied them the next
Am Tue, 13 May 2014 13:38:43 -0400
schrieb Etienne etci...@gmail.com:
Also, nothing says a thread pool won't be in the works if it becomes
necessary.
Besides that JavaScript is single-threaded. That could be a
bit of a show stopper.
--
Marco
On Friday, 30 May 2014 at 14:35:45 UTC, bearophile wrote:
Chris:
My point was that they are not aware of the fact that we spend
a lot of our spare time learning and improving things.
Every programmer worth the job (and even most that are not
worth it) uses some time every day or every week
I've actually been doing a lot less programming lately than I
used to. Even though programming is my day job, I actually write
pretty little code; I think I spend more time in meetings talking
about direction (or worse yet, reading third party docs, ugh*)
than I do actually coding.
*
On Friday, 30 May 2014 at 14:45:22 UTC, Etienne wrote:
On 2014-05-30 7:35 AM, Chris wrote:
Reading through Adam's book at home made me think about how
much time
I've spent reading / learning / thinking about programs
outside the
office. I read TDPL in my spare time. I checked out things in
On Friday, 30 May 2014 at 14:56:49 UTC, Adam D. Ruppe wrote:
I've actually been doing a lot less programming lately than I
used to. Even though programming is my day job, I actually
write pretty little code; I think I spend more time in meetings
talking about direction (or worse yet, reading
On 2014-05-30 10:56 AM, Adam D. Ruppe wrote:
I kinda want to get back into writing stuff on my spare time, especially
now that the book is done, but eh, I'm just so lazy and if given the
choice to, for example, go clean up the side of the road with the
missionaries or sitting here reading more
On Friday, 30 May 2014 at 14:49:09 UTC, Marco Leise wrote:
Besides that JavaScript is single-threaded. That could be a
bit of a show stopper.
I think the most promising idea is to support PNACL+JS. If you
can write a whole app in only one language and keep the GC high
level stuff in
On Fri, 2014-05-30 at 13:35 +, Thomas via Digitalmars-d wrote:
I made the following performance test, which adds 10^9 Double’s
on Linux with the latest dmd compiler in the Eclipse IDE and with
the Gdc-Compiler also on Linux. Then the same test was done with
C++ on Linux and with Scala
On Friday, 30 May 2014 at 15:09:00 UTC, Chris wrote:
Plus, if there's a bug, you're stuck. I like to re-invent the
wheel too, because existing wheels might not be fit for your
purpose.
Aye. But I don't like the term reinvent the wheel because
writing new code isn't really an invention most
On Friday, 30 May 2014 at 15:26:00 UTC, Adam D. Ruppe wrote:
On Friday, 30 May 2014 at 15:09:00 UTC, Chris wrote:
Plus, if there's a bug, you're stuck. I like to re-invent the
wheel too, because existing wheels might not be fit for your
purpose.
Aye. But I don't like the term reinvent the
On Friday, 30 May 2014 at 09:46:10 UTC, Marco Leise wrote:
simplicity. But as soon as I added a single CAS I was already
over the time that TCMalloc needs. That way I learned that CAS
is not as cheap as it looks and the fastest allocators work
thread local as long as possible.
22 cycles
On Thu, 29 May 2014 23:11:25 -0400, Puming zhaopum...@gmail.com wrote:
On Thursday, 29 May 2014 at 20:44:43 UTC, Dicebot wrote:
I'd love to see command-line flag that enables garbage collection in
compiler (disabled by default). It does not matter how fast compiler is
if it crashes on big
On 5/30/2014 9:30 AM, bearophile wrote:
double plus(in uint nSteps) pure nothrow @safe /*@nogc*/ {
enum double p0 = 0.0045;
enum double p1 = 1.00045452-p0;
double tot = 1.346346;
auto b = true;
foreach (immutable i; 0 .. nSteps) {
final switch (b) {
case
This is also one of many good reasons to not make allocators
library based, but do it in the compiler and backend. That also
allows you do allocate multiple objects in a single CAS. (i.e.
the compiler collects multiple allocs calls and replace it with
one)
On Friday, 30 May 2014 at 14:45:22 UTC, Etienne wrote:
On 2014-05-30 7:35 AM, Chris wrote:
Reading through Adam's book at home made me think about how
much time
I've spent reading / learning / thinking about programs
outside the
office. I read TDPL in my spare time. I checked out things in
On Thu, 29 May 2014 20:27:00 -0400, Marco Leise marco.le...@gmx.de wrote:
Am Thu, 29 May 2014 18:35:49 +0200
schrieb Joseph Rushton Wakeling via Digitalmars-d
digitalmars-d@puremagic.com:
On 29/05/14 16:47, Steven Schveighoffer via Digitalmars-d wrote:
javax was the experimental branch for
On Friday, 30 May 2014 at 05:45:52 UTC, Andrei Alexandrescu wrote:
Thing is the allocation patterns in D and Java are mightily
different. Java does need a good GC because it allocates
everywhere for everything. I think we need to come up with our
own measurements and statistics when it comes
On Fri, May 30, 2014 at 02:37:28PM +, Dicebot via Digitalmars-d wrote:
On Friday, 30 May 2014 at 14:07:23 UTC, Chris wrote:
Do you have a link to Walter's article? Thanks.
I remember reading it on Dr. Dobbs but don't see it right now in
Walters article list :(
Is it this one?
On 5/30/14, 12:08 PM, Chris wrote:
On Friday, 30 May 2014 at 14:56:49 UTC, Adam D. Ruppe wrote:
I've actually been doing a lot less programming lately than I used to.
Even though programming is my day job, I actually write pretty little
code; I think I spend more time in meetings talking about
On Fri, May 30, 2014 at 03:25:59PM +, Adam D. Ruppe via Digitalmars-d wrote:
On Friday, 30 May 2014 at 15:09:00 UTC, Chris wrote:
Plus, if there's a bug, you're stuck. I like to re-invent the wheel
too, because existing wheels might not be fit for your purpose.
That's why I swore off
On Fri, May 30, 2014 at 12:06:34PM -0400, Steven Schveighoffer via
Digitalmars-d wrote:
[...]
By saying up front this is experimental, expect breakage, the policy
is clear, and complaints are shrugged off, nobody has anyone to blame
but themselves.
You may argue Yeah, but javax was supposed
On Friday, 30 May 2014 at 01:39:26 UTC, Jonathan M Davis via
Digitalmars-d wrote:
On Thu, 29 May 2014 20:55:32 +
Dicebot via Digitalmars-d digitalmars-d@puremagic.com wrote:
I have discussed this with Andrei shortly after he has merged
PR
that adds `std.experimental` to Phobos. Looks like
On Fri, 30 May 2014 07:02:33 +
francesco cattoglio via Digitalmars-d digitalmars-d@puremagic.com
wrote:
On Friday, 30 May 2014 at 06:14:15 UTC, Jonathan M Davis via
Digitalmars-d wrote:
Yeah, sorry about that. The web interface that I'm forced to
use for e-mail
when I'm at work just
1 - 100 of 192 matches
Mail list logo