Python Focus Group Proposals and Plans for Officially Supporting Python in the Accelerator Sector

Total Page:16

File Type:pdf, Size:1020Kb

Python Focus Group Proposals and Plans for Officially Supporting Python in the Accelerator Sector Python Focus Group Phase 2 or "Accelerating Python" Felix Ehm, Ivan Sinkarenko, Vito Baggiolini, BE-CO-APS 1 Introduction Vito Baggiolini 2 History of Python in the Acc Sector and CO • 2015: request from MD and equipment groups to CO • 2016 1st BE Seminar on “Python tools for machine data analysis and equipment control” with 60 participants • 2016: Evian presentation “Breaking the Wall between OP and Expert Tools” Collaborate to make Expert GUIs usable also in operations • 2016: Evian: CO announces Python Focus Group (Chaired by David Cobas) • 2017: CO provides a standard Python distribution based on EP/SFT distrib. • 2017: Evian presentation “A users view on exploiting the control system in MDs” Promote Python to make useful tools both for MD and operations • 2018: Two new LD allocated to CO: one for Python GUIs/RAD (here) and one for Python as a Platform (coming) 3 CO is now fully committed to supporting Python • Main working areas • Python as a Development Platform => Felix + 2nd LD • Python for GUIs/RAD => Ivan (1st LD) • Python APIs to the control system => Vito + 2nd LD • CO uses Python also elsewhere: • NXCALS (Spark Python API) • Unified Controls Acquisition Processing (UCAP) virtual device framework • LN4 source control • Encore/Edge, Cheby • Etc. How and what we want to contribute • Join, participate and accelerate ;-) • Identify users and contributors; understand your needs and requirements • Consolidate and improve (the partly existing) infrastructure and tools • Contribute to Python Controls APIs (pyJAPC, pjLSA, pyRDA, ...), and gradually take over maintenance and support • Organize training courses and promote other learning resources • Recommend SW engineering best practices, especially for operational software • We hope that the community will remain as active as they are now • Learn from your existing expertise • Develop together with you, support new ideas • Rely on you for local first-line support • This is just the beginning of a new Phase - please shape this work with us! 5 Python as a development Platform Felix Ehm - Development Tools Team 6 Content • Context & Current State • Plans for 2019 • Further Contributions • Summary 7 Context CO got officially appointed to • Provide a standardized development & execution environment for Python code • Take over existing Python libraries for accelerator controls Development Tools Team Felix Zsolt New Staff Mikkel ~July 2019 Feb 2019 8 Context April 2017: Initiation of the Python focus group Dec 2017: A Python(3) distribution available Since end of 2018 • We reviewed of current base Python distribution • We collected use cases and requirements from developers (ABP, BI, RF, ICS, CO, OP, MPE, EPC) So far, our (little) work was in the background - now we like to join the community actively. 9 Current State • BE-CO Python distro based on LCG-93 community version from EP-SFT • Current version from 2/2018, NFS based, available from TN • Packaged by David with a set of commonly used libraries (requests, numpy, scipy, ..) • Activated by a virtual environment • Third-party packages from pypi.org are installed through private SSH tunnels • Newer version of module is requested • TN is a restriction to reach packages in global index • Code is shared/re-used in several ways: distro, GIT, NFS or pypi.org • Python APIs for Controls are widely used • So far developed & maintained by individual users • CO has taken over responsibility for pyJAPC • Various ways of deploying/running Python code: NFS, GIT 10 Outstanding requests we got… • Packaged Python distribution for local installation • Access to 3rd Party libraries on pypi.org • Access to newer package than the one in the distribution Most • Consensus on coding standards wanted • Standards on how to deploy and run Python code • Develop / run on TN / GPN 11 The Process – An Iterative Evolution Initial Situation Build upon the existing decisions & profit from existing expertise in the community Rollout Proposal Review Implementation 12 Plans for 1st half 2019 • Python Distribution • Update 3rd Party modules according to LCG95 • Provide installable package & organize deployment on Linux Controls machines • Decide on where in-house packages will be shared • Repository (Python Package Index) Service • Creation of an in-house package index for uploading packages (also from TN) • Enable access to pypi.org for 3rd party packages (also from TN) • Recommendations for tools, procedures, configuration • Maintenance for existing Control APIs = > see Vito’s slide 13 Plans for 2nd half 2019 - Further Contributions • Development Environment • Provision of IDE and bootstrap mechanism => automate common tasks • Support usage of quality assurance tools/procedures • Advocate of Python best practices E.g. code formatting, testing, dependency management • Deployment & Execution in the operational environment • Recommendations for deploying and running Python software • Recommendation for sharing packages • Lifecycle management of products • Releasing new version, deprecation, cleanup 14 Current Progress and next steps • A Nexus PyPI is available for testing: http://acc-python-repo:8081/ • Allows access to pypi.org & upload packages (GPN & TN) • New distribution expected for mid April 2019 for testing • Based on own view from SFT team: /cvmfs/sft.cern.ch/lcg/views/devBE independent from LCG built - we can add/remove packages as we like • Entry point is no longer a virtual environment • First version of bootstrap mechanism April 2019 • Comes with pip config, linting tools, supports upload of packages 15 Organization • Entry point: Python Wikis Getting started guide, recommendations, communication links,.. • Stay connected: AccPy Mattermost - post questions & answer them :-) • “I have a problem with pyTIMBER: … Anyone experiencing the same?” • “Can we upgrade package XXX in the distro because of …” • “#release #pyJAPC New pyJAPC 3.2 available to testing.” • More regular Accelerating-Python meetings 16 Summary • We join the Python party :-) • We want to evolve and prosper the Python ecosystem • We have concrete plans to address high priority demands • We seek collaboration to create your development environment Getting started https://wikis.cern.ch/display/ACCPY/ Support & Requests: [email protected] Mattermost: https://mattermost.web.cern.ch/py-acc 17 Python for GUI & Rapid Application Development Ivan Sinkarenko 18 Content • Current situation & vision • GUI Platform • Rapid Application Development • Knowledge base • Plans for 2019 19 Current situation Operational applications in CCC are implemented using: • Swing/JavaFX • Inspector • PyQt • ... So far, there was no officially recognized way to develop Python GUIs. • It lead to many ad-hoc applications and fragmented development. 20 Vision for Python GUI development We are aiming to offer: • A PyQt-based ecosystem • Custom set of widgets • RAD framework • Guidance & best practices 21 What we’ve done so far… • Update of the strategy for GUIs • Evaluated QML • Analysis of Qt charting libraries • Proof of concept for PS fixed display • Proof of concept for RAD 22 Qt Qt is a cross-platform C++ framework that has been most known for GUI development. It is used in a wide variety of industries, from coffee- machine screens to automotive dashboards and smartphones. • 2 ways of developing GUIs: Qt Widgets & QtQuick/QML Widgets • Shipped as a set of libraries. • Full distribution comes with development tools • Qt Creator → Main IDE for C++/Qt • Qt Designer → WYSIWYG editor for Qt Widgets • QtQuick Designer → WYSIWYG editor for QtQuick widgets • etc... 23 PyQt PyQt is a set of Python bindings to Qt • Powered by SIP binding generator • Both PyQt and SIP are made by Riverbank company Just like Qt, PyQt provides flexible developer experience: • WYSIWYG (Using Qt Designer) for simple use-cases • Code-centric approach • Hybrid 24 Planned PyQt platform PyQt distribution will be decoupled from Python distribution • Qt 5.12 (LTS) • PyQt 5.12 (+ Qt Designer plugin) • SIP 4.19 Keep in mind: • GUI development will be based on Qt Widgets • No plans to support QML, but we still can include it in the distribution 25 Planned PyQt platform Qt Designer available as a standalone application. • Qt Creator is not part of the distribution • Code editing is done in Python IDE of your choice (we like PyCharm) Possibilities to tailor Qt Designer to be more developer-friendly: • Custom widgets • Property sheet • Context menu • Action sheet 26 Qt Designer Example plugin 27 Custom PyQt widgets Besides the standard Qt Widgets, we want to provide a set of custom widgets common in CERN applications, e.g. • Spinner control • Charts • ... Users can develop and share their own widgets • Sharing approach can be later agreed with the devtools team 28 Rapid Application Development in the Acc Sector Rapid Application Development (RAD) • Enable people who don’t have much knowledge about software to develop simple GUIs • Ideal for prototypes & throw-away applications, however... • When something simple is created at first, it could be later evolved into an operational application for the control room. We want to enable evolution of the RAD GUIs into full-fledged PyQt GUIs! • Might require some additional expertise 29 Rapid Application Development in the Acc Sector Example use-cases: • Applications needed during development of a machine • Applications for equipment testing • Fixed displays (Vistars) 30 Planned RAD framework • Based on PyQt • Launcher + frame of the application (PyDM @ SLAC) • Device/property model integration provided
Recommended publications
  • Python Qt Tutorial Documentation Release 0.0
    Python Qt tutorial Documentation Release 0.0 Thomas P. Robitaille Jun 11, 2018 Contents 1 Installing 3 2 Part 1 - Hello, World! 5 3 Part 2 - Buttons and events 7 4 Part 3 - Laying out widgets 9 5 Part 4 - Dynamically updating widgets 13 i ii Python Qt tutorial Documentation, Release 0.0 This is a short tutorial on using Qt from Python. There are two main versions of Qt in use (Qt4 and Qt5) and several Python libraries to use Qt from Python (PyQt and PySide), but rather than picking one of these, this tutorial makes use of the QtPy package which provides a way to use whatever Python Qt package is available. This is not meant to be a completely exhaustive tutorial but just a place to start if you’ve never done Qt development before, and it will be expanded over time. Contents 1 Python Qt tutorial Documentation, Release 0.0 2 Contents CHAPTER 1 Installing 1.1 conda If you use conda to manage your Python environment (for example as part of Anaconda or Miniconda), you can easily install Qt, PyQt5, and QtPy (a common interface to all Python Qt bindings) using: conda install pyqt qtpy 1.2 pip If you don’t make use of conda, an easy way to install Qt, PyQt5, and QtPy is to do: pip install pyqt5 qtpy 3 Python Qt tutorial Documentation, Release 0.0 4 Chapter 1. Installing CHAPTER 2 Part 1 - Hello, World! To start off, we need to create a QApplication object, which represents the overall application: from qtpy.QtWidgets import QApplication app= QApplication([]) You will always need to ensure that a QApplication object exists, otherwise your Python script will terminate with an error if you try and use any other Qt objects.
    [Show full text]
  • Testing Pyside/Pyqt Code Using the Pytest Framework and Pytest-Qt
    Testing PySide/PyQt Code Using the pytest framework and pytest-qt Florian Bruhin “The Compiler” Bruhin Software 06. November 2019 Qt World Summit, Berlin About me • 2011: Started using Python • 2013: Started using PyQt and developing qutebrowser • 2015: Switched to pytest, ended up as a maintainer • 2017: qutebrowser v1.0.0, QtWebEngine by default • 2019: 40% employed, 60% open-source and freelancing (Bruhin Software) Giving trainings and talks at various conferences and companies! Relevant Python features Decorators registered_functions: List[Callable] = [] def register(f: Callable) -> Callable: registered_functions.append(f) return f @register def func() -> None: .... Relevant Python features Context Managers def write_file() -> None: with open("test.txt", "w") as f: f.write("Hello World") Defining your own: Object with special __enter__ and __exit__ methods. Relevant Python features Generators/yield def gen_values() -> Iterable[int] for i in range(4): yield i print(gen_values()) # <generator object gen_values at 0x...> print(list(gen_values())) # [0, 1, 2, 3] PyQt • Started in 1998 (!) by Riverbank Computing • GPL/commercial • Qt4 $ PyQt4 Qt5 $ PyQt5 PySide / Qt for Python • Started in 2009 by Nokia • Unmaintained for a long time • Since 2016: Officially maintained by the Qt Company again • LGPL/commercial • Qt4 $ PySide Qt5 $ PySide2 (Qt for Python) Qt and Python import sys from PySide2.QtWidgets import QApplication, QWidget, QPushButton if __name__ == "__main__": app = QApplication(sys.argv) window = QWidget() button = QPushButton("Don't
    [Show full text]
  • A Pyqt GUI for a Soc Design a Pyqt GUI for a Soc Design SMR3249
    Jose´ Antonio de la Torre las Heras Universidad de Castilla-La Mancha SMR3249 A PyQT GUI for a SoC design A PyQT GUI for a SoC design SMR3249 Contents 1 Vivado and SDK 4 2 main.c 9 3 Opening development environment 9 4 Designing the interface 11 4.1 Design in QtDesigner . 11 4.2 Exporting the interface . 18 5 Programming the controller 19 6 Testing the design 26 7 Optional exercises 31 7.1 Add controls to select a serial device and baudrate (easy) . 31 7.2 Use layouts to make tabs responsive . 31 7.3 Modify how pyqtgraph looks (easy) . 31 7.4 Modify how data is sent . 31 1 A PyQT GUI for a SoC design SMR3249 Introduction In this tutorial, you will learn how to communicate external devices like pmods sensors, and leds from Zedboard to a PC (frontend). In order to avoid privative software like: Matlab, Visual Basic, Labview. In this laboratory, we are going to use Python and different libraries which are completely free and open source. The advantages of using these kind of technologies are the following ones: you have control over all parts of your system and you don't need to trust in external companies and private design cycles. In this project, you will learn how to integrate a fully functional project from a reconfigurable part to high level programming in Python. The main objective of the project is that the student, at the end, understands how to integrate all the parts to create a final product. Objectives • To design a fully functional GUI (Graphical User Interface) • To create a controller of the GUI • To connect a Zedboard to the GUI • To control a Zedboard from the GUI • To get data and plot from Zedboard Procedure This project has different parts.
    [Show full text]
  • Download Pyqt Tutorial (PDF Version)
    PyQt About the Tutorial PyQt is a GUI widgets toolkit. It is a Python interface for Qt, one of the most powerful, and popular cross-platform GUI library. PyQt is a blend of Python programming language and the Qt library. This introductory tutorial will assist you in creating graphical applications with the help of PyQt. Audience This tutorial is designed for software programmers who are keen on learning how to develop graphical applications using PyQt. Prerequisites You should have a basic understanding of computer programming terminologies. A basic understanding of Python and any of the programming languages is a plus. Disclaimer & Copyright Copyright 2015 by Tutorials Point (I) Pvt. Ltd. All the content and graphics published in this e-book are the property of Tutorials Point (I) Pvt. Ltd. The user of this e-book is prohibited to reuse, retain, copy, distribute or republish any contents or a part of contents of this e-book in any manner without written consent of the publisher. We strive to update the contents of our website and tutorials as timely and as precisely as possible, however, the contents may contain inaccuracies or errors. Tutorials Point (I) Pvt. Ltd. provides no guarantee regarding the accuracy, timeliness or completeness of our website or its contents including this tutorial. If you discover any errors on our website or in this tutorial, please notify us at [email protected]. i PyQt Table of Contents About the Tutorial ..............................................................................................................................................
    [Show full text]
  • Introduction to GUI Development Using Qt
    Introduction to GUI development using Qt Paolo Quadrani – [email protected] Andrea Negri – [email protected] SuperComputing Applications and Innovation Department What is Qt ● Qt is a cross-platform development framework written in C++ ● Can be used in several programming languages through bindings ● Ruby ● Java ● Perl ● Python → PyQt ● The Qt Toolkit is a collection of classes for various purposes ● Database management ● XML ● WebKit ● Multimedia ● Networking ● ... ● For desktop, mobile and embedded development ● Used by more than 350,000 commercial and open source developers ● Backed by Qt consulting, support and training ● Trusted by over 6,500 companies worldwide Qt modules Qt brief timeline ● Qt Development Frameworks founded in 1994 ● Trolltech acquired by Nokia in 2008 ● Qt Commercial business acquired by Digia in 2011 ● Qt business acquired by Digia from Nokia in 2012 Why Qt • Write code once to target multiple platforms • Produce compact, high-performance applications • Focus on innovation, not infrastructure coding • Choose the license that fits you • Commercial, LGPL or GPL • Count on professional services, support and training PyQt ● PyQt is a set of Python bindings for Qt framework ● Bindings implemented as Python modules (620+ classes) ● Almost the entire Qt library is available ● Take advantage of both languages key strength ● Python: easy to learn, lot of extensions, no compilation required ● Qt: abstraction of platform-specific details, GUI designer “Hello world” in PyQt 1/2 from PyQt4.QtCore import * from PyQt4.QtGui
    [Show full text]
  • Our Journey from Java to Pyqt and Web for Cern Accelerator Control Guis I
    17th Int. Conf. on Acc. and Large Exp. Physics Control Systems ICALEPCS2019, New York, NY, USA JACoW Publishing ISBN: 978-3-95450-209-7 ISSN: 2226-0358 doi:10.18429/JACoW-ICALEPCS2019-TUCPR03 OUR JOURNEY FROM JAVA TO PYQT AND WEB FOR CERN ACCELERATOR CONTROL GUIS I. Sinkarenko, S. Zanzottera, V. Baggiolini, BE-CO-APS, CERN, Geneva, Switzerland Abstract technology choices for GUI, even at the cost of not using Java – our core technology – for GUIs anymore. For more than 15 years, operational GUIs for accelerator controls and some lab applications for equipment experts have been developed in Java, first with Swing and more CRITERIA FOR SELECTING A NEW GUI recently with JavaFX. In March 2018, Oracle announced that Java GUIs were not part of their strategy anymore [1]. TECHNOLOGY They will not ship JavaFX after Java 8 and there are hints In our evaluation of GUI technologies, we considered that they would like to get rid of Swing as well. the following criteria: This was a wakeup call for us. We took the opportunity • Technical match: suitability for Desktop GUI to reconsider all technical options for developing development and good integration with the existing operational GUIs. Our options ranged from sticking with controls environment (Linux, Java, C/C++) and the JavaFX, over using the Qt framework (either using PyQt APIs to the control system; or developing our own Java Bindings to Qt), to using Web • Popularity among our current and future developers: technology both in a browser and in native desktop little (additional) learning effort, attractiveness for new applications.
    [Show full text]
  • Web Development India
    WEB DEVELOPMENT INDIA Similar sites like www.tutorialspoint.com www.w3schools.com www.java2s.com www.tizag.com www.mkyong.com www.codecademy.com www.roseindia.net docs.oracle.com/javase/tutorial/ www.stackoverflow.com tutorials.jenkov.com imp……………………………………………….. http://www.xislegraphix.com/website-types.html http://orthodoxdaily.com/types-of-websites/ http://webstyleguide.com/wsg3/1-process/6-types-of-sites.html http://www.virtualmv.com/wiki/index.php?title=Internet:Types_of_Website http://www.marketingcharts.com/wp/online/which-types-of-websites-do-most-americans-visit- frequently-37970/ http://www.2createawebsite.com/prebuild/website-needs.html http://www.tomakewebsite.com/types-of-websites.html http://one-blog-wonder.tumblr.com/post/29818346464/what-types-of-websites-are-there http://www.roseindia.net/services/webdesigning/corporatewebsitedesign/Different-Kinds-of- Website.shtml http://www.marketingprofs.com/charts/2013/12083/which-types-of-websites-are-visited-most- frequently http://webdesignpeeps.com/types-of-websites/ http://www.webdesignerdepot.com/2011/11/navigation-patterns-for-ten-common-types-of- websites/ http://www.teach-ict.com/gcse_new/software/web_design/miniweb/pg2.htm http://www.methodandclass.com/article/what-are-the-different-types-of-web-site http://www.webmasterview.com/2013/03/three-types-of-website/ http://www.chinkin.com/Web-Design/Types-of-Website http://www.designer-daily.com/8-types-of-sites-you-can-build-with-drupal-13924 http://www.mediatopia.co.uk/types-of-websites .................................................................................WEB
    [Show full text]
  • Hard Real Time Quick EXAFS Data Acquisition with All Open Source Software on a Commodity Personal Computer Brookhaven National L
    BNL-79366-2007-CP Hard Real Time Quick EXAFS Data Acquisition With All Open Source Software On A Commodity Personal Computer I. So, D.P. Siddons, W.A. Caliebe and S. Khalid Proceedings of Synchrotron Radiation Instrumentation (SRI 2007) Baton Rouge, LA / April 25 - 27, 2007 October 2007 National Synchrotron Light Source Brookhaven National Laboratory P.O. Box 5000 Upton, NY 11973-5000 www.bnl.gov Notice: This manuscript has been authored by employees of Brookhaven Science Associates, LLC under Contract No. DE-AC02-98CH10886 with the U.S. Department of Energy. The publisher by accepting the manuscript for publication acknowledges that the United States Government retains a non-exclusive, paid-up, irrevocable, world-wide license to publish or reproduce the published form of this manuscript, or allow others to do so, for United States Government purposes. This preprint is intended for publication in a journal or proceedings. Since changes may be made before publication, it may not be cited or reproduced without the author’s permission. BNL-79366-2007-CP DISCLAIMER This report was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor any agency thereof, nor any of their employees, nor any of their contractors, subcontractors, or their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or any third party’s use or the results of such use of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights.
    [Show full text]
  • KDE E.V. Quarterly Report 2008Q3/Q4
    Quarterly Report Q3/2008 & Q4/2008 solid accounting and valuable organizational skills month after month, year after year. As such, I am more than confident in his stepping into the President's chair. Cornelius will also benefit from the solid board members that have helped us build KDE e.V. over the past few years into what it has become. We should all be quite proud of what we have achieved Dear KDE e.V. member, within this organization. It has never been as robust, professional and effective. In the spirit of continuous When one is busy, time flies by quicker than one expects. improvement, I am equally sure we will be able to say the They say the same thing happens when you're having fun. same thing in five years time. When I look at the calendar and realize that we're already into the second month of 2009, I'm struck with just how I would also take this opportunity to ask each and every quickly 2008 melted away. It's safe to say that we were one of the members of our society to examine their own both hard at work and having fun in the process. involvement within KDE e.V. It operates smoothly only because we have members who step up and help get things Going forward, we have a series of very exciting programs done. We achieve things together that we can not achieve underway, probably not least of which is a new Individual alone. Supporting Members program. We also have the Gran Canaria Desktop Summit, which is an experiment in co- These activities range from the simple task of voting (and locating Akademy with GUADEC.
    [Show full text]
  • Rapid GUI Programming with Python and Qt: the Definitive Guide to Pyqt Programming
    Rapid GUI Programming with Python and Qt: The Definitive Guide to PyQt Programming Table of Contents Copyright..................................................................................................... 1 About the Author........................................................................................ 2 Production.................................................................................................. 2 Introduction............................................................................................... 3 The Structure of the Book............................................................................................................................................................... 5 Acknowledgements......................................................................................................................................................................... 7 Python Programming.................................................................................. 8 Data Types and Data Structures..................................................................................................................................................... 8 Executing Python Code............................................................................................................................................................... 8 Variables and Objects...............................................................................................................................................................
    [Show full text]
  • Pyside Overview
    PySide overview Marc Poinot (ONERA/DSNA) Outline Quite short but practical overview ▶Qt ■ Toolkit overview ■ Model/View ▶PySide ■ pyQt4 vs PySide ■ Designer & Cython ■ Widget bindings ■ Class reuse PySide - Introduction ONERA/PySide-2/8 [email protected] Qt - Facts ▶Qt is cute ■ Cross platform application framework for GUI X Window System, Windows... ■ C++ kernel + many bindings Including Python ■ Release v5.3 05/2014 ■ License GPL+LGPL+Commercial Contact your own lawyer... ▶Components ■ Core: QtCore, QtGui... ■ Specialized: QtWebKit, QtSVG, QtSQL... ■ Tools : Creator, Designer... PySide - Introduction ONERA/PySide-3/8 [email protected] Qt - Example PySide - Introduction ONERA/PySide-4/8 [email protected] Python bindings ▶pyQt ■ The first to come Some services have hard coded import PyQt4 ■ GPL - Use only in free software ▶PySide ■ Some syntactic & behavior differences ■ LGPL - Use allowed in proprietary software PySide overview hereafter mixes Qt/PySide features PySide - Introduction ONERA/PySide-5/8 [email protected] PySide - Facts ▶Full Python binding ■ Qt classes as Python classes ■ Python types as parameter types ▶Release 1.2.2 04/2014 ▶Reference documentation http://pyside.github.io/docs/pyside/ ▶Production process ■ Uses many steps ■ Better with setup & source management PySide - Introduction ONERA/PySide-6/8 [email protected] PySide - Production process W class Ui_W class WB(QWidget,Ui_W) ☺ A.ui uic ui_A.pyx Designer B.py cython A.c A.so A.rc rcc Res_rc.py PySide - Introduction ONERA/PySide-7/8 [email protected]
    [Show full text]
  • Comparative Studies of Six Programming Languages
    Comparative Studies of Six Programming Languages Zakaria Alomari Oualid El Halimi Kaushik Sivaprasad Chitrang Pandit Concordia University Concordia University Concordia University Concordia University Montreal, Canada Montreal, Canada Montreal, Canada Montreal, Canada [email protected] [email protected] [email protected] [email protected] Abstract Comparison of programming languages is a common topic of discussion among software engineers. Multiple programming languages are designed, specified, and implemented every year in order to keep up with the changing programming paradigms, hardware evolution, etc. In this paper we present a comparative study between six programming languages: C++, PHP, C#, Java, Python, VB ; These languages are compared under the characteristics of reusability, reliability, portability, availability of compilers and tools, readability, efficiency, familiarity and expressiveness. 1. Introduction: Programming languages are fascinating and interesting field of study. Computer scientists tend to create new programming language. Thousand different languages have been created in the last few years. Some languages enjoy wide popularity and others introduce new features. Each language has its advantages and drawbacks. The present work provides a comparison of various properties, paradigms, and features used by a couple of popular programming languages: C++, PHP, C#, Java, Python, VB. With these variety of languages and their widespread use, software designer and programmers should to be aware
    [Show full text]