You don't need to program with callbacks: the meaning of I/O

Full title: You don't need to program with callbacks: the meaning of I/O and the design of an I/O manager.

Speaker: Paul Chiusano.

We will begin this talk by contemplating the nature of I/O: what does a program that performs I/O mean, and how can we model such a program? Using insights obtained from this pondering, we work up to the design of an I/O library which lets us write programs that use nonblocking, event-driven I/O, but does so without requiring explicit use of callbacks in its API.

hangout afterwards at Catalyst (300 Technology Square, by Main & Albany)

At MIT, allow extra time to find the room. Enter the Stata Center at 32 Vassar Street, opposite the sign for 43 Vassar Street. Take the elevator (under a sign saying "Alexander W Dreyfoos Building" to the fourth floor. (If you find yourself instead in the Gates Building part of the Stata Center, walk to the other end of the buildling to the Dreyfoos elevators). On the fourth floor, turn left out of the elevator and then right, through double doors, straight onto orange carpet, then right.

(building doors locked? wait a few minutes for someone to go in or out, or call Seth at[masked])



Join or login to comment.

  • Paul C.

    Hi everyone, I posted the slides from the talk here (with typos and all):
    http://pchiusano.github.com/talks/callbacks-base-jan2013/nocallbacks.html There is also some (pretty well commented) source code posted here that walks through the various ways of representing IO.
    https://github.com/pchiusano/fpinscala/blob/master/answers/src/main/scala/fpinscala/iomonad/IO.scala

    That is the book 'answers' file for chapter 13 of the book, but with the comments I think it stands on its own reasonably well. :)

    February 6, 2013

  • A former member
    A former member

    Will this be broadcast/archived online? I would like to see this but am no longer in Cambridge.

    January 28, 2013

    • Seth T.

      (I don't recall seeing a volunteer with a camera at this one.)

      January 30, 2013

  • Cary S.

    Late for the meeting after difficulty trying to find parking. Ended up paying $11 to park in Technology Square garage.

    January 29, 2013

    • Steve N.

      I think I've been to four Scala meetups and have always found (free after 6) meter parking on Albany Street or Main St. Next time drive around a bit, sorry you got stuck tonight.

      January 29, 2013

  • Oliver R.

    Any one else using Scala Swing? Or what other GUI libraries can you recommend?

    January 29, 2013

    • Seth T.

      I haven't tried the Scala Swing library as it doesn't seem very well supported/maintained. But I've written tons of plain Swing code in Scala, and that works just fine.

      January 29, 2013

    • David W.

      SPDE (built on Processing) is pretty good, mature to the point of being complete. scalafx is growing nicely but isn't yet ready for a mortgage-paying project. Are there others?

      January 29, 2013

  • Cary S.

    Best (i.e., relatively cheap) place to park?

    January 29, 2013

  • ciri

    Any materials we should download ahead of time?

    January 29, 2013

  • Oliver R.

    Just for planning purposes: will there be food?

    January 28, 2013

  • A former member
    A former member

    Would love to get this one in NYC

    January 14, 2013

Our Sponsors

  • Akamai Technologies

    provides meetup space and food/drinks.

  • CodeReactive

    sponsoring Meetup dues

People in this
Meetup are also in:

Imagine having a community behind you

Get started Learn more
Bill

I started the group because there wasn't any other type of group like this. I've met some great folks in the group who have become close friends and have also met some amazing business owners.

Bill, started New York City Gay Craft Beer Lovers

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy