gleam
ponyc
gleam | ponyc | |
---|---|---|
117 | 65 | |
18,583 | 5,764 | |
2.4% | 0.6% | |
9.9 | 9.1 | |
6 days ago | 6 days ago | |
Rust | C | |
Apache License 2.0 | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gleam
-
Introduction to Gleam Programming Language
Gleam GitHub Repository
-
Building Your First Gleam Application: A Weather CLI Tool
Official Gleam Documentation
-
Ask HN: Isn't there a lightweight and popular Rust?
- https://without.boats/blog/revisiting-a-smaller-rust/
It's also niche, but https://gleam.run/ might be a candidate alternate language, depending on your use-case.
- Gleam 1.6.0 Is Released
-
Everything Is Just Functions: Mind-Blowing Insights from SICP and David Beazley
Not the other commenter, but my team has been using Elixir in production (soft real-time distributed systems) for several years to great success. The approachable syntax has been great for folks new to the language coming on board and sort of, not realising they’re “doing FP”.
Generally I’d say Elixir’s lack of “hard” static typing is more than made up for what you get from the BEAM VM, OTP, its concurrency model, supervisors etc.
That said if you’re interested in leveraging the platform whilst also programming with types I’d recommend checking out Gleam (https://gleam.run), which I believe uses an HM type system.
-
Concurrency & Fault-tolerant In Distributed Systems
The BEAM runtime demonstrates the power of building concurrency and fault tolerance into the core runtime. While other languages can approximate these capabilities through frameworks, the elegance and robustness of having it built into the runtime remains compelling. I believe that’s why Gleam decided to use the BEAM when it was being built.
-
Top FP technologies
Gleam
-
👉 What is gleam language used for ❓
Gleam as it says in their website is a friendly language for building type-safe systems that scale!.
-
What Language Should I Choose?
One language that really gave me that feeling was Gleam, it managed to wrap everything I liked about languages such as JS, Rust and even Java into one brilliant type-safe package. Not for a long time before I met Gleam had I wanted to try creating so many different things just to get to the bottom of how this language ticked, as it were.
-
Gleam Is Pragmatic
The two are pretty similar, but I would give F# the nod on this one example because it doesn't actually have to create a list of 200,000 elements.
[0]: https://gleam.run/
ponyc
-
Thinking in Actors – Part 3 – Using the Actor Model to Track Aircraft
Actors immediately made me think of Pony. https://www.ponylang.io
- Pony (Programming Language)
- Firewalling Your Code
-
Multitasking, parallel processing, and concurrency in Swift
Or give up and erase all the type information by saying `throws Exception` or `throws Throwable`.
Genericizing throws in particular was tried in Midori [2] and worked out really well (by report). In addition, several less-than-completely-obscure languages are starting to experiment with the algebra of effects in general (as opposed to error handling in particular). Pony (https://www.ponylang.io/), OCaml (https://ocaml.org/manual/5.2/effects.html) and others are experimenting with bringing what Koka (among others; https://koka-lang.github.io/koka/doc/index.html) to the masses.
[1]: https://www.artima.com/articles/the-trouble-with-checked-exc...
- Old Version
-
The problem with general purpose programming languages
For example, the actor's model is not used by a lot of languages, Pony (https://www.ponylang.io/) and Elixir are the only ones that I know, but they address the concurrency problem quite well, while it's a pain to deal with in other languages at large scale.
-
Found a language in development called Vale which claims to be the safest AOT compiled language in the World (Claims to beSafer than Rust)
And that last point is critical. If the language flatly can't represent some concepts it uses, they have to be implemented somewhere else. I had a similar discussion with a proponent for Pony once- the language itself is 100% safe, and fully dependent on C for its runtime and data structures. One of Rust's core strengths is being able to express unsafe concepts, meaning the unsafe code can expose a safe interface that accurately describes its requirements rather than an opaque C ABI. Vale doesn't seem to do that.
-
The Rust I wanted had no future
"Exterior iteration. Iteration used to be by stack / non-escaping coroutines, which we also called "interior" iteration, as opposed to "exterior" iteration by pointer-like things that live in variables you advance. Such coroutines are now finally supported by LLVM (they weren't at the time) and are actually a fairly old and reliable mechanism for a linking-friendly, not-having-to-inline-tons-of-library-code abstraction for iteration. They're in, like, BLISS and Modula-2 and such. Really normal thing to have, early Rust had them, and they got ripped out for a bunch of reasons that, again, mostly just form "an argument I lost" rather than anything I disagree with today. I wish Rust still had them. Maybe someday it will!"
I remember that one. The change was shortly after I started fooling with Rust and was major. Major as in it broke all the code that I'd written to that point.
"Async/await. I wanted a standard green-thread runtime with growable stacks -- essentially just "coroutines that escape, when you need them too"."
I remember that one, too; it was one of the things that drew me to the language---I was imagining something more like Pony (https://www.ponylang.io/).
"The Rust I Wanted probably had no future, or at least not one anywhere near as good as The Rust We Got."
Almost certainly true. But The Rust We Got is A Better C++, which was never appealing to me because I never liked C++ anyway.
-
How long until Rust becomes mandatory, and use of any other language opens the developer up to Reckless Endangerment charges
Pony or bust.
-
Universal parameter passing semantics
If you have a value in mutable storage, and want to treat it as an immutable parameter without copying it first, you will need to provide some way to guarantee that it won't be mutated while being treated as immutable! There doesn't seem to be a definitive best way to do that (although the likes of Pony make a try at it).
What are some alternatives?
are-we-fast-yet - Are We Fast Yet? Comparing Language Implementations with Objects, Closures, and Arrays
Halide - a language for fast, portable data-parallel computation
Rustler - Safe Rust bridge for creating Erlang NIF functions
tab-rs - The intuitive, config-driven terminal multiplexer designed for software & systems engineers
nx - Multi-dimensional arrays (tensors) and numerical definitions for Elixir
Celluloid - Actor-based concurrent object framework for Ruby
hamler - Haskell-style functional programming language running on Erlang VM.
prolog-to-minizinc - A Prolog-to-MiniZinc translator
otp - 📫 Fault tolerant multicore programs with actors
Phoenix - wxPython's Project Phoenix. A new implementation of wxPython, better, stronger, faster than he was before.
borgo - Borgo is a statically typed language that compiles to Go.
gentoo-overlay - Gentoo overlay