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 L.

    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 M.

    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 H.

    Clear and concise presentation, with a great walkthrough demo.

    February 23, 2012

  • Niki Y.

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

    February 23, 2012

  • Jon S.

    Awesome. Thank you!

    February 23, 2012

  • Ashish A.

    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 Z.

    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

    Sure, will do.

    February 17, 2012

  • Yaron M.

    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 A.

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

    February 17, 2012

  • Jimmy R.

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

    February 16, 2012

  • Sam

    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 R.

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

    February 15, 2012

  • Jimmy R.

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

    February 15, 2012

  • Alex R.

    Same room? Was that on the 33rd floor?

    February 15, 2012

  • Sam

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

    February 15, 2012

  • Ashish A.

    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 K.

    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 M.

    Indeed, doing it at Jane Street sounds great.

    January 28, 2012

  • Sam

    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 R.

    Great, the 22nd it is!

    January 27, 2012

  • Niki Y.

    Same here, the 22nd is perfect.

    January 27, 2012

  • Siraaj K.

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

    January 27, 2012

  • Matthew H.

    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 Y.

    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

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

    January 24, 2012

  • Alex R.

    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 K.

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

    January 24, 2012

  • Sam

    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 H.

    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 R.

    How does Wednesday the 18th sound?

    January 23, 2012

  • Ashish A.

    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

40 went

Our Sponsors

People in this
Meetup are also in:

Imagine having a community behind you

Get started Learn more
Henry

I decided to start Reno Motorcycle Riders Group because I wanted to be part of a group of people who enjoyed my passion... I was excited and nervous. Our group has grown by leaps and bounds. I never thought it would be this big.

Henry, started Reno Motorcycle Riders

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