eqwalizer
three-tier-multithreaded-archit
Our great sponsors
eqwalizer | three-tier-multithreaded-archit | |
---|---|---|
11 | 3 | |
499 | - | |
1.0% | - | |
8.4 | - | |
8 days ago | - | |
Scala | ||
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.
eqwalizer
-
Switching to Elixir
I don't think the implementation itself is at fault, but yes, I do think that the design of dialyzer makes it an (at times) faulty type checker. The unfortunate reality of a type checker that fails sometimes is that it makes it mostly useless because you can never trust that it'll do the job.
To be clear, I've had it fail in a function where I've literally specced that very function to return a `binary` but I'm returning an `integer` in one of the cases. This is a very shallow context but it can still fail. Now add more functions, maybe one more `case`.
I think an entire rethink of type checking on the BEAM had to be done and that's why eqWalizer[0] was created and why Elixir is looking to add an actual sound, well-developed type checker. Gleam[1] I would assume is just a Hindley-Milner system so that's completely solid. `purerl`[2] is just PureScript for the BEAM so that's also Hindley-Milner, meaning it's solid. `purerl` has some performance issues caused by it compiling down to closures everywhere but if you can pay that cost it's actually pretty fantastic. With that said my bet for the best statically typed experience right now on the BEAM would be `gleam`.
0 - https://github.com/WhatsApp/eqwalizer
1 - https://gleam.run
2 - https://github.com/purerl/purerl
- Unpacking Elixir: Concurrency
-
eqwalizer VS Gradualizer - a user suggested alternative
2 projects | 17 Apr 2023
- Erlang: The coding language that finance forgot
-
Phoenix 1.7 is View-less
While it's not static-typing, compile-time type checking for Erlang have come a long way: Eqwalizer works pretty well - but I may be biased since my employer sponsors the project.
1. https://github.com/WhatsApp/eqwalizer
-
[New] How do you verify program correctness in Elixir?
Note there is also research happening in this area by the Elixir team. The WhatsApp is also working on static types for Erlang, which I am certain will be available for Elixir too at some point.
- Eqwalizer: A Type-Checker for Erlang
- Eqwalizer: WhatsApp’s Erlang Type Checker
-
Elixir Livebook now as a desktop app
From the discord blog posts it seems that elixir powers the chat system, with rust and python as the other two main languages in their stack.
As for whatsapp, they are mainly a erlang shop and yesterday they open sourced a type checker for erlang:
https://github.com/WhatsApp/eqwalizer
three-tier-multithreaded-archit
-
Unpacking Elixir: Concurrency
https://github.com/samsquire/three-tier-multithreaded-archit...
You could implement complicated interlocking workflows with this syntax, because you just need to wait for events as defined.
LMAX Disruptor gets some good requests per second
-
A steering council note about making the global
Thank you so much Python core developers and steering council. Python is one of my favourite languages along with Java and C.
I greatly welcome true multithreading in Python.
I use both multiprocessing and multithreading in Python. See [0] for my multiprocessing example and python Threads for IO heavy tasks in [1]. But it would be far more efficient to use true threads.
Threads can communicate any amount of data in a single atomic almost instant operation. Using the local loopback interface or multiprocessing or pipes, this is not possible.
I am working on a multithreading architecture I call three tier multithreading architecture
https://github.com/samsquire/three-tier-multithreaded-archit...
My goal is extremely scalable and performant servers but Python is probably the wrong job for that.
[0]: https://news.ycombinator.com/item?id=36897054 (my description of my use of multiprocessing)
-
Threads and Goroutines
* Lockfree Ringbuffers are used by CPU threads and lightweight threads to communicate.
I invite feedback and comments: https://github.com/samsquire/three-tier-multithreaded-archit...
What are some alternatives?
gradient - Gradient is a static typechecker for Elixir
Nebulex - In-memory and distributed caching toolkit for Elixir.
erllambda - AWS Lambda in Erlang
three-tier-multithreaded-architecture - a multithreaded architecture for servers that should be scalable
explorer - Series (one-dimensional) and dataframes (two-dimensional) for fast and elegant data exploration in Elixir
broadway - Concurrent and multi-stage data ingestion and data processing with Elixir
kino - Client-driven interactive widgets for Livebook
nx - Multi-dimensional arrays (tensors) and numerical definitions for Elixir
FunkyABX - Audio blind tests
preemptible-thread - How to preempt threads in user space
Gradualizer - A Gradual type system for Erlang
bandit - Bandit is a pure Elixir HTTP server for Plug & WebSock applications