[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A couple of questions about goops method parameters
From: |
Marko Rauhamaa |
Subject: |
Re: A couple of questions about goops method parameters |
Date: |
Sun, 07 Sep 2014 03:20:52 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Panicz Maciej Godek <address@hidden>:
> The fact that C compiler performs static type checking has nothing to
> do with its performance. It's only about detecting type errors. So for
> example if you have code like:
>
> short f();
>
> long g() {
> return f();
> }
>
> the compiler will generate an error.
(It actually doesn't. Try it.)
You are right that C compilation would simply not be possible without
static type information present. However, since Scheme can do everything
C can without static type information, the principal justification for
its existence is performance. That's why Guido van Rossum is tempted to
add optional static type annotation to Python: it would make it possible
replace Java/C# with Python.
Marko
- Re: A couple of questions about goops method parameters, (continued)
- Re: A couple of questions about goops method parameters, Marko Rauhamaa, 2014/09/05
- Re: A couple of questions about goops method parameters, Panicz Maciej Godek, 2014/09/05
- Re: A couple of questions about goops method parameters, Marko Rauhamaa, 2014/09/05
- Re: A couple of questions about goops method parameters, Panicz Maciej Godek, 2014/09/06
- Re: A couple of questions about goops method parameters, Taylan Ulrich Bayirli/Kammer, 2014/09/06
- Re: A couple of questions about goops method parameters, Marko Rauhamaa, 2014/09/06
- Re: A couple of questions about goops method parameters, Taylan Ulrich Bayirli/Kammer, 2014/09/06
- Re: A couple of questions about goops method parameters, Panicz Maciej Godek, 2014/09/06
- Re: A couple of questions about goops method parameters,
Marko Rauhamaa <=
- Re: A couple of questions about goops method parameters, Taylan Ulrich Bayirli/Kammer, 2014/09/07
- Re: A couple of questions about goops method parameters, Marko Rauhamaa, 2014/09/07
- Re: A couple of questions about goops method parameters, Taylan Ulrich Bayirli/Kammer, 2014/09/07
- Re: A couple of questions about goops method parameters, Marko Rauhamaa, 2014/09/07
- Re: A couple of questions about goops method parameters, Taylan Ulrich Bayirli/Kammer, 2014/09/07
- Message not available
- Re: A couple of questions about goops method parameters, Nala Ginrut, 2014/09/06