ponyc
gleam
ponyc | gleam | |
---|---|---|
66 | 120 | |
5,805 | 18,951 | |
0.6% | 1.7% | |
9.5 | 9.9 | |
8 days ago | 4 days ago | |
C | Rust | |
BSD 2-clause "Simplified" License | Apache License 2.0 |
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.
ponyc
-
Can We Get the Benefits of Transitive Dependencies Without Undermining Security?
> Capabilities taken literally are more of a network thing (it's how you prove you have access to a computer that doesn't trust you). On a language, you don't need the capabilities themselves.
You may be thinking of the term in a different context. In this context, they are a general security concept and definitely apply to more than the network, including languages:
https://en.wikipedia.org/wiki/Capability-based_security
http://habitatchronicles.com/2017/05/what-are-capabilities/
https://www.ponylang.io/
etc...
-
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.
gleam
-
A 10x Faster TypeScript
OCaml and Haskell already have that nice type system (and even more nice). If OCaml's syntax bothers you, there is Reason [1] which is a different frontend to the same compiler suite.
Also in this space is Gleam [2] which targets Erlang / OTP, if high concurrency and fault tolerance is your cup of tea.
[1]: https://reasonml.github.io/
[2]: https://gleam.run/
-
My Impressions of Gleam
Wow. I invite everyone to go actually read the Gleam’s homepage: https://gleam.run/
After reading the discussion here, with our poor community being “blinded by pathetic posturing” and such, I was expecting some kind of political polemic plastered over everything.
Here’s the sum total of everything that could be considered political from the page:
Friendly
As a community, we want to be friendly too. People from around the world, of all backgrounds, genders, and experience levels are welcome and respected equally. See our community code of conduct for more.
Black lives matter. Trans rights are human rights. No nazi bullsh*t.
Which part of that can you possibly find objectionable? It seems the mere mention of anything political is seen as a transgression somehow. Like, Can’t we just go back to pretending we’re entirely apolitical, while the technologies we build reshape the political landscape of the entire planet?
-
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 are some alternatives?
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
are-we-fast-yet - Are We Fast Yet? Comparing Language Implementations with Objects, Closures, and Arrays
Celluloid - Actor-based concurrent object framework for Ruby
nx - Multi-dimensional arrays (tensors) and numerical definitions for Elixir