Alternatives to WebAssembly logo

Alternatives to WebAssembly

JavaScript, Golang, Emscripten, React, and Java are the most popular alternatives and competitors to WebAssembly.
223
217
+ 1
0

What is WebAssembly and what are its top alternatives?

WebAssembly is a low-level bytecode format that runs in web browsers as a compilation target for programming languages. It allows developers to write code in languages like C, C++, and Rust, and run them in the browser at near-native speeds. WebAssembly improves the performance of web applications and enables developers to use existing codebases for web development. However, WebAssembly has limitations in terms of debugging and tooling support compared to traditional web development technologies.

  1. asm.js: asm.js is a subset of JavaScript that can be used to run performance-sensitive code in web browsers. It aims to deliver near-native performance by using static types and constraints to allow advanced optimizations in JavaScript engines. The pros of asm.js include widespread support in browsers and ease of integration with existing web applications, but the cons include limited optimization opportunities compared to WebAssembly.
  2. Emscripten: Emscripten is a compiler toolchain that translates C/C++ code to WebAssembly or asm.js. It allows developers to reuse existing codebases written in C/C++ for web development, providing a seamless transition to the web platform. The key features of Emscripten include compatibility with standard C/C++ libraries, but it requires additional setup and configuration compared to direct WebAssembly development.
  3. PNaCl (Portable Native Client): PNaCl is a sandboxing technology that enables running native code in web browsers with high performance and security. It allows developers to write code in C/C++ and compile it to a portable binary format that can be executed within the browser. The pros of PNaCl include close-to-native performance and security guarantees, but the cons include limited browser support and complexity in deployment.
  4. Cheerp: Cheerp is a C/C++ to JavaScript/WebAssembly compiler that aims to provide high performance and seamless integration of native code with web applications. It allows developers to leverage existing C/C++ codebases for web development, eliminating the need for manual porting. The key features of Cheerp include efficient code generation and optimization, but it may have limitations in terms of compatibility with complex C/C++ features.
  5. Blazor: Blazor is a framework for building interactive web UIs using C# instead of JavaScript. It allows developers to write client-side code in C# and run it in the browser using WebAssembly. The pros of Blazor include seamless integration with .NET ecosystem and familiar language for developers, while the cons include potential performance overhead compared to JavaScript-based solutions.
  6. Kotlin/JS: Kotlin/JS is a language and compiler that allows developers to target JavaScript and WebAssembly platforms. It provides interoperability with JavaScript libraries and frameworks, making it easy to integrate Kotlin code into web applications. The key features of Kotlin/JS include modern language features and tooling support, but it may have a steeper learning curve for developers new to the language.
  7. GNU Guile: GNU Guile is a Scheme implementation that can compile to JavaScript or WebAssembly, enabling functional programming in web development. It offers a powerful and expressive language for building web applications, with seamless integration of Scheme code into existing JavaScript projects. The pros of GNU Guile include flexibility and extensibility, but the cons may include limited adoption and community support compared to mainstream alternatives.
  8. SwiftWasm: SwiftWasm is a port of the Swift programming language to WebAssembly, enabling developers to write web applications in Swift. It provides a familiar syntax and performance benefits of WebAssembly, allowing for rapid development of web projects. The key features of SwiftWasm include type safety and modern language features, but the cons may include limited tooling and library support compared to established web development technologies.
  9. AssemblyScript: AssemblyScript is a TypeScript-like language that compiles to WebAssembly, offering a familiar syntax for web developers. It provides a smooth transition from TypeScript to WebAssembly, enabling developers to write high-performance code for the web platform. The pros of AssemblyScript include TypeScript compatibility and ease of use, but the cons may include limited language features compared to traditional programming languages.
  10. Haxe: Haxe is a cross-platform language that can target JavaScript, WebAssembly, and other platforms, providing flexibility for web development. It allows developers to write code once and deploy it to multiple platforms, reducing development time and effort. The key features of Haxe include cross-platform compatibility and extensive standard library, but the cons may include performance overhead compared to lower-level languages like C/C++.

Top Alternatives to WebAssembly

  • JavaScript
    JavaScript

    JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles. ...

  • Golang
    Golang

    Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language. ...

  • Emscripten
    Emscripten

    This allows applications and libraries originally designed to run as standard executables to be integrated into client side web applications. ...

  • React
    React

    Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project. ...

  • Java
    Java

    Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere! ...

  • WebGL
    WebGL

    It is integrated completely into all the web standards of the browser allowing GPU accelerated usage of physics and image processing and effects as part of the web page canvas. Its elements can be mixed with other HTML elements. ...

  • Docker
    Docker

    The Docker Platform is the industry-leading container platform for continuous, high-velocity innovation, enabling organizations to seamlessly build and share any application — from legacy to what comes next — and securely run them anywhere ...

  • Python
    Python

    Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best. ...

