Nick Sabalausky wrote:
"Steven Schveighoffer" wrote in message
news:op.vhwolemleav...@localhost.localdomain...
On Mon, 23 Aug 2010 15:29:32 -0400, Nick Sabalausky wrote:
"klickverbot" wrote in message
news:i4ualh$1qh...@digitalmars.com...
Hello all,
currently, DMD accepts the following co
I know that D2 is supposed to be closed for new features, but I thought
I'd mention this anyway just in case it's deemed easy/simple enough for
inclusion, or even if it will just get considered for later on.
Anyway, we all know that we can do the following:
foreach (int x; 0..10)
writeln
Steven Schveighoffer wrote:
With profiling enabled, gprof outputs this as the top hitters:
Flat profile:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds secondscalls ms/call ms/call name
77.76 6.68 6.68 2952 2.2
On Monday 23 August 2010 23:16:25 Michael Rynn wrote:
> The problems are combinatorial, because of encoding schemes.
> I imagine that when someone wants a function that is missing from
> std.string, they might write one, and might even add to it.
A lot of functions in Phobos are templated on strin
On 24/08/10 08:56, Peter Alexander wrote:
Proposal: Make a..b a literal that evaluates to iota(a, b) or some
built-in equivalent.
Indeed, this has been discussed before and I believe people were
generally in favor of this idea. I agree that it should still be
considered for DMD2. As I see it,
On 20/08/10 03:22, dsimcha wrote:
3. Is there any good reason to avoid just templating everything to work with
all 9 string types (mutable/const/immutable char/wchar/dchar[]) or whatever
subset is reasonable for the given function?
Wouldn't it be sufficient to take const as input? IIRC, both m
Norbert Nemec wrote:
On 20/08/10 03:22, dsimcha wrote:
3. Is there any good reason to avoid just templating everything to
work with
all 9 string types (mutable/const/immutable char/wchar/dchar[]) or
whatever
subset is reasonable for the given function?
Wouldn't it be sufficient to take
Walter Bright:
> elf_findstr definitely looks like a problem area. I can't look at it right
> now,
> so can you post this to bugzilla please?
I am able to find two versions of elf_findstr, one in elfobj.c and one in
machobj.c, so it may be possible to remove one of them.
Its docstring doesn't
- GDB developers refsue to apply up to date D patches
- the language shootout included ALL other relevant languages, but hated D.
This is very bad
- D wiki had CSS style competition but someone wanted to keep the boring
looking style. Wiki has sometimes also disk space problem
- no Tango for D 2.
extern(C) int foo(int i)
in { assert(i > 7); }
out (result) { assert(result & 1); }
http://d.puremagic.com/issues/show_bug.cgi?id=4720
On Mon, 23 Aug 2010 16:30:15 -0400, Adam B wrote:
I was pondering bearophile's idea of having compile-time null
checking. Since adding new language syntax is often a hard thing to
sell to the language authors, perhaps we could get by with just a
compiler warning? Some static code analysis. F
On Tue, 24 Aug 2010 01:59:51 -0400, Fawzi Mohamed wrote:
On 24-ago-10, at 04:26, dsimcha wrote:
[...]
3. Ranges are the flagship way of iterating through an object in D, as
they
should be. opApply has its uses, but they're relatively few and far
between. I'm
wondering if anyone besides
On Tue, 24 Aug 2010 03:58:57 -0400, Walter Bright
wrote:
Steven Schveighoffer wrote:
With profiling enabled, gprof outputs this as the top hitters:
Flat profile:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds secondscalls ms/
On 08/24/2010 02:14 PM, igabrieL wrote:
- GDB developers refsue to apply up to date D patches
- the language shootout included ALL other relevant languages, but hated D.
This is very bad
- D wiki had CSS style competition but someone wanted to keep the boring
looking style. Wiki has sometimes a
"Those who can, do. Those who can't, complain."
-- Attributed to Linus Torvalds on Wikipedia.
Probably answering to a troll, but..
Tue, 24 Aug 2010 08:14:37 -0400, igabrieL wrote:
> - GDB developers refsue to apply up to date D patches
This is a copyright issue. GDB is owned by the FSF and you cannot use any
Digital Mars code in it. You need to assign the copyright to them.
> - the l
On 24/08/10 13:14, igabrieL wrote:
- the language shootout included ALL other relevant languages, but hated D.
This is very bad
I recall that this was due to the lack of 64bit support and the lack of
a Debian package that would work out of the box. The latter problem may
be solved by now, bu
Phobos still uses 5 years old zlib 1.2.3
Couldn't that be updated to v1.2.5 (April 19, 2010)?
On Tue, Aug 24, 2010 at 07:29:57PM +0200, Trass3r wrote:
> Phobos still uses 5 years old zlib 1.2.3
> Couldn't that be updated to v1.2.5 (April 19, 2010)?
Yes, Walter and Andrei are planning to update it in the next month or so.
== Quote from retard (r...@tard.com.invalid)'s article
> I believe D attracts people who want to leave their hand-mark in the
> language's design. The community members see that the language is in a
> constant 'work in progress' phase so they're dumping truckloads of
> feature suggestions before th
On Tue, 24 Aug 2010 13:44:38 -0400, dsimcha wrote:
== Quote from retard (r...@tard.com.invalid)'s article
I believe D attracts people who want to leave their hand-mark in the
language's design. The community members see that the language is in a
constant 'work in progress' phase so they're dum
Steven Schveighoffer wrote:
On Tue, 24 Aug 2010 03:58:57 -0400, Walter Bright
wrote:
Steven Schveighoffer wrote:
With profiling enabled, gprof outputs this as the top hitters:
Flat profile:
Each sample counts as 0.01 seconds.
% cumulative self self total
time sec
igabrieL wrote:
- and suggesting feature improvements
[...]
When is D stable
It cannot be both stable and adding in endless new features.
dsimcha wrote:
I think having a SafeD environemnt on .NET/JVM might be
an interesting exercise. However, the language doesn't have many
interesting new features to justify its existence on either platform.
Don't D's compile-time introspection and generic programming abilities count for
somethin
retard, el 24 de agosto a las 15:36 me escribiste:
> Probably answering to a troll, but..
>
>
> Tue, 24 Aug 2010 08:14:37 -0400, igabrieL wrote:
>
> > - GDB developers refsue to apply up to date D patches
>
> This is a copyright issue. GDB is owned by the FSF and you cannot use any
> Digital M
== Quote from Walter Bright (newshou...@digitalmars.com)'s article
> dsimcha wrote:
> >> I think having a SafeD environemnt on .NET/JVM might be
> >> an interesting exercise. However, the language doesn't have many
> >> interesting new features to justify its existence on either platform.
> >
> > D
Tue, 24 Aug 2010 17:44:38 +, dsimcha wrote:
>> I think having a SafeD environemnt on .NET/JVM might be an interesting
>> exercise. However, the language doesn't have many interesting new
>> features to justify its existence on either platform.
>
> Don't D's compile-time introspection and gene
"retard" wrote in message
news:i50ou2$v0...@digitalmars.com...
>
> I think having a SafeD environemnt on .NET/JVM might be
> an interesting exercise. However, the language doesn't have many
> interesting new features to justify its existence on either platform.
>
Aside from being a questionable
"retard" wrote in message
news:i516du$v0...@digitalmars.com...
> Tue, 24 Aug 2010 17:44:38 +, dsimcha wrote:
>
>>> I think having a SafeD environemnt on .NET/JVM might be an interesting
>>> exercise. However, the language doesn't have many interesting new
>>> features to justify its existence
Tue, 24 Aug 2010 15:37:52 -0400, Nick Sabalausky wrote:
> "retard" wrote in message
> news:i516du$v0...@digitalmars.com...
>> Tue, 24 Aug 2010 17:44:38 +, dsimcha wrote:
>>
I think having a SafeD environemnt on .NET/JVM might be an
interesting exercise. However, the language doesn't
Hello,
I'm just wondering, would it be possible to register this mailing list on
nabble? Replies would be grouped in topics and indexed for full text search, I
think it would make this mailing list more convenient to use.
Result looks like this
http://lucene.472066.n3.nabble.com/Solr-User-f472068
"igabrieL" wrote in message
news:i50d3d$d1...@digitalmars.com...
> - no Tango for D 2.0 (trying be fair and equal here. not only phobos!)
http://www.dsource.org/projects/tango/forums/topic/883
"retard" wrote in message
news:i51963$v0...@digitalmars.com...
>
> I can find 100 other commercial C# coders in just a few
> days.
Now, see that's something that always bugs the hell out of me. Any
programmer who can code in, say imperative or OO style in one language and
*can't* pick up anoth
Tue, 24 Aug 2010 16:29:01 -0400, Nick Sabalausky wrote:
> "retard" wrote in message
> news:i51963$v0...@digitalmars.com...
>>
>> I can find 100 other commercial C# coders in just a few days.
>
> Now, see that's something that always bugs the hell out of me. Any
> programmer who can code in, say
On Tue, 24 Aug 2010 14:31:26 -0400, Walter Bright
wrote:
Steven Schveighoffer wrote:
On Tue, 24 Aug 2010 03:58:57 -0400, Walter Bright
wrote:
Steven Schveighoffer wrote:
With profiling enabled, gprof outputs this as the top hitters:
Flat profile:
Each sample counts as 0.01 seconds.
Am 24.08.2010 22:56, schrieb Steven Schveighoffer:
I am not sure how to fix it, but that's the gist of it. I think the
symbol table is so large because of the template proliferation of
dcollections, and the verbosity of D symbol names.
Why are D's symbols verbose? if I understood you corectl
"retard" wrote in message
news:i51b74$v0...@digitalmars.com...
> Tue, 24 Aug 2010 16:29:01 -0400, Nick Sabalausky wrote:
>
>> "retard" wrote in message
>> news:i51963$v0...@digitalmars.com...
>>>
>>> I can find 100 other commercial C# coders in just a few days.
>>
>> Now, see that's something th
On Tue, 24 Aug 2010 17:05:30 -0400, Mafi wrote:
Am 24.08.2010 22:56, schrieb Steven Schveighoffer:
I am not sure how to fix it, but that's the gist of it. I think the
symbol table is so large because of the template proliferation of
dcollections, and the verbosity of D symbol names.
Why ar
On 2010-08-24 12:25, bearophile wrote:
Walter Bright:
elf_findstr definitely looks like a problem area. I can't look at it right now,
so can you post this to bugzilla please?
I am able to find two versions of elf_findstr, one in elfobj.c and one in
machobj.c, so it may be possible to remove o
Steven Schveighoffer:
> For example, foo(HashSet!int hs) inside the module testme becomes:
> _D6testme3fooFC12dcollections7HashSet14__T7HashSetTiZ7HashSetZv
And I think some more things needs to be added to that string, like a
representation for the pure attribute, etc.
Bye,
bearophile
On Tue, 24 Aug 2010, Leandro Lucarella wrote:
> retard, el 24 de agosto a las 15:36 me escribiste:
> > Probably answering to a troll, but..
> >
> >
> > Tue, 24 Aug 2010 08:14:37 -0400, igabrieL wrote:
> >
> > > - GDB developers refsue to apply up to date D patches
> >
> > This is a copyright i
On Tuesday, August 24, 2010 14:37:09 bearophile wrote:
> Steven Schveighoffer:
> > For example, foo(HashSet!int hs) inside the module testme becomes:
> > _D6testme3fooFC12dcollections7HashSet14__T7HashSetTiZ7HashSetZv
>
> And I think some more things needs to be added to that string, like a
> repr
Tue, 24 Aug 2010 17:21:56 -0400, Nick Sabalausky wrote:
> And if a manager goes hiring programmers when time's already tight, then
> the manager is an idiot because getting the new people up-to-speed is
> only going to cause more delay even if the language is the same (and
> again, the time to pic
Steven Schveighoffer wrote:
Through some more work with printf, I have to agree with bearophile,
this lookup function is horrid.
It is now, but when it was originally written (maybe as long as 20 years ago)
there were only a few strings in the table, and it was fine. It's just outlived
its de
On Tue, 24 Aug 2010 23:53:44 +0200, Jonathan M Davis
wrote:
On Tuesday, August 24, 2010 14:37:09 bearophile wrote:
Steven Schveighoffer:
> For example, foo(HashSet!int hs) inside the module testme becomes:
> _D6testme3fooFC12dcollections7HashSet14__T7HashSetTiZ7HashSetZv
And I think some mo
== Quote from Walter Bright (newshou...@digitalmars.com)'s article
> Steven Schveighoffer wrote:
> > Through some more work with printf, I have to agree with bearophile,
> > this lookup function is horrid.
> It is now, but when it was originally written (maybe as long as 20 years ago)
> there were
Jonathan M Davis:
> They probably aren't there because
> ...
In Bugzilla there are some pure-related bugs (3833, 3086/3831, maybe 4505) that
I think need that attribute in the mangled string. But as usual I may be wrong,
and other ways to solve those problems may be invented.
Bye,
bearophile
On 08/22/2010 06:28 PM, Pedro Rodrigues wrote:
There are already projects aiming to write a D compiler in D:
http://www.dsource.org/projects/ddmd
http://github.com/azizk/dil/
Regards
Thanks for all the answers, but I was looking more for an official
compiler, but it's great that there's peopl
languages that can compile themselves make me smile.
Yep ddmd is a wonderful project :)
Someone created a webpage a little while ago to jump to the D documentation
for a given identifier. What was the URL to that? In a real example of
irony, I searched the NG for that search tool, but couldn't find it.
50 matches
Mail list logo