jsoniter-scala
cask
jsoniter-scala | cask | |
---|---|---|
29 | 12 | |
707 | 499 | |
- | 0.8% | |
9.6 | 7.3 | |
about 10 hours ago | 3 months ago | |
Scala | Scala | |
MIT License | GNU General Public License v3.0 or later |
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.
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.
-
Post your problems with Scala 3/2.13 compiler performance!
I've just increased compiler performance in ~1.5x times by adding these JVM options for the code cache
-
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.
-
Scala needs *highly* efficient libraries to survive in a multi-core age
BTW, jsoniter-scala uses it for faster parsing and serialization using SWAR techniques, like here.
-
Using Circe with GADT
Probably you should have both codecs (for Foo and for its T) are implicitly available in the scope, like it is done in the following test for jsoniter-scala:
-
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.
cask
-
Java21/Virtual threads, simplest the most boring scala http server stack ?
I want to just block as if there's no tomorrow, no effects / hardcore FP (maybe only something like https://github.com/softwaremill/ox), what would you use? E.g. for http server / db / json ?https://github.com/com-lihaoyi/cask ?
-
Scala opensource projects
There's the Li Haoyi's ecosystem of tools and libraries that's fun to hack on, has a low entry-bar (with a design philosophy of using the least complex abstractions for the job), and has few libs like requests and cask that may appeal to those liking some python minimalism. That's not the fastest way to learn hardcore FP, that's not the worst either.
- http4s as a replacement for akka-http?
-
Replacing Play+Akka with another tech-stack in Scala
Wonder if anyone uses: https://github.com/com-lihaoyi/cask
-
Starting with scala
Is play-framework a strong requirement? If not, you might have an easier time building a simple API and serializing JSON with the lihaoyi ecosystem, namely cask as the microframework and uPickle/uJson.
-
Scala became Typelevel/Zio only ecosystem?
For people who want to get their feet wet with Scala, I highly recommend Cask and the rest of what some people affectionately call βthe Singapore stack,β in honor of Li Haoyi, its developer. He emphasizes tasteful use of Scala features with an emphasis on API ergonomics. All of his work is a joy to use.
-
Mill, Cask, and SBT
The documentation points to a pretty outdated example. Can you try with the latest 0.8.3 release?
-
Scala Http Framework
If you want something really easy and simple, have a look at cask: https://com-lihaoyi.github.io/cask/
-
A library like Express.js?
Best I can do is Cask: https://com-lihaoyi.github.io/cask/ π
- Experienced dev new to Scala looking for a quick answer to get me on the right track - Advice on *standard* Scala framework stack to quickly set up a web-app backend?
What are some alternatives?
circe - Yet another JSON library for Scala
zio-http - A next-generation Scala framework for building scalable, correct, and efficient HTTP clients and servers
json4s - JSON library
Http4s - A minimal, idiomatic Scala interface for HTTP
DSL-JSON - High performance JVM JSON library
vertx-lang-scala - Vert.x for Scala
jackson-module-scala - Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes
scala-play-skills-tracker
Play JSON - The Play JSON library
scala-cli - Scala CLI is a command-line tool to interact with the Scala language. It lets you compile, run, test, and package your Scala code (and more!)
spray-json - A lightweight, clean and simple JSON implementation in Scala
Play - The Community Maintained High Velocity Web Framework For Java and Scala.