Calling C code from Scala

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/scala

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
  • GitHub repo sbt-jni

    SBT Plugin to ease working with JNI

    I encourage you to go with sbt-jni, it also supports Rust/Cargo now ;)

  • GitHub repo JavaCV

    Java interface to OpenCV, FFmpeg, and more

    Check this out, this works pefectly inside scala projects so you can do like that: https://github.com/bytedeco/javacv

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • GitHub repo dotty

    The Scala 3 compiler, also known as Dotty.

    There are also VarHandles, which work in the latest JDK, however, are not available on Scala 3 (https://github.com/lampepfl/dotty/issues/11332)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts