Skip to content
Avatar

Sponsors

@tpolecat @lavrov @TonioGela @gvolpe @AnirudhVyas @a-nigredo @renghen @rodobarcaaa @keynmol
@DougC

Achievements

Achievements

Highlights

  • 3 discussions answered

Organizations

@scala @typelevel @quasar-analytics
Block or Report

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.

Report abuse

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

Report abuse

Pinned

  1. 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. 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. A parser combinator library based on the GLL algorithm

    Scala 279 28

  4. shims Public archive

    Seamless interop layer between cats and scalaz

    Scala 174 16

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

    Scala 142 45

  6. A plugin which represents my personal SBT project baseline

    Scala 51 21

1,574 contributions in the last year

Apr May Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar Mon Wed Fri

Contribution activity

April 2022

Created 4 commits in 1 repository
Created 1 repository
Opened 1 pull request in 1 repository
typelevel/cats-effect 1 merged
Reviewed 3 pull requests in 1 repository

Seeing something unexpected? Take a look at the GitHub profile guide.