Chayim Refael Friedman

Results 24 issues of Chayim Refael Friedman

Any language needs its way to run native code. As a language for embedding, Wren gives you the flexibility to control the modules you load through the config `bindForeignMethodFn` and...

Closes #40. I also included struct update syntax, because I believe it _is_ parallel to `with` expressions, but I can remove it if requested. Best reviewed commit-by-commit.

- [ ] 1. In chapter 2.2, you give `let s = &mut String::from("hello");` as an example of mutable string while `let mut s = String::from("hello");` is more common and...

`as_mut()` cannot be used correctly, any usage will invoke UB. [As the nomicon says](https://doc.rust-lang.org/stable/nomicon/transmutes.html): > * Transmuting an `&` to `&mut` is Undefined Behavior. While certain usages may *appear* safe,...