[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h5md-user] Strings again / parallel issue
From: |
Peter Colberg |
Subject: |
Re: [h5md-user] Strings again / parallel issue |
Date: |
Thu, 6 Feb 2014 09:39:47 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi Felix,
On Thu, Feb 06, 2014 at 10:11:36AM +0100, Felix Höfling wrote:
> Saying Goodbye to mandating VL String is a good idea! But why forcing the
> string to be of fixed-length now? Why don't we let the user decide,
> depending on the situation? I think we had good reasons earlier to use
> variable length strings. And we might soon encounter a case where
> variable-length strings would be preferred.
With variable-length strings, the caller needs to pass or receive an
array with pointers to character strings; with fixed-length strings,
an array of characters. The former is negligibly easier than the
latter in C, but significantly harder in Fortran (and requires
iso_c_binding); thus the preference for fixed-length strings.
Peter
- [h5md-user] Strings again / parallel issue, Pierre de Buyl, 2014/02/04
- Re: [h5md-user] Strings again / parallel issue, Peter Colberg, 2014/02/04
- Re: [h5md-user] Strings again / parallel issue, Pierre de Buyl, 2014/02/04
- Re: [h5md-user] Strings again / parallel issue, Peter Colberg, 2014/02/04
- Re: [h5md-user] Strings again / parallel issue, Pierre de Buyl, 2014/02/04
- Re: [h5md-user] Strings again / parallel issue, Peter Colberg, 2014/02/04
- Re: [h5md-user] Strings again / parallel issue, Peter Colberg, 2014/02/04
- Re: [h5md-user] Strings again / parallel issue, Pierre de Buyl, 2014/02/05
- Re: [h5md-user] Strings again / parallel issue, Peter Colberg, 2014/02/05
- Re: [h5md-user] Strings again / parallel issue, Felix Höfling, 2014/02/06
- Re: [h5md-user] Strings again / parallel issue,
Peter Colberg <=
- Re: [h5md-user] Strings again / parallel issue, Pierre de Buyl, 2014/02/06
- Re: [h5md-user] Strings again / parallel issue, Felix Höfling, 2014/02/07
- Re: [h5md-user] Strings again / parallel issue, Pierre de Buyl, 2014/02/07
- Re: [h5md-user] Strings again / parallel issue, Peter Colberg, 2014/02/07
- Re: [h5md-user] Strings again / parallel issue, Pierre de Buyl, 2014/02/06
- Re: [h5md-user] Strings again / parallel issue, Peter Colberg, 2014/02/06
Re: [h5md-user] Strings again / parallel issue, Felix Höfling, 2014/02/04
Re: [h5md-user] Strings again / parallel issue, Felix Höfling, 2014/02/04