I don't really get it, is it
1) C language that gets translated into other languages ?
2) A C compiler optimized for the high level languages mentioned ?
3) Something else ?
It compiles C programs to perl or to Lua or to Java or to Lisp.
The author seems to hope that improvements in JIT technology will finally make the JIT-compiled translated programs faster than the original C program. That sounds optimistic to me, but I see two areas where this may be of use:
1. Portable execution of C code in a sand box on a web client -- just like Google Native Client, the provider of a program needs to change its build process, but the security of the VM is easier to check.
2. Checking that what you've written is ANSI/ISO C and not just, say, C for gcc on little-endian 32-bit x86 machines.
You are right on with most of what ou said. However, from the project description page, the author states the purpose as more of a "because we can! its a cool hack!" and talks about even wanting to target shell script eventually. It is just a fun hack!
In terms of actual practical value, it may be useful to allow the use of code written for one system to run on another, much more restricted system. For example, using clue you could use off-the-shelf encryption systems like gpg to work inside a web browser.
Comments
I don't really get it, is it 1) C language that gets translated into other languages ? 2) A C compiler optimized for the high level languages mentioned ? 3) Something else ?
It compiles C programs to perl or to Lua or to Java or to Lisp.
The author seems to hope that improvements in JIT technology will finally make the JIT-compiled translated programs faster than the original C program. That sounds optimistic to me, but I see two areas where this may be of use:
1. Portable execution of C code in a sand box on a web client -- just like Google Native Client, the provider of a program needs to change its build process, but the security of the VM is easier to check.
2. Checking that what you've written is ANSI/ISO C and not just, say, C for gcc on little-endian 32-bit x86 machines.
You are right on with most of what ou said. However, from the project description page, the author states the purpose as more of a "because we can! its a cool hack!" and talks about even wanting to target shell script eventually. It is just a fun hack!
And UNIX was a fun hack to play "Spacewar" :)
That's Space Travel: https://secure.wikimedia.org/wikipedia/en/wiki/Space_Travel_...
It translates C into another high level language.
In terms of actual practical value, it may be useful to allow the use of code written for one system to run on another, much more restricted system. For example, using clue you could use off-the-shelf encryption systems like gpg to work inside a web browser.
It's a C compiler that targets (generates code written in) higher level languages.
Usually, C compilers target machine code for a particular processor architecture. gcc, for instance, can 'generate code written in' x86 machine code.
Ok thanks for clarification :)