> Except I cannot find them.

The dynamically-sized type posts are sort of scattered all over Niko's
blog. You can start here:

http://smallcultfollowing.com/babysteps/blog/2013/04/30/dynamically-sized-types/

for a general overview.


On Fri, Nov 8, 2013 at 1:38 PM, spir <[email protected]> wrote:

> On 11/08/2013 07:20 PM, Patrick Walton wrote:
>
>> Because then `str` would not be a dynamically sized type.
>>
>
> (I'm not convinced --yet-- strings *must* have dynamic size at all, as I
> never need this feature even if I do quite a lot of text processing. When
> generating runtime produced strings, I'd rather concat all bits at once at
> the very end, thus knowing the final size. No support for this is needed:
> one never writes into a growable string buffer, instead always concat all
> at once. But this may be another, distinct story. And there may be use
> cases I'm unaware of, even common ones.)
>
>
>  Please read the blog posts on dynamically sized types.
>>
>
> All right, I'll do.
> PS: Except I cannot find them.
> Don't seem listed in the list of blog post at https://github.com/mozilla/
> rust/wiki/Docs
> Also not in the archives of your own blog at: http://pcwalton.github.io/
> blog/archives/
>
> Denis
>
>  spir <[email protected]> wrote:
>>
>>> On 11/08/2013 09:53 AM, Daniel Micay wrote:
>>>
>>>> It couldn't be called `str`, because `&str` is a slice.
>>>>
>>>
>>> Why couldn't str be slices? (eg somewhat like arrays are slices in D)
>>> Also, i don't understand literals in Rust currently. Same for static
>>> arrays.
>>>
>>> Denis
>>> _______________________________________________
>>>
>>> Rust-dev mailing list
>>> [email protected]
>>> https://mail.mozilla.org/listinfo/rust-dev
>>>
>>
>>  _______________________________________________
>
> Rust-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/rust-dev
>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to