On Mon, Mar 15, 2021 at 2:19 PM Kevin Chadwick <m8il1i...@gmail.com> wrote:

> Whilst you have wrongly called some things in this thread irrelevant.
>

To be clear: I meant they are not relevant to the discussion of the
property that a zero value is represented by 0 bytes.
I explained why (they are questions about the semantics of using maps,
whereas the memory representation is an implementation detail) and I stand
by that.

That is irrelevant to this discussion as the reasons that Python is slower
> have
> very little to do with this discussion.


Certainly, if "C gives up too much convenience for the sake of performance"
is pertinent to the discussion, then so is "Python gives up too much
performance for the sake of convenience"? I would tend to agree that
*neither* is particularly relevant (as comparing languages is relatively
futile) but saying one is and one isn't seems an arbitrary double-standard
to me.

To repeat, I didn't really try to make a case one way or another. I agree
that it would be nice to not have nil-maps in the language. I also agree
that we should not ignore the performance impact of that. I'm just trying
to explain why things are the way they are.

Whilst issues like this and ones already
> fixed by go, do pertain to c.
>
> I shall see if the staticcheck SA5000 linter can be improved to track
> returns or
> submit a proposal at some point or wait for null safety to fix this issue.
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/3f7e04d7-b18d-6d05-8d7f-eaa04b79c368%40gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAEkBMfEs%2B%3DUJ5GXb1_pegCN6%3DGe3y_eEv%2BnYgb_Ox5pB-2kzcA%40mail.gmail.com.

Reply via email to