Sign in to follow this  

Tiny interpreter/compiler

This topic is 3737 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Interpreter and compiler are two completely different things, and media it's stored on is irrelevant.

It's the platform you want to run it on that matters.

For example, a complex Java application will be <100kb in size (GUI and all). But the run-time can be 15Mb, but you can assume it's installed on the host machine.

On the other hand, VC++ will produce an executable 8Kb in size, but the compiler platform is 300Mb.

An example would be also Java ring, which has a total 128kb memory (working and storage), but runs Java standard compliant JVM.

Share this post


Link to post
Share on other sites
Depends on what you need. The Caml Light installer is 1.55 Mb, and you could certainly rip out some of the useless data to lose a few hundred kilobytes. tinycc is around 100 kilobytes and compiles C code. javascript can be executed in any compliant browser (which most platforms have). Also, your typical linux install comes with a C compiler by default, to compile relevant things from source.

Share this post


Link to post
Share on other sites

This topic is 3737 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this