The Val Object Model: Template for a possible future Swift object model

This page summarizes the projects mentioned and recommended in the original post on /r/ProgrammingLanguages

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • hylo

    The Hylo programming language

  • I really like the example on their website and the discussion of it from different points of view. It demonstrates how confusing this whole thing is.

  • mvs-calculus

    Compiler for Swiftlet

  • We have benchmarks in this paper: Implementation strategies for mutable value semantics (section 7). We studied Swift, which was our starting point to design Val. The benchmarks compared Swift, C++, Scala, and a core subset of Swift for which we wrote a tiny compiler. We benchmarked randomly generated programs and handwritten ones. Overall, we showed that Swift is the fastest language in the overwhelming majority of the benchmarks, only falling short of C++ for programs with extremely large numbers of mutations (>90% of all operations). Our handwritten implementation (~6K LOC, comments included) was on par with Scala and C++.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • effekt

    A research language with effect handlers and lightweight effect polymorphism

  • It seems that with Effekt we are pursuing the same goal, but coming from the opposite direction, perhaps one day we will meet in the middle :). We start from a purely functional language and carefully add effects like mutation.

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