Learn how to write a simple compiler

  • February 22, 2012 · 7:00 PM
  • This location is shown only to members

Over about an hour I'm going to try to: 

1) Talk a little about compilers and program translation. 

2) Explain the basic structure of LLVM and its OCaml bindings. 

3) Introduce a little embedded language ("aww ain't it cute?")

4) Compile above language to native code using LLVM

5) Hopefully beat the pants off OCaml's native compiler

I haven't written anything yet, so wish me luck.

Join or login to comment.

  • Rolf Levenbach

    Very interesting to me as I am learning about interpreters/compilers and functional languages.

    February 24, 2012

  • Mitchell

    Great talk, thanks a bunch!

    February 23, 2012

  • Sebastien Mondet

    Interesting, dynamic, and well detailed.
    Best explanation of SSA/Phi-nodes I've ever heard or read !

    February 23, 2012

  • A former member
    A former member

    badass

    February 23, 2012

  • Matthew Horan

    Clear and concise presentation, with a great walkthrough demo.

    February 23, 2012

  • Niki Yoshiuchi

    Alex tackled a very difficult topic and managed to cover a surprising amount of material in an hour.

    February 23, 2012

  • Jon Shea

    Awesome. Thank you!

    February 23, 2012

  • Ashish Agarwal

    Thanks Alex for a clear talk on a complex topic! And we had a great turnout. Thanks to Jane Street and Sam for being great hosts again.

    February 23, 2012

  • Nick Zalutskiy

    Loved it, and learned a lot. I have neither OCaml, nor LLVM, nor any compiler experience, yet was able to follow along reasonably well. Alex did a great job, had an intuitive feel for when things were getting a little too complex, and was able to answer all questions.

    February 22, 2012

  • Sam DeFabbia-Kane

    Sure, will do.

    February 17, 2012

  • Yaron Minsky

    Yeah, we should be able to tape it. Sam, can you make sure to talk to Dimas to make sure it gets taped?

    February 17, 2012

  • Ashish Agarwal

    Hi Sam. Is it possible to have it video taped? That would be great!

    February 17, 2012

  • Jimmy Ruska

    Thanks. Never been to NYC anyway so still considering passing by. Sounds like it would be worth it.

    February 16, 2012

  • Sam DeFabbia-Kane

    Alex: yep, same room. And yes, the main entrance is on the 33rd floor. I imagine we'll be able to tape it if people would like.

    February 15, 2012

  • Alex Rubinsteyn

    Not sure if it will be videotaped but I'll put code in a git repository when I'm done.

    February 15, 2012

  • Jimmy Ruska

    Will this be put online? Or at least source examples online?

    February 15, 2012

  • Alex Rubinsteyn

    Same room? Was that on the 33rd floor?

    February 15, 2012

  • Sam DeFabbia-Kane

    Yep, we should be fine to host it at Jane Street.

    February 15, 2012

  • Ashish Agarwal

    Hi Sam, Yaron. So are we confirmed to hold this at Jane Street? That would be great, but I can still book a room at NYU if needed. Let us know. Thanks.

    February 15, 2012

  • Siraaj Khandkar

    Dang, I just found-out about an intro lecture on lock-free algorithms going-on at the same time... Going to be meditating on this decision until the last minute... sigh...

    http://www.skillshare.com/Intro...­

    February 8, 2012

  • Yaron Minsky

    Indeed, doing it at Jane Street sounds great.

    January 28, 2012

  • Sam DeFabbia-Kane

    I'm pretty sure having it at Jane Street again will be fine. I pinged Ron today about it, he should confirm soon.

    January 27, 2012

  • Alex Rubinsteyn

    Great, the 22nd it is!

    January 27, 2012

  • Niki Yoshiuchi

    Same here, the 22nd is perfect.

    January 27, 2012

  • Siraaj Khandkar

    Wed, the 22nd sounds good to me as well.

    January 27, 2012

  • Matthew Horan

    Works for me.

    January 27, 2012

  • A former member
    A former member

    How about the following Wednesday, the 22nd? Matthew, Niki and I can all attend then.

    January 27, 2012

  • Niki Yoshiuchi

    I too have class on Monday, but from 6-8:30 (as well as Thursday).

    January 26, 2012

  • A former member
    A former member

    Would the meetup happen after 7pm on Monday the 13th? I have class from 5-7 on Mondays, but I'd love to attend.

    January 26, 2012

  • Sam DeFabbia-Kane

    Monday the 13th is fine for me. I'll try to see whether the room will be available tomorrow.

    January 24, 2012

  • Alex Rubinsteyn

    Sam, you're right: I was looking at the wrong month. How is Monday the 13th? Or if that doesn't work for someone, how about the week of the 20th-24th?

    January 24, 2012

  • Siraaj Khandkar

    Any Wednesday after 8th sounds good to me as well.

    January 24, 2012

  • Sam DeFabbia-Kane

    There's not another Wednesday the 18th until April. Were you looking at the calendar for January? For upcoming Wednesdays, any except February 8th works for me.

    January 23, 2012

  • Matthew Horan

    I'll be out of town from the 14th to the 21st, so I'm hoping this will fall somewhere outside of that.

    January 23, 2012

  • Alex Rubinsteyn

    How does Wednesday the 18th sound?

    January 23, 2012

  • Ashish Agarwal

    I'm in town all of February, so any evening should work for me. I'd leave Menhir for another day; LLVM should fill up an evening easily.

    January 22, 2012

Our Sponsors

People in this
Meetup are also in:

Start a Meetup Group for people like you

Log in

Not registered with us yet?

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