Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> so looks like it's not written in go :-)

That post is three years old, before the rewrite.





I missed that. For the curious:

https://www.reddit.com/r/golang/comments/1j8shzb/microsoft_r...

When asked why go and not rust, they said: "The existing (javascript) code base makes certain assumptions -- specifically, it assumes that there is automatic garbage collection -- and that pretty much limited our choices. That heavily ruled out Rust. I mean, in Rust you have memory management, but it's not automatic; you can get reference counting or whatever you could, but then, in addition to that, there's the borrow checker and the rather stringent constraints it puts on you around ownership of data structures. In particular, it effectively outlaws cyclic data structures, and all of our data structures are heavily cyclic. "

sharp!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: