Date: Tue, 13 Sep 2011 15:41:31 -0600 From: Chad Perrin <perrin@apotheon.com> To: freebsd-questions@freebsd.org Subject: Re: *caution* severely OT!! Message-ID: <20110913214131.GA38158@guilt.hydra> In-Reply-To: <20110913213748.GA47026@lpthe.jussieu.fr> References: <20110913213748.GA47026@lpthe.jussieu.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
--ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 13, 2011 at 11:37:48PM +0200, Michel Talon wrote: >=20 > In the case of the example cited above, there was 0 performance benefit > of using C++ over pyrex. There is a language which is syntactically > very close to python and has the same facilities, but ends up in > machine code, this could interest you, it is Common Lisp. Here the > translation would be cheap and direct. It may be that the end result is > very fast, C-like, or it may be that the end result is almost as slow > as python, there is black magic here. I really don't think I'd say that Common Lisp is "syntactically very close to python [sic]". It's not fair to either Common Lisp or Python, and in any case it really does not strike me as being very accurate at all. Given the deep semantic differences between Common Lisp and Python, I wouldn't say it would be as "cheap and direct" a translation as you describe it, either. I'm not saying Common Lisp would be a bad choice for translation of a Python program to a language that compiles to a binary executable, but your description of the language does not strike me as accurate. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --ibTvN161/egqYuK8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk5vzgsACgkQ9mn/Pj01uKWj+QCg1A5mRF+l0LRZWS0MrjqvGQWt J7AAn1ubvcvAUhUlzL1IYvJk82DkGfpC =LDd9 -----END PGP SIGNATURE----- --ibTvN161/egqYuK8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110913214131.GA38158>