bandit
eqwalizer
bandit | eqwalizer | |
---|---|---|
6 | 11 | |
1,754 | 518 | |
1.8% | 0.8% | |
9.2 | 8.8 | |
6 days ago | 5 days ago | |
Elixir | Scala | |
MIT 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.
bandit
-
HTTP/2 Continuation Flood: Technical Details
I'd just mitigated this exact thing in Bandit last month!
https://github.com/mtrudel/bandit/blob/main/lib/bandit/http2...
TBH, from an implementors perspective this is a super obvious thing to cover off. It had long been on my radar and was something that I'd always figured other implementations had defended against as well.
-
Anyone using bandit in prod?
[1] https://github.com/mtrudel/bandit/blob/main/lib/bandit/websocket/permessage_deflate.ex
-
Phoenix 1.7 is View-less
Could even switch over to Bandit which was on a recent Thinking Elixir podcast
> In recent performance tests, Bandit's HTTP/1.x engine is up to 5x faster than Cowboy depending on the number of concurrent requests. When comparing HTTP/2 performance, Bandit is up to 2.3x faster than Cowboy
https://github.com/mtrudel/bandit
- Bandit is a pure Elixir HTTP server for Plug and WebSock applications
- (Elixir / Erlang) Bandit's HTTP/1.x engine is up to 5x faster
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
What are some alternatives?
cowboy - Small, fast, modern HTTP server for Erlang/OTP.
kino - Client-driven interactive widgets for Livebook
elixir-ls - A frontend-independent IDE "smartness" server for Elixir. Implements the "Language Server Protocol" standard and provides debugger support via the "Debug Adapter Protocol"
Gradualizer - A Gradual type system for Erlang
FunkyABX - Audio blind tests
erllambda - AWS Lambda in Erlang
http - HTTP server for Elixir
three-tier-multithreaded-archit
json_view - Elixir library to render Json with relationship
gradient - Gradient is a static typechecker for Elixir
programming-phoenix-liveview - Programming Phoenix LiveView Book Code & Solutions to "Give it a try"s