Scala Native
gox
Our great sponsors
Scala Native | gox | |
---|---|---|
15 | 3 | |
4,440 | 185 | |
0.3% | 0.0% | |
9.7 | 0.0 | |
4 days ago | over 4 years ago | |
Scala | Go | |
GNU General Public License v3.0 or later | MIT License |
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.
Scala Native
-
Reconnecting with Scala. What's new?
Links: - https://dotty.epfl.ch/ - https://scala-native.org/en/stable/ - https://www.scala-js.org/ - https://typelevel.org/ - https://zio.dev/ - https://github.com/scala-native/scala-native/pull/3120 - https://github.com/lampepfl/dotty/pull/16517 - https://dotty.epfl.ch/docs/reference/experimental/index.html - https://scala-cli.virtuslab.org/ - https://scalameta.org/metals/ - https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html - https://www.scala-lang.org/blog/2023/04/18/faster-scalajs-development-with-frontend-tooling.html - https://www.scala-lang.org/blog/2022/08/17/long-term-compatibility-plans.html
-
About Scala-Native
There's a plant of topics in which we might need help. To name a few, we might need some help in [porting the remaining JSR-166 types](https://github.com/scala-native/scala-native/issues/3165) to Scala Native shipped with future experimental multithreading support, but also large parts of the Java standard library need some improvements or reimplementations. Last but not least, we need people dedicated to the optimization of our current toolchain to make it use fewer resources and allow for faster builds.
-
Managed Memory Version of Rust?
Scala Native could have been this language, but at this stage I don't see it happening.
-
Contrary to popular belief, Scala is actually a quite small and simple language
good stuff there is https://scala-native.org/ and http://www.scala-js.org/ then, I suppose?
-
Dropping Scala 2.11 support in Scala.js and Scala Native
Please vote for dropping Scala 2.11 support in Scala.js (https://github.com/scala-js/scala-js/issues/4759) and Scala Native (https://github.com/scala-native/scala-native/issues/2780)
-
Virtual Threads: New Foundations for High-Scale Java Applications - Brian Goetz
I presume only the JVM version of Scala can use Loom but scala-native (https://scala-native.org/) and scala-js (https://www.scala-js.org/) can't use Loom. Similarly with Kotlin, the JVM Kotlin gets Loom, but the native and Javascript backends do not.
-
The Typelevel stack and Scala Native
Nope. Scala Native is (still) single threaded, just like you are in e.g. Python or Node.js.
-
What is Scala Native use case?
Until recently, there was only 64-bit support. 32-bit support is coming, though, see this pr. This means that you will be able to target 32-bit microcontrollers soon. Anything lower than 32-bit might not be realistic.
- MIT Scheme on Apple Silicon
-
Scala 3 Native support was published
The release is binary compatible with previous ones, but Scala 3 on its own does not fully source compatible - more info about that in https://github.com/scala-native/scala-native/pull/2480 The full release is planned for the first weeks of January.
gox
-
What's the simplest language to implement?
Depending on what you are trying to accomplish by writing "a language", extending an existing language or making a syntactically-different language that compiles to an existing language can be both fast and rewarding. For example, I made https://github.com/8byt/gox in a couple days with no prior language-design experience (gox is to Go as JSX is to Javascript).
- JSX for Go
-
GoKart: A static analysis tool for securing Go code
Long ago I hacked together a weekend project with a friend of "JSX for go" that allowed embedding html tags into Go source like people do for react. We were pleasantly surprised how readable and flexible the Go parser source code was, even for the pretty dramatically different syntax we were trying to support.
https://github.com/8byt/gox
What are some alternatives?
PureConfig - A boilerplate-free library for loading configuration files
bootBASIC - bootBASIC is a BASIC language in 512 bytes of x86 machine code.
YahooFinanceScala - A non-blocking Yahoo Finance Scala client
qscm - A tiny bootstrapped Scheme
ScalaSTM - A library-based Software Transactional Memory (STM) for Scala, coupled with transactional sets and maps
lbForth - Self-hosting metacompiled Forth, bootstrapping from a few lines of C; targets Linux, Windows, ARM, RISC-V, 68000, PDP-11, asm.js.
Fansi - Scala/Scala.js library for manipulating Fancy Ansi colored strings
minimal-lisp
Scalan - Generic framework for development of domain-specific compilers in Scala
dmd - dmd D Programming Language compiler
Miniboxing - Miniboxing is a program transformation that improves the performance of Scala generics when used with primitive types. It can speed up generic collections by factors between 1.5x and 22x, while maintaining bytecode duplication to a minimum. You can easily add miniboxing to your sbt project:
jonesforth_arm64_apl - JonesForth ARM64 with APL symbols