I'm consistently impressed with @rustlang. Every time I battle the borrow checker I'm taken to church (slang for ass-whipped) for using memory in a dangerous way. Genuinely feel like it makes me a better engineer.
-
-
Replying to @bigmstone @rustlang
So no missing Go? Does Rust fork as a process on Linux? I could Google this...but want your take.
1 reply 0 retweets 0 likes -
Referring to how goroutines are spawned before the main/init function in a Go binary? Rust doesn't have a runtime, so it doesn't do anything like that. There are no hidden background costs. You may create an async runtime / thread pool to send tasks to if you want, though.
1 reply 0 retweets 0 likes -
Re: "Rust doesn't have a runtime" - I personally prefer saying it has a small runtime to be more accurate.
@_ipengineer check https://doc.rust-lang.org/book/ch16-01-threads.html … if you're interested in Rust's approach to threading. Specifically coming from go you want to hear their take on M:N threading.1 reply 0 retweets 1 like -
Yes, every non-assembly language has one. I sometimes say “has roughly the same amount of runtime as C or C++”
2 replies 0 retweets 2 likes
And, while that book chapter is good, we’re almost ready to ship async/await, which will provide concurrency alongside the parallelism of threads. And don’t forget that this shows the base interface, don’t sleep on crates like rayon and scoped_threadpool!
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.