transit-lang-cmp

Programming language comparison by reimplementing the same transit data app (by losvedir)

Transit-lang-cmp Alternatives

Similar projects and alternatives to transit-lang-cmp

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better transit-lang-cmp alternative or higher similarity.

transit-lang-cmp reviews and mentions

Posts with mentions or reviews of transit-lang-cmp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-23.
  • Migrating from Warp to Axum
    4 projects | news.ycombinator.com | 23 Nov 2022
    > 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

  • Programming language comparison by reimplementing the same transit data app
    6 projects | news.ycombinator.com | 23 Oct 2022
    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...

    6 projects | news.ycombinator.com | 23 Oct 2022
  • Why does Scala seem to be slow at benchmark results?
    6 projects | /r/scala | 22 Oct 2022
    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?
    6 projects | /r/rust | 21 Oct 2022
    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.
    6 projects | /r/rust | 21 Oct 2022
    I just pushed up a commit that changes the schedule_handler to use a .collect, and re-ran the benchmarks. Got a nice little bump in all of them.
    6 projects | /r/rust | 21 Oct 2022
    Indeed! Enabled and re-benchmarked in this commit.
    6 projects | /r/rust | 21 Oct 2022
    I recently wrapped up a little project (https://github.com/losvedir/transit-lang-cmp) where I rewrote the same transit data JSON API in several different programming languages.
    6 projects | /r/rust | 21 Oct 2022
    Winner winner chicken dinner! I just pushed up a commit that implemented this and updated my benchmarks. Requests per second went from ~12.5k to ~19k, much faster than all my other implementations!
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 28 Mar 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic transit-lang-cmp repo stats
15
421
0.0
4 months ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com