You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the maintainer Li Haoyi: I'm putting a 500USD bounty on this issue, payable by bank transfer on a merged PR implementing this.
We already have Scala-Native support in scalanativelib, but it is not very discoverable and is not covered in the docsite. We should add example tests with explanations and include them in the docsite so people can read the docs and learn how to get started with a simple scala-native project.
This ticket is to add the following examples to a new example/scalalib/native folder:
example/scalalib/native/1-simple: a simple hello-world Scala native project, similar to example/scalalib/basic/1-simple: build, test, run of a trivial one-module project with some trivial thirdparty dependencies
example/scalalib/native/2-interop: a Scala-native project that interops with native C code that is compiled as part of the build, similar to example/javalib/module/15-jni
example/scalalib/native/3-multi-module: a version of example/scalalib/basic/3-multi-module except the two modules are scala-native modules each with their own C code, and with both Scala- and C-level dependencies between the two modules
example/scalalib/native/4-common-config: a version of example/scalalib/module/1-common-config but giving an overview of the important Scala-Native config specific overrides rather than the generic-Scala config overrides
These should be included in a new page in the documentation docs/modules/ROOT/pages/scalalib/native-examples.adoc titled Scala Native Examples, similar to docs/modules/ROOT/pages/scalalib/web-examples.adoc.
All the scala-native integration code should already be there, this ticket is just about documenting it and making it discoverable
The text was updated successfully, but these errors were encountered:
From the maintainer Li Haoyi: I'm putting a 500USD bounty on this issue, payable by bank transfer on a merged PR implementing this.
We already have Scala-Native support in
scalanativelib
, but it is not very discoverable and is not covered in the docsite. We should add example tests with explanations and include them in the docsite so people can read the docs and learn how to get started with a simple scala-native project.This ticket is to add the following examples to a new
example/scalalib/native
folder:example/scalalib/native/1-simple
: a simple hello-world Scala native project, similar toexample/scalalib/basic/1-simple
: build, test, run of a trivial one-module project with some trivial thirdparty dependenciesexample/scalalib/native/2-interop
: a Scala-native project that interops with native C code that is compiled as part of the build, similar toexample/javalib/module/15-jni
example/scalalib/native/3-multi-module
: a version ofexample/scalalib/basic/3-multi-module
except the two modules are scala-native modules each with their own C code, and with both Scala- and C-level dependencies between the two modulesexample/scalalib/native/4-common-config
: a version ofexample/scalalib/module/1-common-config
but giving an overview of the important Scala-Native config specific overrides rather than the generic-Scala config overridesThese should be included in a new page in the documentation
docs/modules/ROOT/pages/scalalib/native-examples.adoc
titledScala Native Examples
, similar todocs/modules/ROOT/pages/scalalib/web-examples.adoc
.All the scala-native integration code should already be there, this ticket is just about documenting it and making it discoverable
The text was updated successfully, but these errors were encountered: