Why is python not written in C++ ?

John Bokma john at castleamber.com
Tue Aug 3 05:34:49 EDT 2010


Albert Hopkins <marduk at letterboxes.org> writes:

> But I wonder if someone has/has tried to write a programming language in
> C++ and what were their experiences.

  The Low Level Virtual Machine (LLVM) is a compiler infrastructure,
  written in C++, which is designed for compile-time, link-time,
  run-time, and "idle-time" optimization of programs written in
  arbitrary programming languages. Originally implemented for C/C++, the
  language-independent design (and the success) of LLVM has since
  spawned a wide variety of front ends, including Objective-C, Fortran,
  Ada, Haskell, Java bytecode, Python, Ruby, ActionScript, GLSL, and
  others.

http://en.wikipedia.org/wiki/LLVM

  Unladen Swallow is a branch of Python intended to be fully compatible
  and significantly faster. It uses LLVM's optimization passes and JIT
  compiler.

http://llvm.org/ProjectsWithLLVM/#unladenswallow

-- 
John Bokma                                                               j3b

Hacking & Hiking in Mexico -  http://johnbokma.com/
http://castleamber.com/ - Perl & Python Development



More information about the Python-list mailing list