Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #110228

Request for opinions: A cross language development tool

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Tal Zion <tal@bridge-dev.com>
Newsgroups comp.lang.python
Subject Request for opinions: A cross language development tool
Date Tue, 21 Jun 2016 15:10:37 +0300
Lines 54
Message-ID <mailman.4.1466511829.11516.python-list@python.org> (permalink)
References <57692EBD.1060606@bridge-dev.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace news.uni-berlin.de WC+YHbtZlgJCjT10p8sGjQv63eSKIgfWubJsZ8J3XCGQ==
Return-Path <tal@bridge-dev.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'compiler': 0.05; 'javascript,': 0.07; 'ast': 0.09; 'buttons': 0.09; 'exceptions,': 0.09; 'parsed': 0.09; 'subject:language': 0.09; 'x86,': 0.09; 'python': 0.10; 'python.': 0.11; 'language,': 0.11; 'syntax': 0.13; 'backend': 0.15; 'java,': 0.15; 'backend.': 0.16; 'doesn\xe2\x80\x99t': 0.16; 'extensible': 0.16; 'magic': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'app': 0.16; 'translation': 0.16; "shouldn't": 0.18; 'language': 0.19; 'all,': 0.20; 'together.': 0.20; 'java': 0.22; 'platform,': 0.22; 'programming': 0.22; 'ease': 0.23; 'thanks,': 0.24; 'import': 0.24; 'written': 0.24; 'header:User-Agent:1': 0.26; 'developers': 0.26; 'mostly': 0.27; 'translated': 0.27; 'developing': 0.28; 'for,': 0.29; 'servers.': 0.29; 'classes': 0.30; "we're": 0.30; 'code': 0.30; 'web.': 0.30; 'compiled': 0.32; 'language.': 0.32; 'run': 0.33; 'source': 0.33; 'common': 0.33; 'open': 0.33; 'languages': 0.34; 'could': 0.35; 'stopped': 0.35; 'supports': 0.35; 'project': 0.36; 'there': 0.36; 'basic': 0.36; 'to:addr :python-list': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'being': 0.37; 'means': 0.39; 'why': 0.39; 'does': 0.39; 'to:addr:python.org': 0.40; 'called': 0.40; 'easy': 0.60; 'your': 0.60; 'share': 0.61; 'today,': 0.62; 'matter': 0.63; 'bridge': 0.63; 'more': 0.63; 'excited': 0.63; 'hear': 0.64; 'today': 0.65; 'soon': 0.65; 'developed': 0.66; 'inherit': 0.66; 'choose': 0.68; 'opinions': 0.71; 'friend': 0.81; 'bridge.': 0.84; 'subject:tool': 0.84; 'we\xe2\x80\x99d': 0.84; 'received:il': 0.91; 'swift': 0.91; 'we\xe2\x80\x99re': 0.91
DKIM-Signature v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bridge-dev.com; s=default; h=Content-Type:MIME-Version:Date:Message-ID:Subject:From:To; bh=DrBQCCfXnrwZYw/jUcizFLUjhSqeKoYQ8nLRTHen/ow=; b=RQO9674YfQCGEgSl9WLVrR5sbEAGZ4hSe2uDoMmbMozCFGxpMIS44QOEvaXmBU8ysSZECzNqs+vNrRCYWN+TgLoEUiOi4MTO9NPo3tFAmnEBRKk7mLLWanPu+K77vfcpatv+V0W0ARJqmq248LGhaOfh5BTw6oUBXSXd9j4f5Z55Ue49zMU18g9SAoAxfTE5lcVB6/ZVaUaqDIJE4C9O43xS7XZwu5FUNv6Cxdez4Rn4dn0I6sWQseGc0OzH0+I9Cozg4sMXCTP+eWW8+3ydwrp2Rs1GZdwoup51HZRZghhqHZcDK28op7cCkQJ3b/oGIt1hDIjaLVjOy2wmjyJi3Q==;
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - n1plcpnl0079.prod.ams1.secureserver.net
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - bridge-dev.com
X-Get-Message-Sender-Via n1plcpnl0079.prod.ams1.secureserver.net: authenticated_id: tal@bridge-dev.com
X-Source
X-Source-Args
X-Source-Dir
X-CMAE-Envelope MS4wfPG6H/RDP36pQx87DUkAu03x7EyrHPUD2/8GO1j2SZ85SO4tCadxDdEja5dl6zxYeSCoF6m/8Vt2D8OjbgMnVa8qKb0/pzqifqLt5R9n6Hn8fXumUvoA pg73i84rxseV7iTV9REzc1KGnSuJL/+wxCGxB+GgrWM8CYDmklCPwDlPzf3WHug9pU27GZn/5tX0xbGFiMEDCC4luUk1Fd/Vuw4=
X-Mailman-Approved-At Tue, 21 Jun 2016 08:23:48 -0400
X-Content-Filtered-By Mailman/MimeDel 2.1.22
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <57692EBD.1060606@bridge-dev.com>
Xref csiph.com comp.lang.python:110228

