Giter Club home page Giter Club logo

bf-compiler-tutorial-with-llvm's People

Contributors

lisapple avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bf-compiler-tutorial-with-llvm's Issues

Required LLVM 3.6

This is not the most recent released version.

If you follow the LLVM releases religiously the most recent release is 3.7.
If you follow your distribution the most recent release may be 3.5 or 3.4 (or earlier).
Distributions still include version 2.7.

All these releases are incompatible with each other, but only in the (massive amounts of) boilerplate needed AFAICS.

You need to cover this or you're already out of date.

[Question] Executable size

Hi,
Thanks for this beautiful tutorial!
It has been awesome to learn the basics of LLVM!
My question is... Do you know a way of minimizing the size of the final executable?
On my Linux the final executable has been generating about 80Mb, although I do not think that I would need so much in pure C, for example. I have a Brainfuck Interpreter that is sized 16Kb (even though small, still very big)...
I do not have any clues about the libraries I could take off when executing my Makefile...
Brainfuck is a very small language and for that, I would like to try to make a small compiler as well...
Although I understand the power of the LLVM... Brainfuck may be only too simple.

Anyways I love your tutorial!
Thank you so much!
Luiz.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.