Today I've found a good alternative to slow gcc's linker: gold.
Written by Google in C++ it's a linker writen for large code
bases with C++ in mind. The author claims it's about 5 times fast
than gcc's one. It does support ELF only and UNIX-like symtem I
think it's enough to dmd on linux or
On Saturday, 5 April 2014 at 22:30:28 UTC, Joakim wrote:
On Saturday, 5 April 2014 at 21:47:33 UTC, Asman01 wrote:
Today I've found a good alternative to slow gcc's linker:
gold. Written by Google in C++ it's a linker writen for large
code bases with C++ in mind. The author claims it's about
On Sunday, 6 April 2014 at 00:26:12 UTC, deadalnix wrote:
On Saturday, 5 April 2014 at 22:30:28 UTC, Joakim wrote:
Dmd already uses whatever the system linker is and on Arch
that's gold. The Android NDK also uses gold by default,
though they also provide the original bfd ld and a newer
On Tuesday, 1 April 2014 at 19:59:03 UTC, monnoroch wrote:
On Tuesday, 1 April 2014 at 19:51:25 UTC, Walter Bright wrote:
The D compiler has nowhere to search for nmr::initialize.
Oops, forgot, that it uses gcc to link...
Then maby nmr__initialize would be ok? I mean, nobody uses two
On Friday, 28 March 2014 at 11:15:36 UTC, bearophile wrote:
Walter Bright:
I've done this before.
The ecosystem changes (internet, wikis, IDEs, appear), and
programmers too change (many learn JavaScript as first
language, etc). So what's important is if a feature is good
today. Past
On Wednesday, 26 March 2014 at 05:24:42 UTC, Andrei Alexandrescu
wrote:
http://cmr.github.io/blog/2014/03/24/this-week-in-rust/
They mention what happened, who's contributing, and such. Would
love to see somebody in our community initiating something
similar.
Andrei
I like the idea. We
On Wednesday, 26 March 2014 at 05:45:27 UTC, ed wrote:
On Wednesday, 26 March 2014 at 05:24:42 UTC, Andrei
Alexandrescu wrote:
http://cmr.github.io/blog/2014/03/24/this-week-in-rust/
They mention what happened, who's contributing, and such.
Would love to see somebody in our community
On Tuesday, 25 March 2014 at 13:15:17 UTC, Timon Gehr wrote:
On 03/25/2014 02:08 PM, bearophile wrote:
Steve Teale:
The only place I have tended to use the comma operator is in
ternary
expressions
bool universal;
atq = whatever? 0: universal = true, 42;
I classify that as quite tricky
On Tuesday, 25 March 2014 at 15:14:09 UTC, Marc Schütz wrote:
On Tuesday, 25 March 2014 at 11:54:25 UTC, Daniel Murphy wrote:
I just introduced one in my own code:
if (s[0] != '/', s)
What is it supposed to do? Do you want to check that s is at
least 1 character long? Otherwise it's a NOP,
On Tuesday, 25 March 2014 at 17:33:20 UTC, Andrei Alexandrescu
wrote:
After the recent discussions regarding the comma operator, and
after inspecting the patterns of code affected by it, Walter
and I would back up the following change to the D language:
1. The comma operator stays with its
Not sure if this will be removed but I think it's a great news
and very interesting and obviously highly related to programming
language.
http://www.reddit.com/r/programming/comments/21bzzh/microsoft_makes_source_code_for_msdos_and_word/
On Tuesday, 25 March 2014 at 23:16:32 UTC, Andrei Alexandrescu
wrote:
On 3/25/14, 4:08 PM, H. S. Teoh wrote:
On Tue, Mar 25, 2014 at 12:45:26PM -0700, Andrei Alexandrescu
wrote:
On 3/25/14, 12:29 PM, captaindet wrote:
mwould this effect comma usage inside for-loops as well or
will this be
On Monday, 24 March 2014 at 22:30:45 UTC, Nick Sabalausky wrote:
On 3/23/2014 4:33 PM, Daniel Murphy wrote:
So a couple of years ago I had too much free time and wrote a
linker.
It's now on github: https://github.com/yebblies/ylink
Nifty!
I love this Pro:
- Usually produces working
On Monday, 24 March 2014 at 03:55:41 UTC, bearophile wrote:
This kind of code sometimes is wrong, because you forget to
cast x to double before the division and you lose precision
(but here the compiler knows that the result of the division
will go inside a double):
void main() {
int x
On Saturday, 22 March 2014 at 17:39:57 UTC, Tolga Cakiroglu wrote:
News:
http://venturebeat.com/2014/03/20/facebook-unveils-hack-a-faster-programming-language-to-power-the-social-network/
Language's Page:
http://hacklang.org/
I thought Facebook would be using D in the future.
Beautiful as
On Thursday, 7 March 2013 at 01:25:02 UTC, Walter Bright wrote:
Some months ago, I did make the source to optlink available on
github:
https://github.com/DigitalMars/optlink
Rainer Schuetze has improved it where it can be built with
modern tools (the older tools would not run on Win7). I
Very noob question about binary files. What else also put the
code to load at right address (say, 0x08048000 on linux) of
operating system is needed to a program run?
On Saturday, 9 March 2013 at 05:22:31 UTC, Jesse Phillips wrote:
On Thursday, 7 March 2013 at 15:53:09 UTC, Denis Shelomovskij
wrote:
Didn't get. You don't have to use D with druntime. Just don't
link it and everything will be OK - you will just get better
C (i.e. with D structs and other good
On Sunday, 23 March 2014 at 16:10:48 UTC, Daniel Murphy wrote:
Asman01 wrote in message
news:ucqujzetvkkxzelvj...@forum.dlang.org...
Very noob question about binary files. What else also put the
code to load at right address (say, 0x08048000 on linux) of
operating system is needed
On Sunday, 23 March 2014 at 20:56:45 UTC, Andrei Alexandrescu
wrote:
Discuss: https://github.com/D-Programming-Language/dmd/pull/3399
Andrei
Then things like this c = f(),b*c; became invalid? if so, yes. I
did a lot of C and never found this useful just unlike.
if (cond) exp1, exp2; // in most case, this is not a bug.
So, completely removing comma operator will cause negative
affect in
some cases.
Kenji Hara
In this case you should use { exp1; exp2; } There's two
expressions, so same number of ';' should appear and it make code
more
On Monday, 24 March 2014 at 02:12:20 UTC, Adam D. Ruppe wrote:
On Monday, 24 March 2014 at 01:48:15 UTC, Daniel Murphy wrote:
Try it on your code, you might be surprised!
hmm, I am surprised about one thing: it didn't detect a single
use of the comma operator in the ~10,000 lines of my code
On Monday, 24 March 2014 at 02:21:20 UTC, Kenji Hara wrote:
2014-03-24 10:38 GMT+09:00 Daniel Murphy
yebbliesnos...@gmail.com:
Kenji Hara k.hara...@gmail.com wrote in message
news:mailman.27.1395624482.25518.digitalmar...@puremagic.com...
2014-03-24 10:09 GMT+09:00 bearophile
On Monday, 24 March 2014 at 02:31:46 UTC, Andrei Alexandrescu
wrote:
On 3/23/14, 7:21 PM, Kenji Hara wrote:
At least I can imagine two reasonable cases.
1. If the code is ported from C/C++, breaking it is not
reasonable.
2. If the two expressions are strongly related, using comma
operator
From what I see on
Wikipedia(http://en.wikipedia.org/wiki/Comma_operator) Go
language has no comma operator.
On Monday, 24 March 2014 at 03:10:23 UTC, Andrei Alexandrescu
wrote:
On 3/23/14, 7:54 PM, Asman01 wrote:
if(condition) x = 2, y = 3; // fine
if(condition) f(),x=3; // ERRROR
What do you think?
Too quirky -- Andrei
True. I don't want to make a kind of C++
On Friday, 21 March 2014 at 18:47:49 UTC, Pedro Larroy wrote:
Hi
As a newcomer to D, I wonder, how difficult would be and would
it be welcome by the D community to have D's syntax with
significant whitespace and without brackets more like python?
Thanks.
I don't think it's so difficult
On Monday, 17 March 2014 at 07:56:20 UTC, Mason McGill wrote:
I just wrote a DIP aimed at improving slicing and range
construction syntax while maintaining backwards compatibility,
and I'd like to hear your opinions!
http://wiki.dlang.org/DIP58
It can be thought of as an elaboration on the
On Monday, 17 March 2014 at 16:57:46 UTC, Andrei Alexandrescu
wrote:
On 3/16/14, 5:42 PM, Asman01 wrote:
I was reading Walter's article where he use this term and
explain what
is it. He did a clear explanation abount what what it does.
But where
come from actually this term? I can't find
On Monday, 17 March 2014 at 16:49:38 UTC, H. S. Teoh wrote:
On Mon, Mar 17, 2014 at 12:42:26AM +, Asman01 wrote:
I was reading Walter's article where he use this term and
explain
what is it. He did a clear explanation abount what what it
does. But
where come from actually this term? I
On Monday, 17 March 2014 at 10:47:07 UTC, Andrej Mitrovic wrote:
On 3/17/14, Namespace rswhi...@googlemail.com wrote:
I think he means the dlang.sexy thread.
I guess at a certain age people lose their sense of humor.
I don't think so. And I do agree to Walter.
I was reading Walter's article where he use this term and explain
what is it. He did a clear explanation abount what what it does.
But where come from actually this term? I can't find anything
related with a lot of keyword combinations on google/bing. And
isn't only me want to know about
On Wednesday, 12 March 2014 at 13:42:49 UTC, Jonathan Dunlap
wrote:
Just out of curiosity.,. Is there any way to use D with it?
who is using it actually?
On Tuesday, 11 March 2014 at 18:23:08 UTC, Jacob Carlborg wrote:
I just wanted to let everyone know that I have implemented
D/Objective-C for 64bit. Everything that worked for 32bit
should work, except for exceptions, which are not implemented
yet.
Objective-C on 64bit uses the modern
On Tuesday, 11 March 2014 at 10:21:49 UTC, dennis luehring wrote:
Am 11.03.2014 10:38, schrieb Paulo Pinto:
Hi,
since game development discussions tend to come up here, Sony
is
making their C# tools open source, used in games by Naughty
Dog,
Guerrilla Games and others.
On Saturday, 8 March 2014 at 13:25:32 UTC, Andrej Mitrovic wrote:
Recently Vladimir Panteleev has ported the DMD Source Guide
from the old wiki to the new one[1], and updated it with
up-to-date information. I've added a DMD Hacking Tips
Tricks section[2], which should help people new to the
On Saturday, 8 March 2014 at 22:20:50 UTC, Andrej Mitrovic wrote:
On 3/8/14, Timon Gehr timon.g...@gmx.ch wrote:
How many actual D source files are not UTF-8?
No idea. Maybe some Windows tools use UTF-16, although I can't
think
of any. VS uses UTF-8 right?
VS do use UTF-16, IIRC.
On Saturday, 8 March 2014 at 13:25:32 UTC, Andrej Mitrovic wrote:
Recently Vladimir Panteleev has ported the DMD Source Guide
from the old wiki to the new one[1], and updated it with
up-to-date information. I've added a DMD Hacking Tips
Tricks section[2], which should help people new to the
On Saturday, 8 March 2014 at 13:25:32 UTC, Andrej Mitrovic wrote:
Recently Vladimir Panteleev has ported the DMD Source Guide
from the old wiki to the new one[1], and updated it with
up-to-date information. I've added a DMD Hacking Tips
Tricks section[2], which should help people new to the
On Saturday, 8 March 2014 at 21:09:14 UTC, Andrej Mitrovic wrote:
On 3/8/14, Asman01 jck...@gmail.com wrote:
Also, where is root/async.c actually used?
In mars.c, take a look at the #if ASYNCREAD section.
Thanks. I will check out.
On Saturday, 8 March 2014 at 21:16:30 UTC, Andrej Mitrovic wrote:
On 3/8/14, Asman01 jck...@gmail.com wrote:
I don't understand this part converted to UTF-8 when
necessary
in [1].
See Module::parse() in module.c, it converts all non-UTF-8
formats to
UTF-8 when reading a file.
Actually
On Tuesday, 4 March 2014 at 15:16:43 UTC, Andrei Alexandrescu
wrote:
On 3/4/14, 6:49 AM, Vladimir Panteleev wrote:
I think mentioning registration discounts in the title was not
helpful.
I think a better title would have been D programming language
2014
conference: schedule announced or
On Tuesday, 4 March 2014 at 07:49:59 UTC, Andrei Alexandrescu
wrote:
Hello,
I've noticed only few votes and activity on
https://news.ycombinator.com/item?id=7336616 (at least compared
to reddit, twitter etc).
I encourage you all to get on hackernews. It's a solid geek
news site with a lot
On Sunday, 2 March 2014 at 09:47:15 UTC, dennis luehring wrote:
http://clang.llvm.org/docs/MSVCCompatibility.html
It's a true gcc replacement. I've hear the guys of clang are
creating compiler for Microsoft languages too.
On Sunday, 2 March 2014 at 16:56:37 UTC, Manu wrote:
OMG! Do want! :)
Can't wait for an LDC with this backend!
We'll finally have a performance compiler in windows,
I think don't think Microsoft compiler so bad. But still there's
icc. One of fatest C/C++ compiler
and 32bit support
too! :)
On Sunday, 2 March 2014 at 13:54:59 UTC, dennis luehring wrote:
Am 02.03.2014 14:45, schrieb Asman01:
On Sunday, 2 March 2014 at 09:47:15 UTC, dennis luehring wrote:
http://clang.llvm.org/docs/MSVCCompatibility.html
It's a true gcc replacement. I've hear the guys of clang are
creating
On Friday, 28 February 2014 at 12:12:38 UTC, bearophile wrote:
Chris:
Every time I write something in JS, I feel like a complete
programming novice,
Probably that's part of the problem. More experience in a
language helps.
I suggest to use TypeScript (http://www.typescriptlang.org/ ),
On Saturday, 1 March 2014 at 18:57:03 UTC, Craig Dillabaugh wrote:
On Saturday, 1 March 2014 at 16:37:36 UTC, Asman01 wrote:
On Friday, 28 February 2014 at 12:12:38 UTC, bearophile wrote:
Chris:
Every time I write something in JS, I feel like a complete
programming novice,
Probably that's
On Thursday, 27 February 2014 at 13:27:14 UTC, Remo wrote:
Apparently C# will get it in the next version.
http://blogs.msdn.com/b/jerrynixon/archive/2014/02/26/at-last-c-is-getting-sometimes-called-the-safe-navigation-operator.aspx
What do you think how well would this work in D2 ?
I was
On Thursday, 27 February 2014 at 10:27:41 UTC, Timothee Cour
wrote:
A1)
Google's Dart (https://www.dartlang.org) looks like a very
promising
replacement for javascript. It can compile to javascript to
ensure
portability (but chromium runs it natively) but the language
itself reminds
more of D
On Monday, 17 February 2014 at 03:59:15 UTC, logicchains wrote:
On Sunday, 16 February 2014 at 20:29:04 UTC, Walter Bright
wrote:
It's not exactly true. What has happened is I spent a LOT of
time trying to make my C/C++ compiler fast. That experience
has enabled me to design D so it is
On Monday, 17 February 2014 at 00:27:44 UTC, Namespace wrote:
On Monday, 17 February 2014 at 00:22:52 UTC, Casper Færgemand
wrote:
What about new evolved switch statement, called something as
to not confuse it with C syntax? It could be a simple rewrite
thing.
mysteryswitch (some expression)
On Friday, 14 February 2014 at 19:28:34 UTC, Frustrated wrote:
Is that not just C+++? When the gc and allocation gets fixed
we'll end up with C?
Then don't we have D = C^n for some n? Does this hold for
negative numbers? Complex numbers?
I don't what number n would be but the n for C
On Tuesday, 11 February 2014 at 04:46:41 UTC, Martin Nowak wrote:
Barely running but already fun and a little useful.
Example:
D import std.algorithm, std.array, std.file;
= std
D auto name(T)(T t) {
| return t.name;
| }
= name
D dirEntries(., SpanMode.depth).map!name.join(, )
=
On Thursday, 13 February 2014 at 17:15:06 UTC, Gary Willoughby
wrote:
On Thursday, 13 February 2014 at 17:04:44 UTC, Rel wrote:
Hello! I really enjoy D and some brilliant concepts in the
language, like scope(exit) for example. But what I dislike
about D is the druntime, where each single
On Wednesday, 5 February 2014 at 12:07:38 UTC, Russel Winder
wrote:
On Wed, 2014-02-05 at 12:04 +, Russel Winder wrote:
On Tue, 2014-02-04 at 16:18 +, Steve Teale wrote:
Popped into my head today.
What proportion of the D community develops on Linux of some
sort, and what
Just out curiosity, who does the use of UNIX's tools like cflow?
I needed to open the D web site on Windows machine using IE 9 but
it didn't worked, instead of it redirected me to
http://www.d-programming-language.org/index.html page where HTML
seemed broke.
On Tuesday, 28 January 2014 at 10:55:08 UTC, bearophile wrote:
The latest changes in the CoffeScript language have added a
built-in %% operator:
Correct modulo operator %% (respects negatives)
https://gist.github.com/aseemk/8637896
(In Python the % operator works in this correct way.)
On Saturday, 1 February 2014 at 16:14:59 UTC, Martin Cejp wrote:
On Saturday, 1 February 2014 at 03:25:33 UTC, Mike wrote:
alias {D Logo} this;
Outdated syntax. You should use
alias this = {D Logo};
instead.
Isn't this syntax discouraged/depracted now?
On Monday, 27 January 2014 at 17:57:02 UTC, Timon Gehr wrote:
On 01/26/2014 09:29 PM, Oten wrote:
Which tools do you miss in the D language? ...
A fully working compiler for the most recent language version.
So is dmd compiler not eable to compile the most recent language
version?
61 matches
Mail list logo