zio-protoquill
jsoniter-scala
Our great sponsors
zio-protoquill | jsoniter-scala | |
---|---|---|
6 | 29 | |
192 | 701 | |
2.6% | - | |
8.6 | 9.7 | |
10 days ago | about 17 hours ago | |
Scala | Scala | |
Apache License 2.0 | 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.
zio-protoquill
-
Scala 3 migration: 7 benefits that outweigh the risks
There is: https://github.com/zio/zio-protoquill
-
Best resource to learn Scalia 3 metaprogramming
Among Scala 3-only macro codebases is proto-quill (Quill for Scala 3). Other than that most libraries will be cross-compiled Scala 2 and Scala 3 because they have to cater to both long-time Scala 2 users as well as those who already migrated.
-
Scala 3 compatible macro libraries
Proto Quill, a query DSL similar-ish to Slick, is certainly the poster child of what's possible with Scala 3 macros.
-
Fp libraries that target scala 3 exclusively?
I know that libraries like Scodec and shapeless were rewritten practically from scratch for Scala 3, taking advantage of the next syntax and internals, as well as protoquill - a Scala 3 implementation of Quill.
-
Software development topics I've changed my mind on after 6 years in the industry
I am a Scala engineer and have upstreamed a lot of open source projects to do this, (i.e. see https://github.com/getquill/protoquill/pull/17). Basically its a github action that runs concurrently to the main build, this has the following advantages
-
ZIO vs. Cats Effect for api
I've been refreshing https://github.com/getquill/protoquill nearly every day!
jsoniter-scala
-
1BRC Merykitty's Magic SWAR: 8 Lines of Code Explained in 3k Words
What an amazing step by step explanation!
More than 2 years ago I found that byte array view var handles are quite suitable to cook efficient SWAR routines with Java/Scala.
See a lot of other examples of SWAR usage, like parsing Base16/64 string, java.time.* and number values directly from byte arrays:
https://github.com/plokhotnyuk/jsoniter-scala/blob/master/js...
-
The Newest Java Json Benchmark Results just dropped
Afaik dsl-json came up with a lot of improvements and inspired a several other libraries like JsonIter and jsonIter-scala. Jsoniter-scala by u/plokhotnyuk is probably the most optimized JSON library on the JVM at this point, and seems to power most of the Scala ecosystem. Some implementations/optimizations eventually made their way back into Jackson and other libraries.
-
Please try my JSON library
I was on your place more then 5 years ago, when cut the 1st release of jsoniter-scala.
-
smithy-translate : a CLI tool to turn openapi specs and json-schema specs into smithy specs, written in Scala
We have our own open-source code-generator that produces Scala code from Smithy. The code module is entirely dependency-free, and the generated code is not biased towards any library, be that http or json. We do however have out-of-the-box integration with jsoniter and http4s.
-
Why does Scala seem to be slow at benchmark results?
You can use jsoniter-scala. It is easy to use like upickle.
-
Starting with scala
BEWARE: uJson is vulnerable under DoS attacks
-
Is Scala a good choice for a data intensive web backend?
Please see sources (and GitHub history of development) of jsoniter-scala as an example in the domain of JSON parsing and serialization.
-
Learning macros in scala 2.13
I suggest looking into jsoniter-scala Macro API it has unique support of both Scala 2 and Scala 3 in a source compatible manner.
-
Using SWAR techniques to speed up parsing and serialization from/to JSON
Since v2.13.6 release jsoniter-scala dropped support of Java 8: https://github.com/plokhotnyuk/jsoniter-scala/releases/tag/v2.13.6
SWAR (SIMD in register) techniques were used in the last release of jsoniter-scala to speed up parsing and serialization on JVM platforms.
What are some alternatives?
circe - Yet another JSON library for Scala
json4s - JSON library
DSL-JSON - High performance JVM JSON library
Quill - Compile-time Language Integrated Queries for Scala
Play JSON - The Play JSON library
jackson-module-scala - Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes
spray-json - A lightweight, clean and simple JSON implementation in Scala
None Is Not Null - JSON typeclasses that know the difference between null and absent fields
sbt-json - sbt plugin that generates Scala case classes for easy, statically typed and implicit access of JSON data e.g. from API responses
scala-json - Compile-time JSON marshaling and abstraction for Scala, Scala Native and Scala.js
Jackson - Core part of Jackson that defines Streaming API as well as basic shared abstractions
jawn - Jawn is for parsing jay-sawn (JSON)