On Fri, Aug 21, 2020 at 10:16 AM joseph.p...@gmail.com
<joseph.p.mcguc...@gmail.com> wrote:
>
> I really like the 'defer' statement and think it would be a useful addition 
> to other programming languages.

I believe that Swift has also added a defer statement, which I assume
was based on the idea in Go.

> The feature where GO performs escape analysis and promotes stack variables to 
> the heap: Did that originate with GO or was it first implemented elsewhere?

That has been implemented in other languages, notably Java.

Ian

-- 
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/CAOyqgcWqcy01WBwyt4Y9be968nW2kE-90%2BBs0ETYmuSeaXDEsQ%40mail.gmail.com.

Reply via email to