transit-lang-cmp
realworld
Our great sponsors
transit-lang-cmp | realworld | |
---|---|---|
15 | 121 | |
421 | 78,276 | |
- | 0.7% | |
0.0 | 8.1 | |
5 months ago | about 2 months ago | |
Elixir | TypeScript | |
MIT License | MIT 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.
transit-lang-cmp
-
Migrating from Warp to Axum
> The axum::debug_handler macro is invaluable to debug type errors (there's some with axum too), like for example, accidentally having a non-Send type slip in.
Heh, yeah. For my recent project where I explored implementing the same little app in a few different languages[0], I chose Axum for the rust version.
The whole "extractor" system was pretty magical, and when I had this exact issue (non-Send argument), the compiler error was totally useless. I did see the docs about adding this extra macro crate for error messages but it seemed like a bit of a red flag that the framework was going against the grain of the language. Still, on the whole, I did enjoy working with Axum.
[0] https://github.com/losvedir/transit-lang-cmp
- Transit: A Code Comparison
-
Programming language comparison by reimplementing the same transit data app
This is great! Just pushed up a commit that uses it and updated the benchmarks[0]. I'm seeing a 1.6X - 2X improvement in overall performance. Not bad for a drop-in replacement. And since it's based on serde, I trust it, and I feel like trying out a different JSON library is within scope for me of not just "gaming the benchmarks", as this is actually something I'd now consider using at work.
It's not quite as high as I was seeing with `jiffy` (3,800 req/sec here vs 4,000+ with jiffy), but I'm not confident that was a totally fair comparison. `jiffy` doesn't integrate as nicely with Phoenix, so I was just calling `:jiffy.encode(...)` in the controller and then doing a `text(...)` response. I need to double-check if `json(...)` is doing more work here.
[0] https://github.com/losvedir/transit-lang-cmp/commit/140d693b...
-
Why does Scala seem to be slow at benchmark results?
Nowadays, I reached out for some benchmark results. Scala is slower than Java and Kotlin. Can you explain it? https://github.com/losvedir/transit-lang-cmp https://github.com/kostya/benchmarks
-
Why is C#/dotnet outperforming rust in my simple benchmarks?
I had a chance to update the Go code (commit) to pre-allocate the arrays based on the known length before all the appends, and saw ~30% increase in performance, with top requests per second going from about 8,600 to 11,000.
-
The RedMonk Programming Language Rankings: June 2022
I recently did a little project to compare several languages (https://github.com/losvedir/transit-lang-cmp) so I contributed to a bunch of those points!
- Show HN: An informal comparison of several programming languages
realworld
-
Yet Another Tour of an Open-Source Elm SPA
In light of all this, it became exceedingly clear that someone else needed to step in and help. Why not me? Well, it can be me. And, after 3 months of development, I am happy to announce (again) dwayne/elm-conduit (demo), an open-source Elm SPA for RealWorld's Medium.com clone.
-
Ask HN: Reference applications to idiomatically learn languages/frameworks?
https://github.com/gothinkster/realworld
It's just for web app (a Todo app). Your GIS AND CLI ideas are interesting, I haven't seen anything similar to realworld for those.
-
10 GitHub Repos to Become a Better Backend Developer
View on GitHub
-
Rage: Fast web framework compatible with Rails
So what would be a better benchmark? Perhaps a "standard" "real world" app, like https://github.com/gothinkster/realworld
Or something simpler?
- Realworld: “The mother of all demo apps” – Exemplary fullstack Medium.com clone
-
Monitoring Spring Boot with OpenTelemetry
RealWorld example app is a full-stack application called "Conduit" that consists of a backend that serves JSON API and a frontend UI. There are numerous implementations for different languages and frameworks, but in this tutorial you will be using the Spring backend and the React frontend.
- how do replace or set value on {item.Title} on dynamic html in map
-
A common question about how to find repositories to contribute to
Github has millions of projects, some large fraction with more than 100 stars, so it doesn't seem like you are searching very hard. But more importantly, why "100 stars"? Stars are meaningless and arbitrary. Many developers use stars like bookmarks. I just did a quick search and noticed a project like realworld (just a demo for learning, 65 contributors) has have more stars than Bitcoin (900+ developers, perhaps you have heard of it?)
- [DUDA] ¿Algún proyecto de prueba o idea para empezar a practicar en DevOps?
-
Any good project links which demonstrate the effectiveness of composition?
I feel you, context API sometimes overcomplicates everything. Let me introduce to you RealWorld. It is a great project that uses composition to make its structure scalable. It is actually a codebase that implements various fragments of a larger scale project such as Medium or Twitter. Check it out here: https://github.com/gothinkster/realworld. I hope this helps!
What are some alternatives?
scotty - Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp (Official Repository)
fastapi-realworld-example-app - Backend logic implementation for https://github.com/gothinkster/realworld with awesome FastAPI
tapir - Declarative, type-safe web endpoints library
spicedb - Open Source, Google Zanzibar-inspired permissions database to enable fine-grained access control for customer applications
plainchant - plainchant - a lightweight and libre imageboard
jhipster-sample-app - This is a sample application created with JHipster
template_rust_web_api
fingerprintjs - Browser fingerprinting library. Accuracy of this version is 40-60%, accuracy of the commercial Fingerprint Identification is 99.5%. V4 of this library is BSL licensed.
hashbrown - Rust port of Google's SwissTable hash map
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
deno_std - deno standard modules
nestjs-realworld-example-app - Exemplary real world backend API built with NestJS + TypeORM / Prisma