WebAssembly alternatives & related posts

JavaScript logo

JavaScript

361.4K
8.1K
Lightweight, interpreted, object-oriented language with first-class functions
361.4K
8.1K
PROS OF JAVASCRIPT
  • 1.7K
    Can be used on frontend/backend
  • 1.5K
    It's everywhere
  • 1.2K
    Lots of great frameworks
  • 898
    Fast
  • 746
    Light weight
  • 425
    Flexible
  • 392
    You can't get a device today that doesn't run js
  • 286
    Non-blocking i/o
  • 237
    Ubiquitousness
  • 191
    Expressive
  • 55
    Extended functionality to web pages
  • 49
    Relatively easy language
  • 46
    Executed on the client side
  • 30
    Relatively fast to the end user
  • 25
    Pure Javascript
  • 21
    Functional programming
  • 15
    Async
  • 13
    Full-stack
  • 12
    Future Language of The Web
  • 12
    Setup is easy
  • 12
    Its everywhere
  • 11
    Because I love functions
  • 11
    JavaScript is the New PHP
  • 10
    Like it or not, JS is part of the web standard
  • 9
    Easy
  • 9
    Can be used in backend, frontend and DB
  • 9
    Expansive community
  • 9
    Everyone use it
  • 8
    Easy to hire developers
  • 8
    Most Popular Language in the World
  • 8
    For the good parts
  • 8
    Can be used both as frontend and backend as well
  • 8
    No need to use PHP
  • 8
    Powerful
  • 7
    Evolution of C
  • 7
    Its fun and fast
  • 7
    It's fun
  • 7
    Nice
  • 7
    Versitile
  • 7
    Hard not to use
  • 7
    Popularized Class-Less Architecture & Lambdas
  • 7
    Agile, packages simple to use
  • 7
    Supports lambdas and closures
  • 7
    Love-hate relationship
  • 7
    Photoshop has 3 JS runtimes built in
  • 6
    1.6K Can be used on frontend/backend
  • 6
    Client side JS uses the visitors CPU to save Server Res
  • 6
    It let's me use Babel & Typescript
  • 6
    Easy to make something
  • 6
    Can be used on frontend/backend/Mobile/create PRO Ui
  • 5
    Client processing
  • 5
    What to add
  • 5
    Everywhere
  • 5
    Scope manipulation
  • 5
    Function expressions are useful for callbacks
  • 5
    Stockholm Syndrome
  • 5
    Promise relationship
  • 5
    Clojurescript
  • 4
    Only Programming language on browser
  • 4
    Because it is so simple and lightweight
  • 1
    Easy to learn and test
  • 1
    Easy to understand
  • 1
    Not the best
  • 1
    Subskill #4
  • 1
    Hard to learn
  • 1
    Test2
  • 1
    Test
  • 1
    Easy to learn
  • 0
    Hard 彤
CONS OF JAVASCRIPT
  • 22
    A constant moving target, too much churn
  • 20
    Horribly inconsistent
  • 15
    Javascript is the New PHP
  • 9
    No ability to monitor memory utilitization
  • 8
    Shows Zero output in case of ANY error
  • 7
    Thinks strange results are better than errors
  • 6
    Can be ugly
  • 3
    No GitHub
  • 2
    Slow
  • 0
    HORRIBLE DOCUMENTS, faulty code, repo has bugs

related JavaScript posts

Zach Holman

Oof. I have truly hated JavaScript for a long time. Like, for over twenty years now. Like, since the Clinton administration. It's always been a nightmare to deal with all of the aspects of that silly language.

But wowza, things have changed. Tooling is just way, way better. I'm primarily web-oriented, and using React and Apollo together the past few years really opened my eyes to building rich apps. And I deeply apologize for using the phrase rich apps; I don't think I've ever said such Enterprisey words before.

But yeah, things are different now. I still love Rails, and still use it for a lot of apps I build. But it's that silly rich apps phrase that's the problem. Users have way more comprehensive expectations than they did even five years ago, and the JS community does a good job at building tools and tech that tackle the problems of making heavy, complicated UI and frontend work.

Obviously there's a lot of things happening here, so just saying "JavaScript isn't terrible" might encompass a huge amount of libraries and frameworks. But if you're like me, yeah, give things another shot- I'm somehow not hating on JavaScript anymore and... gulp... I kinda love it.

See more
Conor Myhrvold
Tech Brand Mgr, Office of CTO at Uber · | 44 upvotes · 12.7M views

How Uber developed the open source, end-to-end distributed tracing Jaeger , now a CNCF project:

Distributed tracing is quickly becoming a must-have component in the tools that organizations use to monitor their complex, microservice-based architectures. At Uber, our open source distributed tracing system Jaeger saw large-scale internal adoption throughout 2016, integrated into hundreds of microservices and now recording thousands of traces every second.

