Is there any language that is as similar as possible to Python in syntax, readability, and features, but is statically typed?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/Python

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
  • Nim

    Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

  • F#

    Please file issues or pull requests here: https://github.com/dotnet/fsharp (by fsharp)

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • kotlin-script-examples

    Examples of Kotlin Scripts and usages of the Kotlin Scripting API

    +1. Especially useful kts (Kotlin script). It even have notation for dependencies right in script. (https://github.com/Kotlin/kotlin-script-examples/blob/master/jvm/main-kts/scripts/kotlinx-html.main.kts)

  • crystal

    The Crystal Programming Language

  • dynamic-dns

    An automated dynamic DNS solution for Docker and DigitalOcean

  • haxe

    Haxe - The Cross-Platform Toolkit

  • fast-sqlite3-inserts

    Some bunch of test scripts to generate a SQLite DB with 1B rows in fastest possible way

    I have a side project where I tried to insert one billion rows in SQLite. I was able to insert 100 million rows using Python under 210 seconds. The same thing with PyPy took 120 seconds. I am wondering what kind of speed boost I would get with Cython

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • MonkeyType

    A Python library that generates static type annotations by collecting runtime types (by Instagram)

  • julia

    The Julia Programming Language

    If you want the same coding feel and better performance. I suggest you have a look at Julia https://julialang.org/.

  • plum

    Multiple dispatch in Python

  • multipledispatch

    Multiple dispatch

  • Lua

    Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts