Skip to content

Commit 3f481dc

Browse files
committed
main
1 parent 382d72b commit 3f481dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
srs is a small language with the Scala 3 look and feel that compiles to portable C. It is implemented in [itself `./s1`](./s1), bootstrapped via the Zig toolchain using an stable [seed](./bootstrap). There is no garbage collector. Instead, the compiler checks how you use memory, mutable state and resources tracked as Flow Effects with Handlers at compile time, so the C you get has no runtime bookkeeping left in it.
44

5-
> Goal: My goal is to use `srs` instead of Rust for some native projects of mine. I care more about Functional features and C-ABI with no stdlib.
5+
> Goal: My goal is to use `srs` instead of Rust for some native projects of mine. I care more about Functional features like Protocols below and C ABI and being as close to metal than having scala stdlib.
66
77
If you write Scala 3 you already know most of the syntax: `enum`, `match`, `trait`, `given`, indentation instead of braces. What srs adds is a type system that tracks *where a value lives* and *what state a resource is in*. It also lets types compute things at compile time.
88

0 commit comments

Comments
 (0)