Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ori_b
on June 19, 2019
|
parent
|
context
|
favorite
| on:
Facebook picked Rust to implement Libra
> You have to explicitly opt-in to any unsafe operations
Many of the unsafe operations don't exist in OCaml. Often because the GC makes them unnecessary.
pcwalton
on June 19, 2019
[–]
You can implement all of the unsafe operations in OCaml using the unsafe Obj.magic cast:
http://caml.inria.fr/pub/docs/manual-ocaml/libref/Obj.html
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Many of the unsafe operations don't exist in OCaml. Often because the GC makes them unnecessary.