Re:Announcing BuckleScript 1.0
by hongbo_zhang on Wednesday August 31, 2016 @08:18PM
(#12402402)
as long as it is vanilla OCaml (no c stubs), it should be fine
[ Parent
| on HN ]
Uh, given that you don't respect ocaml's memory model and force -safe-string, that's just not true. Any Obj.magic that is correct in OCaml is probably not going to be correct in bucklescript.
Did you actually tried to compile core ?
Re:Announcing BuckleScript 1.0
by hongbo_zhang on Thursday September 01, 2016 @09:16AM
(#12404966)
`-safe-string` is the future. Any compiler can not guarantee its correctness if you write crazy code , `Obj.magic` here.
I am not interested in core personally, but I don't see any reason why it will not work if it is vanilla OCaml