Skip to content
View djspiewak's full-sized avatar

Sponsors

@jeffwilde
@TonioGela
@DougC

Organizations

@typelevel @quasar-analytics

Block or report djspiewak

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. quick-tips-optimizing-jvm.md quick-tips-optimizing-jvm.md
    1
    # Quick Tips for Fast Code on the JVM
    2
    
                  
    3
    I was talking to a coworker recently about general techniques that almost always form the core of any effort to write very fast, down-to-the-metal hot path code on the JVM, and they pointed out that there really isn't a particularly good place to go for this information.  It occurred to me that, really, I had more or less picked up all of it by word of mouth and experience, and there just aren't any good reference sources on the topic.  So… here's my word of mouth.
    4
    
                  
    5
    This is by no means a comprehensive gist.  It's also important to understand that the techniques that I outline in here are not 100% absolute either.  Performance on the JVM is an incredibly complicated subject, and while there are rules that almost always hold true, the "almost" remains very salient.  Also, for many or even most applications, there will be other techniques that I'm not mentioning which will have a greater impact.  JMH, Java Flight Recorder, and a good profiler are your very best friend!  Measure, measure, measure.  Then measure again.
  2. thread-pools.md thread-pools.md
    1
    # Thread Pools
    2
    
                  
    3
    Thread pools on the JVM should usually be divided into the following three categories:
    4
    
                  
    5
    1. CPU-bound
  3. gll-combinators gll-combinators Public

    A parser combinator library based on the GLL algorithm

    Scala 302 29

  4. shims shims Public archive

    Seamless interop layer between cats and scalaz

    Scala 174 15

  5. sbt/sbt-github-actions sbt/sbt-github-actions Public

    An sbt plugin which makes it easier to build with GitHub Actions

    Scala 195 59

  6. typelevel/cats-effect typelevel/cats-effect Public

    The pure asynchronous runtime for Scala

    Scala 2k 525