Here is the story of how we got here, from investigating off-the-shelf solutions like Zipkin, to why we switched from pull to push architecture, and how distributed tracing will continue to evolve:

https://eng.uber.com/distributed-tracing/

(GitHub Pages : https://www.jaegertracing.io/, GitHub: https://github.com/jaegertracing/jaeger)

Bindings/Operator: Python Java Node.js Go C++ Kubernetes JavaScript OpenShift C# Apache Spark

See more
Golang logo

Golang

22.5K
3.3K
An open source programming language that makes it easy to build simple, reliable, and efficient software
22.5K
3.3K
PROS OF GOLANG
  • 553
    High-performance
  • 397
    Simple, minimal syntax
  • 364
    Fun to write
  • 303
    Easy concurrency support via goroutines
  • 273
    Fast compilation times
  • 195
    Goroutines
  • 181
    Statically linked binaries that are simple to deploy
  • 151
    Simple compile build/run procedures
  • 137
    Backed by google
  • 137
    Great community
  • 53
    Garbage collection built-in
  • 47
    Built-in Testing
  • 44
    Excellent tools - gofmt, godoc etc
  • 40
    Elegant and concise like Python, fast like C
  • 37
    Awesome to Develop
  • 26
    Used for Docker
  • 26
    Flexible interface system
  • 25
    Great concurrency pattern
  • 24
    Deploy as executable
  • 21
    Open-source Integration
  • 19
    Easy to read
  • 17
    Fun to write and so many feature out of the box
  • 17
    Go is God
  • 14
    Powerful and simple
  • 14
    Easy to deploy
  • 14
    Its Simple and Heavy duty
  • 14
    Concurrency
  • 13
    Best language for concurrency
  • 11
    Safe GOTOs
  • 11
    Rich standard library
  • 10
    Clean code, high performance
  • 10
    Easy setup
  • 10
    High performance
  • 9
    Simplicity, Concurrency, Performance
  • 8
    Cross compiling
  • 8
    Single binary avoids library dependency issues
  • 8
    Hassle free deployment
  • 7
    Used by Giants of the industry
  • 7
    Simple, powerful, and great performance
  • 7
    Gofmt
  • 6
    Garbage Collection
  • 5
    WYSIWYG
  • 5
    Very sophisticated syntax
  • 5
    Excellent tooling
  • 4
    Keep it simple and stupid
  • 4
    Widely used
  • 4
    Kubernetes written on Go
  • 2
    No generics
  • 1
    Looks not fancy, but promoting pragmatic idioms
  • 1
    Operator goto
CONS OF GOLANG
  • 42
    You waste time in plumbing code catching errors
  • 25
    Verbose
  • 23
    Packages and their path dependencies are braindead
  • 16
    Google's documentations aren't beginer friendly
  • 15
    Dependency management when working on multiple projects
  • 10
    Automatic garbage collection overheads
  • 8
    Uncommon syntax
  • 7
    Type system is lacking (no generics, etc)
  • 5
    Collection framework is lacking (list, set, map)
  • 3
    Best programming language
  • 1
    A failed experiment to combine c and python

related Golang posts

Conor Myhrvold
Tech Brand Mgr, Office of CTO at Uber · | 44 upvotes · 12.7M views

How Uber developed the open source, end-to-end distributed tracing Jaeger , now a CNCF project:

Distributed tracing is quickly becoming a must-have component in the tools that organizations use to monitor their complex, microservice-based architectures. At Uber, our open source distributed tracing system Jaeger saw large-scale internal adoption throughout 2016, integrated into hundreds of microservices and now recording thousands of traces every second.

Here is the story of how we got here, from investigating off-the-shelf solutions like Zipkin, to why we switched from pull to push architecture, and how distributed tracing will continue to evolve:

https://eng.uber.com/distributed-tracing/

(GitHub Pages : https://www.jaegertracing.io/, GitHub: https://github.com/jaegertracing/jaeger)

Bindings/Operator: Python Java Node.js Go C++ Kubernetes JavaScript OpenShift C# Apache Spark

See more
Nick Parsons
Building cool things on the internet 🛠️ at Stream · | 35 upvotes · 4.3M views

Winds 2.0 is an open source Podcast/RSS reader developed by Stream with a core goal to enable a wide range of developers to contribute.

We chose JavaScript because nearly every developer knows or can, at the very least, read JavaScript. With ES6 and Node.js v10.x.x, it’s become a very capable language. Async/Await is powerful and easy to use (Async/Await vs Promises). Babel allows us to experiment with next-generation JavaScript (features that are not in the official JavaScript spec yet). Yarn allows us to consistently install packages quickly (and is filled with tons of new tricks)

We’re using JavaScript for everything – both front and backend. Most of our team is experienced with Go and Python, so Node was not an obvious choice for this app.

Sure... there will be haters who refuse to acknowledge that there is anything remotely positive about JavaScript (there are even rants on Hacker News about Node.js); however, without writing completely in JavaScript, we would not have seen the results we did.

#FrameworksFullStack #Languages

See more
Emscripten logo

Emscripten

19
0
An Open Source LLVM to JavaScript compiler
19
0
PROS OF EMSCRIPTEN
    Be the first to leave a pro
    CONS OF EMSCRIPTEN
      Be the first to leave a con

      related Emscripten posts

      React logo

      React

      173.4K
      4.1K
      A JavaScript library for building user interfaces
      173.4K
      4.1K
      PROS OF REACT
      • 832
        Components
      • 673
        Virtual dom
      • 578
        Performance
      • 508
        Simplicity
      • 442
        Composable
      • 186
        Data flow
      • 166
        Declarative
      • 128
        Isn't an mvc framework
      • 120
        Reactive updates
      • 115
        Explicit app state
      • 50
        JSX
      • 29
        Learn once, write everywhere
      • 22
        Easy to Use
      • 21
        Uni-directional data flow
      • 17
        Works great with Flux Architecture
      • 11
        Great perfomance
      • 10
        Javascript
      • 9
        Built by Facebook
      • 8
        TypeScript support
      • 6
        Server Side Rendering
      • 6
        Speed
      • 5
        Feels like the 90s
      • 5
        Excellent Documentation
      • 5
        Props
      • 5
        Functional
      • 5
        Easy as Lego
      • 5
        Closer to standard JavaScript and HTML than others
      • 5
        Cross-platform
      • 5
        Easy to start
      • 5
        Hooks
      • 5
        Awesome
      • 5
        Scalable
      • 4
        Super easy
      • 4
        Allows creating single page applications
      • 4
        Server side views
      • 4
        Sdfsdfsdf
      • 4
        Start simple
      • 4
        Strong Community
      • 4
        Fancy third party tools
      • 4
        Scales super well
      • 3
        Has arrow functions
      • 3
        Beautiful and Neat Component Management
      • 3
        Just the View of MVC
      • 3
        Simple, easy to reason about and makes you productive
      • 3
        Fast evolving
      • 3
        SSR
      • 3
        Great migration pathway for older systems
      • 3
        Rich ecosystem
      • 3
        Simple
      • 3
        Has functional components
      • 3
        Every decision architecture wise makes sense
      • 3
        Very gentle learning curve
      • 2
        Split your UI into components with one true state
      • 2
        Image upload
      • 2
        Permissively-licensed
      • 2
        Fragments
      • 2
        Sharable
      • 2
        Recharts
      • 2
        HTML-like
      • 1
        React hooks
      • 1
        Datatables
      CONS OF REACT
      • 41
        Requires discipline to keep architecture organized
      • 30
        No predefined way to structure your app
      • 29
        Need to be familiar with lots of third party packages
      • 13
        JSX
      • 10
        Not enterprise friendly
      • 6
        One-way binding only
      • 3
        State consistency with backend neglected
      • 3
        Bad Documentation
      • 2
        Error boundary is needed
      • 2
        Paradigms change too fast

      related React posts

      Johnny Bell

      I was building a personal project that I needed to store items in a real time database. I am more comfortable with my Frontend skills than my backend so I didn't want to spend time building out anything in Ruby or Go.

      I stumbled on Firebase by #Google, and it was really all I needed. It had realtime data, an area for storing file uploads and best of all for the amount of data I needed it was free!

      I built out my application using tools I was familiar with, React for the framework, Redux.js to manage my state across components, and styled-components for the styling.

      Now as this was a project I was just working on in my free time for fun I didn't really want to pay for hosting. I did some research and I found Netlify. I had actually seen them at #ReactRally the year before and deployed a Gatsby site to Netlify already.

      Netlify was very easy to setup and link to my GitHub account you select a repo and pretty much with very little configuration you have a live site that will deploy every time you push to master.

      With the selection of these tools I was able to build out my application, connect it to a realtime database, and deploy to a live environment all with $0 spent.

      If you're looking to build out a small app I suggest giving these tools a go as you can get your idea out into the real world for absolutely no cost.

      See more
      Collins Ogbuzuru
      Front-end dev at Evolve credit · | 38 upvotes · 269.6K views

      Your tech stack is solid for building a real-time messaging project.

      React and React Native are excellent choices for the frontend, especially if you want to have both web and mobile versions of your application share code.

      ExpressJS is an unopinionated framework that affords you the flexibility to use it's features at your term, which is a good start. However, I would recommend you explore Sails.js as well. Sails.js is built on top of Express.js and it provides additional features out of the box, especially the Websocket integration that your project requires.

      Don't forget to set up Graphql codegen, this would improve your dev experience (Add Typescript, if you can too).

      I don't know much about databases but you might want to consider using NO-SQL. I used Firebase real-time db and aws dynamo db on a few of my personal projects and I love they're easy to work with and offer more flexibility for a chat application.

      See more
      Java logo

      Java

      135.4K
      3.7K
      A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible
      135.4K
      3.7K
      PROS OF JAVA
      • 603
        Great libraries
      • 446
        Widely used
      • 401
        Excellent tooling
      • 396
        Huge amount of documentation available
      • 334
        Large pool of developers available
      • 208
        Open source
      • 203
        Excellent performance
      • 158
        Great development
      • 150
        Used for android
      • 148
        Vast array of 3rd party libraries
      • 60
        Compiled Language
      • 52
        Used for Web
      • 46
        Managed memory
      • 46
        High Performance
      • 45
        Native threads
      • 43
        Statically typed
      • 35
        Easy to read
      • 33
        Great Community
      • 29
        Reliable platform
      • 24
        Sturdy garbage collection
      • 24
        JVM compatibility
      • 22
        Cross Platform Enterprise Integration
      • 20
        Good amount of APIs
      • 20
        Universal platform
      • 18
        Great Support
      • 14
        Great ecosystem
      • 11
        Backward compatible
      • 11
        Lots of boilerplate
      • 10
        Everywhere
      • 9
        Excellent SDK - JDK
      • 7
        Cross-platform
      • 7
        It's Java
      • 7
        Static typing
      • 6
        Portability
      • 6
        Mature language thus stable systems
      • 6
        Better than Ruby
      • 6
        Long term language
      • 5
        Used for Android development
      • 5
        Clojure
      • 5
        Vast Collections Library
      • 4
        Best martial for design
      • 4
        Most developers favorite
      • 4
        Old tech
      • 3
        Testable
      • 3
        History
      • 3
        Javadoc
      • 3
        Stable platform, which many new languages depend on
      • 3
        Great Structure
      • 2
        Faster than python
      • 2
        Type Safe
      • 0
        Job
      CONS OF JAVA
      • 33
        Verbosity
      • 27
        NullpointerException
      • 17
        Nightmare to Write
      • 16
        Overcomplexity is praised in community culture
      • 12
        Boiler plate code
      • 8
        Classpath hell prior to Java 9
      • 6
        No REPL
      • 4
        No property
      • 3
        Code are too long
      • 2
        Non-intuitive generic implementation
      • 2
        There is not optional parameter
      • 2
        Floating-point errors
      • 1
        Java's too statically, stronglly, and strictly typed
      • 1
        Returning Wildcard Types
      • 1
        Terrbible compared to Python/Batch Perormence

      related Java posts

      Conor Myhrvold
      Tech Brand Mgr, Office of CTO at Uber · | 44 upvotes · 12.7M views

      How Uber developed the open source, end-to-end distributed tracing Jaeger , now a CNCF project:

      Distributed tracing is quickly becoming a must-have component in the tools that organizations use to monitor their complex, microservice-based architectures. At Uber, our open source distributed tracing system Jaeger saw large-scale internal adoption throughout 2016, integrated into hundreds of microservices and now recording thousands of traces every second.

      Here is the story of how we got here, from investigating off-the-shelf solutions like Zipkin, to why we switched from pull to push architecture, and how distributed tracing will continue to evolve:

      https://eng.uber.com/distributed-tracing/

      (GitHub Pages : https://www.jaegertracing.io/, GitHub: https://github.com/jaegertracing/jaeger)

      Bindings/Operator: Python Java Node.js Go C++ Kubernetes JavaScript OpenShift C# Apache Spark

      See more
      Kamil Kowalski
      Lead Architect at Fresha · | 28 upvotes · 4.1M views

      When you think about test automation, it’s crucial to make it everyone’s responsibility (not just QA Engineers'). We started with Selenium and Java, but with our platform revolving around Ruby, Elixir and JavaScript, QA Engineers were left alone to automate tests. Cypress was the answer, as we could switch to JS and simply involve more people from day one. There's a downside too, as it meant testing on Chrome only, but that was "good enough" for us + if really needed we can always cover some specific cases in a different way.

      See more
      WebGL logo

      WebGL

      181
      0
      A JavaScript API for rendering 3D graphics within any compatible web browser
      181
      0
      PROS OF WEBGL
        Be the first to leave a pro
        CONS OF WEBGL
          Be the first to leave a con

          related WebGL posts

          Shared insights
          on
          WebGLWebGLthree.jsthree.js

          I want a advice on what to use as a beginner three.js or WebGL?

          See more
          Docker logo

          Docker

          174.7K
          3.9K
          Enterprise Container Platform for High-Velocity Innovation.
          174.7K
          3.9K
          PROS OF DOCKER
          • 823
            Rapid integration and build up
          • 692
            Isolation
          • 521
            Open source
          • 505
            Testa­bil­i­ty and re­pro­ducibil­i­ty
          • 460
            Lightweight
          • 218
            Standardization
          • 185
            Scalable
          • 106
            Upgrading / down­grad­ing / ap­pli­ca­tion versions
          • 88
            Security
          • 85
            Private paas environments
          • 34
            Portability
          • 26
            Limit resource usage
          • 17
            Game changer
          • 16
            I love the way docker has changed virtualization
          • 14
            Fast
          • 12
            Concurrency
          • 8
            Docker's Compose tools
          • 6
            Easy setup
          • 6
            Fast and Portable
          • 5
            Because its fun
          • 4
            Makes shipping to production very simple
          • 3
            Highly useful
          • 3
            It's dope
          • 2
            Package the environment with the application
          • 2
            Super
          • 2
            Open source and highly configurable
          • 2
            Simplicity, isolation, resource effective
          • 2
            MacOS support FAKE
          • 2
            Its cool
          • 2
            Does a nice job hogging memory
          • 2
            Docker hub for the FTW
          • 2
            HIgh Throughput
          • 2
            Very easy to setup integrate and build
          • 0
            Asdfd
          CONS OF DOCKER
          • 8
            New versions == broken features
          • 6
            Unreliable networking
          • 6
            Documentation not always in sync
          • 4
            Moves quickly
          • 3
            Not Secure

          related Docker posts

          Simon Reymann
          Senior Fullstack Developer at QUANTUSflow Software GmbH · | 30 upvotes · 11.6M views

          Our whole DevOps stack consists of the following tools:

          • GitHub (incl. GitHub Pages/Markdown for Documentation, GettingStarted and HowTo's) for collaborative review and code management tool
          • Respectively Git as revision control system
          • SourceTree as Git GUI
          • Visual Studio Code as IDE
          • CircleCI for continuous integration (automatize development process)
          • Prettier / TSLint / ESLint as code linter
          • SonarQube as quality gate
          • Docker as container management (incl. Docker Compose for multi-container application management)
          • VirtualBox for operating system simulation tests
          • Kubernetes as cluster management for docker containers
          • Heroku for deploying in test environments
          • nginx as web server (preferably used as facade server in production environment)
          • SSLMate (using OpenSSL) for certificate management
          • Amazon EC2 (incl. Amazon S3) for deploying in stage (production-like) and production environments
          • PostgreSQL as preferred database system
          • Redis as preferred in-memory database/store (great for caching)

          The main reason we have chosen Kubernetes over Docker Swarm is related to the following artifacts:

          • Key features: Easy and flexible installation, Clear dashboard, Great scaling operations, Monitoring is an integral part, Great load balancing concepts, Monitors the condition and ensures compensation in the event of failure.
          • Applications: An application can be deployed using a combination of pods, deployments, and services (or micro-services).
          • Functionality: Kubernetes as a complex installation and setup process, but it not as limited as Docker Swarm.
          • Monitoring: It supports multiple versions of logging and monitoring when the services are deployed within the cluster (Elasticsearch/Kibana (ELK), Heapster/Grafana, Sysdig cloud integration).
          • Scalability: All-in-one framework for distributed systems.
          • Other Benefits: Kubernetes is backed by the Cloud Native Computing Foundation (CNCF), huge community among container orchestration tools, it is an open source and modular tool that works with any OS.
          See more
          Tymoteusz Paul
          Devops guy at X20X Development LTD · | 23 upvotes · 10M views

          Often enough I have to explain my way of going about setting up a CI/CD pipeline with multiple deployment platforms. Since I am a bit tired of yapping the same every single time, I've decided to write it up and share with the world this way, and send people to read it instead ;). I will explain it on "live-example" of how the Rome got built, basing that current methodology exists only of readme.md and wishes of good luck (as it usually is ;)).

          It always starts with an app, whatever it may be and reading the readmes available while Vagrant and VirtualBox is installing and updating. Following that is the first hurdle to go over - convert all the instruction/scripts into Ansible playbook(s), and only stopping when doing a clear vagrant up or vagrant reload we will have a fully working environment. As our Vagrant environment is now functional, it's time to break it! This is the moment to look for how things can be done better (too rigid/too lose versioning? Sloppy environment setup?) and replace them with the right way to do stuff, one that won't bite us in the backside. This is the point, and the best opportunity, to upcycle the existing way of doing dev environment to produce a proper, production-grade product.

          I should probably digress here for a moment and explain why. I firmly believe that the way you deploy production is the same way you should deploy develop, shy of few debugging-friendly setting. This way you avoid the discrepancy between how production work vs how development works, which almost always causes major pains in the back of the neck, and with use of proper tools should mean no more work for the developers. That's why we start with Vagrant as developer boxes should be as easy as vagrant up, but the meat of our product lies in Ansible which will do meat of the work and can be applied to almost anything: AWS, bare metal, docker, LXC, in open net, behind vpn - you name it.

          We must also give proper consideration to monitoring and logging hoovering at this point. My generic answer here is to grab Elasticsearch, Kibana, and Logstash. While for different use cases there may be better solutions, this one is well battle-tested, performs reasonably and is very easy to scale both vertically (within some limits) and horizontally. Logstash rules are easy to write and are well supported in maintenance through Ansible, which as I've mentioned earlier, are at the very core of things, and creating triggers/reports and alerts based on Elastic and Kibana is generally a breeze, including some quite complex aggregations.

          If we are happy with the state of the Ansible it's time to move on and put all those roles and playbooks to work. Namely, we need something to manage our CI/CD pipelines. For me, the choice is obvious: TeamCity. It's modern, robust and unlike most of the light-weight alternatives, it's transparent. What I mean by that is that it doesn't tell you how to do things, doesn't limit your ways to deploy, or test, or package for that matter. Instead, it provides a developer-friendly and rich playground for your pipelines. You can do most the same with Jenkins, but it has a quite dated look and feel to it, while also missing some key functionality that must be brought in via plugins (like quality REST API which comes built-in with TeamCity). It also comes with all the common-handy plugins like Slack or Apache Maven integration.

          The exact flow between CI and CD varies too greatly from one application to another to describe, so I will outline a few rules that guide me in it: 1. Make build steps as small as possible. This way when something breaks, we know exactly where, without needing to dig and root around. 2. All security credentials besides development environment must be sources from individual Vault instances. Keys to those containers should exist only on the CI/CD box and accessible by a few people (the less the better). This is pretty self-explanatory, as anything besides dev may contain sensitive data and, at times, be public-facing. Because of that appropriate security must be present. TeamCity shines in this department with excellent secrets-management. 3. Every part of the build chain shall consume and produce artifacts. If it creates nothing, it likely shouldn't be its own build. This way if any issue shows up with any environment or version, all developer has to do it is grab appropriate artifacts to reproduce the issue locally. 4. Deployment builds should be directly tied to specific Git branches/tags. This enables much easier tracking of what caused an issue, including automated identifying and tagging the author (nothing like automated regression testing!).

          Speaking of deployments, I generally try to keep it simple but also with a close eye on the wallet. Because of that, I am more than happy with AWS or another cloud provider, but also constantly peeking at the loads and do we get the value of what we are paying for. Often enough the pattern of use is not constantly erratic, but rather has a firm baseline which could be migrated away from the cloud and into bare metal boxes. That is another part where this approach strongly triumphs over the common Docker and CircleCI setup, where you are very much tied in to use cloud providers and getting out is expensive. Here to embrace bare-metal hosting all you need is a help of some container-based self-hosting software, my personal preference is with Proxmox and LXC. Following that all you must write are ansible scripts to manage hardware of Proxmox, similar way as you do for Amazon EC2 (ansible supports both greatly) and you are good to go. One does not exclude another, quite the opposite, as they can live in great synergy and cut your costs dramatically (the heavier your base load, the bigger the savings) while providing production-grade resiliency.

          See more
          Python logo

          Python

          245.2K
          6.9K
          A clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.
          245.2K
          6.9K
          PROS OF PYTHON
          • 1.2K
            Great libraries
          • 963
            Readable code
          • 847
            Beautiful code
          • 788
            Rapid development
          • 691
            Large community
          • 438
            Open source
          • 393
            Elegant
          • 282
            Great community
          • 273
            Object oriented
          • 221
            Dynamic typing
          • 77
            Great standard library
          • 60
            Very fast
          • 55
            Functional programming
          • 50
            Easy to learn
          • 46
            Scientific computing
          • 35
            Great documentation
          • 29
            Productivity
          • 28
            Matlab alternative
          • 28
            Easy to read
          • 24
            Simple is better than complex
          • 20
            It's the way I think
          • 19
            Imperative
          • 18
            Very programmer and non-programmer friendly
          • 18
            Free
          • 17
            Machine learning support
          • 17
            Powerfull language
          • 16
            Fast and simple
          • 14
            Scripting
          • 12
            Explicit is better than implicit
          • 11
            Ease of development
          • 10
            Clear and easy and powerfull
          • 9
            Unlimited power
          • 8
            Import antigravity
          • 8
            It's lean and fun to code
          • 7
            Print "life is short, use python"
          • 7
            Python has great libraries for data processing
          • 6
            High Documented language
          • 6
            I love snakes
          • 6
            Readability counts
          • 6
            Rapid Prototyping
          • 6
            Now is better than never
          • 6
            Although practicality beats purity
          • 6
            Flat is better than nested
          • 6
            Great for tooling
          • 6
            There should be one-- and preferably only one --obvious
          • 6
            Fast coding and good for competitions
          • 5
            Web scraping
          • 5
            Lists, tuples, dictionaries
          • 5
            Great for analytics
          • 4
            Beautiful is better than ugly
          • 4
            Easy to learn and use
          • 4
            Easy to setup and run smooth
          • 4
            Multiple Inheritence
          • 4
            CG industry needs
          • 4
            Socially engaged community
          • 4
            Complex is better than complicated
          • 4
            Plotting
          • 4
            Simple and easy to learn
          • 3
            List comprehensions
          • 3
            Powerful language for AI
          • 3
            Flexible and easy
          • 3
            It is Very easy , simple and will you be love programmi
          • 3
            Many types of collections
          • 3
            If the implementation is easy to explain, it may be a g
          • 3
            If the implementation is hard to explain, it's a bad id
          • 3
            Special cases aren't special enough to break the rules
          • 3
            Pip install everything
          • 3
            No cruft
          • 3
            Generators
          • 3
            Import this
          • 2
            Batteries included
          • 2
            Securit
          • 2
            Can understand easily who are new to programming
          • 2
            Should START with this but not STICK with This
          • 2
            A-to-Z
          • 2
            Because of Netflix
          • 2
            Only one way to do it
          • 2
            Better outcome
          • 2
            Good for hacking
          • 1
            Best friend for NLP
          • 1
            Sexy af
          • 1
            Procedural programming
          • 1
            Automation friendly
          • 1
            Slow
          • 0
            Keep it simple
          • 0
            Powerful
          • 0
            Ni
          CONS OF PYTHON
          • 53
            Still divided between python 2 and python 3
          • 28
            Performance impact
          • 26
            Poor syntax for anonymous functions
          • 22
            GIL
          • 19
            Package management is a mess
          • 14
            Too imperative-oriented
          • 12
            Hard to understand
          • 12
            Dynamic typing
          • 12
            Very slow
          • 8
            Indentations matter a lot
          • 8
            Not everything is expression
          • 7
            Incredibly slow
          • 7
            Explicit self parameter in methods
          • 6
            Requires C functions for dynamic modules
          • 6
            Poor DSL capabilities
          • 6
            No anonymous functions
          • 5
            Fake object-oriented programming
          • 5
            Threading
          • 5
            The "lisp style" whitespaces
          • 5
            Official documentation is unclear.
          • 5
            Hard to obfuscate
          • 5
            Circular import
          • 4
            Lack of Syntax Sugar leads to "the pyramid of doom"
          • 4
            The benevolent-dictator-for-life quit
          • 4
            Not suitable for autocomplete
          • 2
            Meta classes
          • 1
            Training wheels (forced indentation)

          related Python posts

          Conor Myhrvold
          Tech Brand Mgr, Office of CTO at Uber · | 44 upvotes · 12.7M views

          How Uber developed the open source, end-to-end distributed tracing Jaeger , now a CNCF project:

          Distributed tracing is quickly becoming a must-have component in the tools that organizations use to monitor their complex, microservice-based architectures. At Uber, our open source distributed tracing system Jaeger saw large-scale internal adoption throughout 2016, integrated into hundreds of microservices and now recording thousands of traces every second.

          Here is the story of how we got here, from investigating off-the-shelf solutions like Zipkin, to why we switched from pull to push architecture, and how distributed tracing will continue to evolve:

          https://eng.uber.com/distributed-tracing/

          (GitHub Pages : https://www.jaegertracing.io/, GitHub: https://github.com/jaegertracing/jaeger)

          Bindings/Operator: Python Java Node.js Go C++ Kubernetes JavaScript OpenShift C# Apache Spark

          See more
          Nick Parsons
          Building cool things on the internet 🛠️ at Stream · | 35 upvotes · 4.3M views

          Winds 2.0 is an open source Podcast/RSS reader developed by Stream with a core goal to enable a wide range of developers to contribute.

          We chose JavaScript because nearly every developer knows or can, at the very least, read JavaScript. With ES6 and Node.js v10.x.x, it’s become a very capable language. Async/Await is powerful and easy to use (Async/Await vs Promises). Babel allows us to experiment with next-generation JavaScript (features that are not in the official JavaScript spec yet). Yarn allows us to consistently install packages quickly (and is filled with tons of new tricks)

          We’re using JavaScript for everything – both front and backend. Most of our team is experienced with Go and Python, so Node was not an obvious choice for this app.

          Sure... there will be haters who refuse to acknowledge that there is anything remotely positive about JavaScript (there are even rants on Hacker News about Node.js); however, without writing completely in JavaScript, we would not have seen the results we did.

          #FrameworksFullStack #Languages

          See more