[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] man oh man Java is painful



I don't see why anyone would start a new project in C++ these days. There are just so many better alternatives. Perhaps you could look at a Lisp; Common Lisp can compile to machine code, and Clojure's really nice and runs on the JVM and can run on Android. Haskell's cool too but a bit hard. ;)

On Sat, Nov 5, 2011 at 8:00 PM, Toni Alatalo <antont@xxxxxxxxxxxxx> wrote:
On Nov 6, 2011, at 4:04 AM, Toni Alatalo wrote:
> On Nov 6, 2011, at 2:15 AM, Greg Ewing wrote:
>>> Absolutely not sure it fits the bill... but have you had a look at go?
>>> http://golang.org/
>> I looked at it. My first impression was "this is ugly". I'm pretty
>> sure it's not the language I was talking about.
> No, that is indeed the google Go thing.

Ah, sorry - misread that earlier :p (you said 'I' whereas I thought you referred to someone else talking about google's cool new lang, and you thinking that something so ugly as what's behind that link wouldn't be that one .. was tired)

I haven't realliy studied it, but also am not too convinced. Dunno, perhaps should look more though if need compiled stuff.

~Toni

> Which they support on the app engine to have something faster than py, but nicer than c. But is somewhat close to c I guess.
>
> The fibonacci example is:
>
> package main
>
> // fib returns a function that returns
> // successive Fibonacci numbers.
> func fib() func() int {
> Â Â Â a, b := 0, 1
> Â Â Â return func() int {
> Â Â Â Â Â Â Â a, b = b, a+b
> Â Â Â Â Â Â Â return b
> Â Â Â }
> }
>
> func main() {
> Â Â Â f := fib()
> Â Â Â // Function calls are evaluated left-to-right.
> Â Â Â println(f(), f(), f(), f(), f())
> }
>
>> Greg
>
>
> Â~Toni
>




--
"NORMAL is a setting on a washing-machine." -- Nikolai Kingsley