Live data from Hacker News

Implementing a bignum calculator – Rob Pike [video]

youtube.com

11–20 of 28 posts

Re: Implementing a bignum calculator – Rob Pike [video]

#11
This snippet from the implementation sheds some light on the origins of Go for me, the mindset from which it's born and why it isn't a language for me.

    interactive := false
    if name == "-" {
        interactive = true
        fd = os.Stdin
    } else {
        interactive = false
        fd, err = os.Open(name)
    }
Or do you think I am reading into it too much?

Re: Implementing a bignum calculator – Rob Pike [video]

#12
post #11

This snippet from the implementation sheds some light on the origins of Go for me, the mindset from which it's born and why it isn't a language for me. interactive := false if name == "-" { interactive = true fd = os.Stdin } else { interactive = false fd, err = os.Open(name) } Or do you think I am reading into it too much?

Could you explain why that snippet makes you decide that way?

Re: Implementing a bignum calculator – Rob Pike [video]

#13
Does anybody have suggestions for sources of software / computing / codecasting related videos similar to this? Something to put on in the background while working?

TOPLAP (http://toplap.org/) is a decent example of this but they are focused on audio/visual entertainment only.

Basically I'm looking for Twitch for programmers.

Re: Implementing a bignum calculator – Rob Pike [video]

#14

He wants to compute some bignums, so he writes an APL interpreter in Go... Now he is scratching his itch and making nice slides to boot. However, it would have been simpler for him to have typed "python" at the commandline... Python ints are arb precision :)

The premise of this comment being that it hadn't occurred to Rob Pike that there were already arbitrary-precision calculators.

Re: Implementing a bignum calculator – Rob Pike [video]

#15
post #10

He wants to compute some bignums, so he writes an APL interpreter in Go... Now he is scratching his itch and making nice slides to boot. However, it would have been simpler for him to have typed "python" at the commandline... Python ints are arb precision :)

or GNU CLISP which not only has big ints, big ratios, big complex (like all Common Lisp implementations), but also big floats. Big ratios: [2]> (/ 5723475972349572938475982734985723984759823749587 7239457928374598723984759237459723497598234) 5723475972349572938475982734985723984759823749587/7239457928374598723984759237459723497598234 Big complex numbers: [4]> (* 572934759237495723482374957239475982374957239847523485…

Ah yes, but a small userbase!

Re: Implementing a bignum calculator – Rob Pike [video]

#16
post #10

Earlier quoted context omitted.

or GNU CLISP which not only has big ints, big ratios, big complex (like all Common Lisp implementations), but also big floats. Big ratios: [2]> (/ 5723475972349572938475982734985723984759823749587 7239457928374598723984759237459723497598234) 5723475972349572938475982734985723984759823749587/7239457928374598723984759237459723497598234 Big complex numbers: [4]> (* 572934759237495723482374957239475982374957239847523485…

Ah yes, but a small userbase!

If you're talking about userbase, I presume, Go should have less of a userbase than lisp.

Re: Implementing a bignum calculator – Rob Pike [video]

#18
post #16

Earlier quoted context omitted.

Ah yes, but a small userbase!

If you're talking about userbase, I presume, Go should have less of a userbase than lisp.

People use lisp for something other than a programming discussion talking point?

Re: Implementing a bignum calculator – Rob Pike [video]

#19
post #7

He wants to compute some bignums, so he writes an APL interpreter in Go... Now he is scratching his itch and making nice slides to boot. However, it would have been simpler for him to have typed "python" at the commandline... Python ints are arb precision :)

Lisp would be even better, as he would get the speed of compiled language.

In the video he says that he already implemented an APL interpreter in Lisp.

Re: Implementing a bignum calculator – Rob Pike [video]

#20
post #16

Earlier quoted context omitted.

If you're talking about userbase, I presume, Go should have less of a userbase than lisp.

People use lisp for something other than a programming discussion talking point?

The message board that you posted this to. Written in Arc which is a dialect of lisp.
Post reply on HN