Show key headers only | View raw


*

Hey!

I would like to know your opinions about a project a friend and I have 
been developing for about a year now, which we really think could 
empower Python. Today Python is mostly used on servers. Many people who 
want to develop an app will choose Python to write the backend and 
develop frontends in Java, Swift, Javascript, etc. We think Python is 
great, and we don't see why we shouldn't be able to write a native iOS, 
Android or web app entirely in Python. After all, these languages share 
the same concepts, more or less (classes, functions, exceptions, etc) 
and what really separates them is syntax. We're proposing a new 
approach: developers will code in their favorite language, such as 
Python (woot woot!), and be able to import Java, Swift and Javascript 
code from Python, and use that code as if it were written in Python. 
Python code will run on just about any platform, including the web.


**

So how does this magic work? We developed a new compiler platform called 
Bridge. At the heart of Bridge is the Bridge Extensible Code 
Representation (BECR). Code in any language is parsed into an AST and is 
then translated to the BECR. The BECR supports common programming 
concepts (if, for, while, etc) and it can also be extended to support 
new concepts in order to ease the translation from the source language. 
Therefore, the translation from the source language’s AST to the BECR is 
easy as it**merely translates syntax. Then, Bridge translates the BECR 
to LLVM IR and from there the code can be compiled to x86, arm, asm.js 
or any other LLVM backend*. *After code has been translated to BECR, it 
doesn’t matter what the source language was, and the syntax barriers 
that stopped languages from working together disappear. This means that 
once more languages will be translated to the BECR, they will be able to 
work seamlessly together.

**

Today, we have a basic demo showing an Android app written in Python 
displaying native Android buttons and labels inside a native scroll 
view. In this demo, Python code can import Java classes and inherit from 
them.


Soon Bridge will be released as an open source project. We’d love to 
hear your opinions about this project. We’re really excited and we can’t 
wait to see Python being used in more and more places!


**

Thanks, Tal**

*

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Request for opinions: A cross language development tool Tal Zion <tal@bridge-dev.com> - 2016-06-21 15:10 +0300
  Re: Request for opinions: A cross language development tool Christian Gollwitzer <auriocus@gmx.de> - 2016-06-21 14:39 +0200
    Re: Request for opinions: A cross language development tool Tal Zion <tal@bridge-dev.com> - 2016-06-21 17:06 +0300
      Re: Request for opinions: A cross language development tool BartC <bc@freeuk.com> - 2016-06-21 19:02 +0100
    Re: Request for opinions: A cross language development tool Chris Angelico <rosuav@gmail.com> - 2016-06-22 03:36 +1000
    Re: Request for opinions: A cross language development tool Tal Zion <tal@bridge-dev.com> - 2016-06-21 21:01 +0300
      Re: Request for opinions: A cross language development tool Laurent Pointal <laurent.pointal@free.fr> - 2016-06-23 09:36 +0200
        Re: Request for opinions: A cross language development tool Marko Rauhamaa <marko@pacujo.net> - 2016-06-23 12:07 +0300
    Re: Request for opinions: A cross language development tool Chris Angelico <rosuav@gmail.com> - 2016-06-22 04:26 +1000
    Re: Request for opinions: A cross language development tool Tal Zion <tal@bridge-dev.com> - 2016-06-21 21:30 +0300
    Re: Request for opinions: A cross language development tool Chris Angelico <rosuav@gmail.com> - 2016-06-22 05:28 +1000
  Re: Request for opinions: A cross language development tool Steven D'Aprano <steve@pearwood.info> - 2016-06-22 02:25 +1000

csiph-web