Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!newsfeed0.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Request for opinions: A cross language development tool Date: Wed, 22 Jun 2016 05:28:59 +1000 Lines: 22 Message-ID: References: <57692EBD.1060606@bridge-dev.com> <576949CC.2070708@bridge-dev.com> <576980EA.2030103@bridge-dev.com> <576987D5.3030502@bridge-dev.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de Mg9r2ALqPs4IorwwRRlfpQ2G1VyQ+GHAs4j1EdfdB9wg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'cpython': 0.05; 'float': 0.05; 'bits': 0.07; 'pypy': 0.07; 'cc:addr:python-list': 0.09; '22,': 0.09; 'messing': 0.09; 'ruby,': 0.09; 'subject:language': 0.09; 'python': 0.10; 'wed,': 0.15; 'interpreter': 0.15; '*any*': 0.16; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'function?': 0.16; 'non-integers': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'storing': 0.16; 'wrote:': 0.16; 'example.': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'not,': 0.22; 'exec': 0.22; 'am,': 0.23; 'code,': 0.23; '(or': 0.23; 'header:In-Reply-To:1': 0.24; 'installed': 0.26; '(which': 0.26; 'message-id:@mail.gmail.com': 0.27; 'code': 0.30; 'included': 0.32; 'int': 0.33; 'languages': 0.34; 'received:google.com': 0.35; 'but': 0.36; 'received:209.85': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'operating': 0.37; 'received:209': 0.38; 'several': 0.38; 'data': 0.39; 'does': 0.39; 'different': 0.63; 'chrisa': 0.84; 'correctly?': 0.84; 'etc,': 0.84; 'notably,': 0.84; 'subject:tool': 0.84; 'to:none': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc; bh=k+/99L3o/8q9X+0PUNYbHXqCyDSp/F+sHvubCZkY5SI=; b=e1dh5w1G6B0xCRzw7NwVkvHnWLBHQjEi8BPon1mf4h1mwKBZCF1DBLeiNJrWjfSeMQ 5HtdsOTGUAqNyOYoJKv+ltZSnpx8gaboVgrhqqpeuxySbbv0EM3z55m24wJmfSJwuJpT r4xmDzHxmQJny3Szz/V/9aeBeUjIitz4eg3vEIAHBM4++TrcyI2sFpAYmzU1A0zvb5T1 Ha5AN4gOqZoskCPR7dqD6AIW5f8irB+yuUi1B/VCQgAaNti5sZLoA3vKA1CU47aZZwEk /8IYYPAVW57BJ5Lv7kw0Yj7wipRF98HGH9d8kg9UuiJNsBUE45+ySGINrOxGTbaaTpb+ VHdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:cc; bh=k+/99L3o/8q9X+0PUNYbHXqCyDSp/F+sHvubCZkY5SI=; b=WX/Khis84zQjegdxiDZfpO/ZPif8XeYltOr7or3Tu+g9b1Rc58n44ivgSkB/xE2IPl LpkX/S1utP/YmppQz6s2YAKk40CewvM/xN0rayzIivjhNP+J2AzmwG4oFUY1wVbk7CNB iKEDvi1j2EgSHJnj+u7f4LRJDUjN6jeZYqmGEqNbu60Fo+CovXo1P6ch56HxwMVimiRK 83h8BykEWxRnPWEv7GSeuw3mza1U9OeEsbgLyxqsOUN0EXjZ/c1bL9gH5EIIlC+O4kyR O6H2Tl8MdC2Nh/CRSCIMyHoAnGt0ECfkUtDOVBSnVZiN0D2GyyeNtkag2IcTljPT9FfP 23vQ== X-Gm-Message-State: ALyK8tIqMb7gf3oitoFDzdX13JfT186eHMSq1kkgGCxu2pg/qxmXvQTY5Xdp2QPpgYLAGon567l12SbdxIkYow== X-Received: by 10.194.70.41 with SMTP id j9mr13804506wju.30.1466537340267; Tue, 21 Jun 2016 12:29:00 -0700 (PDT) In-Reply-To: <576987D5.3030502@bridge-dev.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <57692EBD.1060606@bridge-dev.com> <576949CC.2070708@bridge-dev.com> <576980EA.2030103@bridge-dev.com> <576987D5.3030502@bridge-dev.com> Xref: csiph.com comp.lang.python:110264 On Wed, Jun 22, 2016 at 4:30 AM, Tal Zion wrote: > We use CPython's implementation of exec and eval. > (Please don't keep top-posting.) Okay. So as I understand it, this requires the full CPython interpreter to be included at run-time; how does this help you work seamlessly with other languages? How is this different from simply having CPython (or PyPy, since you're messing with performance - PyPy JIT-compiles to native code, so it can be pretty fast), Ruby, etc, etc all installed and operating separately? Here's a concrete example. Python has several data types for storing numbers. Notably, int (which can store *any* integer), and float (which can store non-integers as well, but has roughly 53 bits of storage). JavaScript has only the latter. So how can the two interoperate correctly? Can Python code call a JavaScript function? Vice versa? And if not, how seamlessly are the languages actually able to work together? ChrisA