Skip to content

Commit

Permalink
Final edits and add to TOC
Browse files Browse the repository at this point in the history
  • Loading branch information
velvia committed Nov 21, 2023
1 parent f38da31 commit 9361909
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 2023-conviva-scala-to-rust/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,9 @@
that must be separate object. The Payload is yet another obj because of boxing/Any.
Events are a list which internally probably uses an Array.

Rust: Using an enum for Timeline avoids boxing for generic types.
Rust: Having structs avoids one layer of boxing.
OutputSpans is SmallVec, inline for <= 2. Span is struct, inlined.
Having enums also helps

---

Expand Down Expand Up @@ -700,7 +701,7 @@

# What do we miss from Scala?

- ScalaTest DSLs
- More mature libraries - in some cases: HDFS, etc.
- Good streaming libraries - like Monix, Akka Streams etc.
- I guess all of Akka
- "Less misleading compiler messages"
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<script type="text/template">
## Presentations

- [Porting a Streaming Pipeline from Scala to Rust](2023-conviva-scala-to-rust/index.html) at 2023 Scale by the Bay
- [Location-Based Data Engineering for Good](2021-lbs-data-eng-for-good-pyspark/index.html) at 2021 Scale by the Bay
- [Allocating Less: Really Thin Rust Cloud Apps](2021-cncf-rustday-alloc-less/index.html) at 2021 CNCF KubeCon RustDay Europe
- [Rust and Scala, Sitting in a Tree](2019-sbtb-rust-scala/index.html) at SBTB 2019
Expand Down

0 comments on commit 9361909

Please sign in to comment.