AFAIK, the byaddr pragma is dangerous iff the underlying data structure gets relocated. Is it possible or would it be possible to have something like var S:seq[T] # populate S var s0 {.byaddr.} = S[0] try : monitor(S) # activate a handler which raises "Relocation Error" if S got relocated ... use s0 except Relocation Error : ... Run
- Nim (1.4 ORC) v.s. Rust in terms of safety? slonik_az
- Nim (1.4 ORC) v.s. Rust in terms of safety? Araq
- Nim (1.4 ORC) v.s. Rust in terms of safety? slonik_az
- Nim (1.4 ORC) v.s. Rust in terms of safety? eyes
- Nim (1.4 ORC) v.s. Rust in terms of safet... mratsim
- Nim (1.4 ORC) v.s. Rust in terms of ... Araq
- Nim (1.4 ORC) v.s. Rust in terms of ... snej
- Nim (1.4 ORC) v.s. Rust in terms of ... Araq
- Nim (1.4 ORC) v.s. Rust in terms of ... Stefan_Salewski
- Nim (1.4 ORC) v.s. Rust in terms of ... Araq
- Nim (1.4 ORC) v.s. Rust in terms of ... HJarausch
- Nim (1.4 ORC) v.s. Rust in terms of ... demotomohiro
- Nim (1.4 ORC) v.s. Rust in terms of ... ynfle
- Nim (1.4 ORC) v.s. Rust in terms of ... snej
- Nim (1.4 ORC) v.s. Rust in terms of ... Clonk
- Nim (1.4 ORC) v.s. Rust in terms of ... jrfondren
- Nim (1.4 ORC) v.s. Rust in terms of ... Araq
- Nim (1.4 ORC) v.s. Rust in terms of ... mratsim
- Nim (1.4 ORC) v.s. Rust in terms of ... Araq
- Nim (1.4 ORC) v.s. Rust in terms of ... saem
- Nim (1.4 ORC) v.s. Rust in terms of ... snej