Steven Schveighoffer at Mon, 08 Mar 2010 15:23:51 -0500 wrote:
SS On Mon, 08 Mar 2010 15:12:24 -0500, bearophile bearophileh...@lycos.com
wrote:
Steven Schveighoffer:
Tell me how you would parse the following text serialization string for a
string[]:
hello world how are you
What
Steven Schveighoffer Wrote:
* shrinkToFit(T[] arr): This one is a bit tricky and technically unsafe.
It reduces the size of the allocated length to fit the length of the
array. The allocated length is the length that the runtime assumes is
being used of the memory block. This is
Robert Jacques wrote:
On Mon, 08 Mar 2010 16:42:54 -0500, Philippe Sigaud
philippe.sig...@gmail.com wrote:
On Mon, Mar 8, 2010 at 14:22, Steven Schveighoffer
schvei...@yahoo.comwrote:
The shrinkToFit name is not my favorite, anyone care to submit a better
name? minimize is out because it
On 2010-03-09 09:09:51 +0100, Alexander Suhoverhov
alexan...@suhoverhov.selfip.net said:
Steven Schveighoffer at Mon, 08 Mar 2010 15:23:51 -0500 wrote:
SS On Mon, 08 Mar 2010 15:12:24 -0500, bearophile
bearophileh...@lycos.com wrote:
Steven Schveighoffer:
Tell me how you would parse
On Mon, 08 Mar 2010 17:52:25 -0500, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
Printing values with spaces between them is entirely fine for e.g. all
numbers.
You know what, you are right. Why should phobos cater to people wanting
to print something as arcane as a
On 09/03/10 09:12, Walter Bright wrote:
obj2asm tells the tale. (obj2asm is an incredibly useful tool, I don't
know why nobody uses it.)
Maybe a minor quibble, but obj2asm is really slow. If I'm going to
disassemble something, I am never going to reach for obj2asm:
`ds` is a dmdscript
On 9-mar-10, at 13:00, Steven Schveighoffer wrote:
On Tue, 09 Mar 2010 03:09:51 -0500, Alexander Suhoverhov alexan...@suhoverhov.selfip.net
wrote:
Steven Schveighoffer at Mon, 08 Mar 2010 15:23:51 -0500 wrote:
SS On Mon, 08 Mar 2010 15:12:24 -0500, bearophile bearophileh...@lycos.com
On Sun, 07 Mar 2010 22:54:12 -0800, Walter Bright wrote:
http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.041.zip
Great, thanks :)
BTW on this page:
http://www.digitalmars.com/d/2.0/operatoroverloading.html
The 'Index Operator Overloading' link text at the top
On Tue, 09 Mar 2010 10:10:10 -0500, biozic bio...@free.fr wrote:
Steven Schveighoffer Wrote:
* shrinkToFit(T[] arr): This one is a bit tricky and technically
unsafe.
It reduces the size of the allocated length to fit the length of the
array. The allocated length is the length that the
On Tue, 09 Mar 2010 03:09:51 -0500, Alexander Suhoverhov
alexan...@suhoverhov.selfip.net wrote:
Steven Schveighoffer at Mon, 08 Mar 2010 15:23:51 -0500 wrote:
SS On Mon, 08 Mar 2010 15:12:24 -0500, bearophile
bearophileh...@lycos.com wrote:
Steven Schveighoffer:
Tell me how you
Walter Bright wrote:
Trass3r wrote:
obj2asm tells the tale. (obj2asm is an incredibly useful tool, I
don't know why nobody uses it.)
Maybe because it's not free (and not much advertised). obconv also
supports disassembling various object file formats + conversion
between them and it's open
On Tue, 09 Mar 2010 10:23:07 -0500, Steven Schveighoffer wrote:
I want to focus more on the fact that you are declaring the data after
the slice as being no longer used.
kind of assumeUnique ...
assumeNoArrayReference ?
On 03/09/2010 05:53 AM, Steven Schveighoffer wrote:
On Mon, 08 Mar 2010 17:52:25 -0500, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
Printing values with spaces between them is entirely fine for e.g. all
numbers.
You know what, you are right. Why should phobos cater to people
Ellery Newcomer wrote:
On 03/09/2010 05:53 AM, Steven Schveighoffer wrote:
On Mon, 08 Mar 2010 17:52:25 -0500, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
Printing values with spaces between them is entirely fine for e.g. all
numbers.
You know what, you are right. Why should
On Tue, 09 Mar 2010 12:33:01 -0500, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
In wake of printing multi-dimensional arrays, I agree that start and end
delimiters should be present by default. If delimiters are present, it
only makes sense to make the array look like a D
Michal Minich wrote:
On Tue, 09 Mar 2010 10:23:07 -0500, Steven Schveighoffer wrote:
I want to focus more on the fact that you are declaring the data after
the slice as being no longer used.
kind of assumeUnique ...
assumeNoArrayReference ?
I like that. Or assumeNoMemoryAliasing. It
Lutger:
Or assumeNoMemoryAliasing. It should be clear that it is a
potentially very unsafe function.
This is getting there :-)
Bye,
bearophile
Bernard Helyer wrote:
On 09/03/10 09:12, Walter Bright wrote:
obj2asm tells the tale. (obj2asm is an incredibly useful tool, I don't
know why nobody uses it.)
Maybe a minor quibble, but obj2asm is really slow. If I'm going to
disassemble something, I am never going to reach for obj2asm:
On 9-mar-10, at 18:56, Steven Schveighoffer wrote:
On Tue, 09 Mar 2010 12:33:01 -0500, Andrei Alexandrescu seewebsiteforem...@erdani.org
wrote:
In wake of printing multi-dimensional arrays, I agree that start
and end delimiters should be present by default. If delimiters are
present, it
On 2010-03-09 20:15:44 +0100, Fawzi Mohamed fa...@gmx.ch said:
[...]
some html spam
sorry about that...
On 10/03/10 07:54, Walter Bright wrote:
Hmm, I never noticed it being slow at all. I wonder what's going on.
Obviously, I can't tell from here, but I can tell you what my system
says obliquely.
It spends that minute at 100% CPU, and about 100 megs resident (which it
allocates quickly,
On 10/03/10 08:57, Bernard Helyer wrote:
On 10/03/10 07:54, Walter Bright wrote:
Hmm, I never noticed it being slow at all. I wonder what's going on.
Obviously, I can't tell from here, but I can tell you what my system
says obliquely.
It spends that minute at 100% CPU, and about 100 megs
On Tue, 09 Mar 2010 14:54:11 -0500, David Gileadi f...@bar.com wrote:
On 3/9/2010 12:44 PM, Steven Schveighoffer wrote:
On Tue, 09 Mar 2010 14:36:41 -0500, Michal Minich
michal.min...@gmail.com wrote:
assumeNoArrayReference does not express that there can be references to
the original array
Bernard Helyer wrote:
On 10/03/10 08:57, Bernard Helyer wrote:
On 10/03/10 07:54, Walter Bright wrote:
Hmm, I never noticed it being slow at all. I wonder what's going on.
Obviously, I can't tell from here, but I can tell you what my system
says obliquely.
It spends that minute at 100%
On Tue, Mar 9, 2010 at 11:29, grauzone n...@example.net wrote:
Many of these names (including shrinkToFit) suggest that memory usage is
reduced by freeing the left over memory after the array. This is not true:
the function just enables stomping of the memory past the slice passed to
the
are now up thanks to Jordi Sayol
http://www.digitalmars.com/d/download.html
Steven Schveighoffer wrote:
On Tue, 09 Mar 2010 14:54:11 -0500, David Gileadi f...@bar.com wrote:
On 3/9/2010 12:44 PM, Steven Schveighoffer wrote:
On Tue, 09 Mar 2010 14:36:41 -0500, Michal Minich
michal.min...@gmail.com wrote:
assumeNoArrayReference does not express that there can be
On Tue, 09 Mar 2010 15:29:04 -0500, Don nos...@nospam.com wrote:
Steven Schveighoffer wrote:
On Tue, 09 Mar 2010 14:54:11 -0500, David Gileadi f...@bar.com wrote:
As long as we're bikeshedding, maybe assumeUnreferencedAfter?
This is exactly the semantic meaning we are going for. I'd like
Philippe Sigaud philippe.sig...@gmail.com wrote in message
news:mailman.119.1268166534.4461.digitalmars-d-annou...@puremagic.com...
On Tue, Mar 9, 2010 at 11:29, grauzone n...@example.net wrote:
Many of these names (including shrinkToFit) suggest that memory usage is
reduced by freeing the
I'll be presenting the D Programming Language at the next monthly BLUG
meeting. It'll mostly be for people who haven't heard of D yet. There'll
be a fair chunk of D1 in there, but I'm hoping to touch some of D2's new
features as well.
These meetings are free for everyone to attend, so come by if
Lionello Lunesu wrote:
I'll be presenting the D Programming Language at the next monthly BLUG
meeting. It'll mostly be for people who haven't heard of D yet. There'll
be a fair chunk of D1 in there, but I'm hoping to touch some of D2's new
features as well.
Awesome!
(I'm fairly new to
On Wed, 10 Mar 2010 08:47:00 +0800, Lionello Lunesu wrote:
On 10-3-2010 8:35, Walter Bright wrote:
Lionello Lunesu wrote:
I'll be presenting the D Programming Language at the next monthly BLUG
meeting. It'll mostly be for people who haven't heard of D yet.
There'll be a fair chunk of D1 in
Lionello Lunesu wrote:
On 10-3-2010 8:35, Walter Bright wrote:
Lionello Lunesu wrote:
I'll be presenting the D Programming Language at the next monthly BLUG
meeting. It'll mostly be for people who haven't heard of D yet. There'll
be a fair chunk of D1 in there, but I'm hoping to touch some of
Lionello Lunesu wrote:
Good tip, thanks.
welcs
I'm wondering: should I do the 'scrolling HTML', in true D style? The
lazy part of me says yes :))
I've abandoned it in favor of pdf:
1. HTML rendering sucks compared with pdf rendering. I don't know why,
but when it gets blown up on a big
Walter Bright:
I've abandoned it in favor of pdf:
I've also found it worthwhile to bring along a laser pointer.
I do all you do for the reasons you do. I just lack the laser pointer :-)
Bye,
bearophile
On 10-3-2010 10:01, Moritz Warning wrote:
On Wed, 10 Mar 2010 08:47:00 +0800, Lionello Lunesu wrote:
On 10-3-2010 8:35, Walter Bright wrote:
Lionello Lunesu wrote:
I'll be presenting the D Programming Language at the next monthly BLUG
meeting. It'll mostly be for people who haven't heard of
36 matches
Mail list logo