In #golang is AddFoo(foo *Foo) { append(foos, *foo) } correct?
-
-
Replying to @kellabyte
@kellabyte i thought you would be more of a@rustlang type1 reply 0 retweets 0 likes -
Replying to @sampullara
@sampullara For high perf I don’t like golang, I’m keeping an eye on Swift for that. I can’t get into Rust, the syntax drives me nuts.2 replies 0 retweets 3 likes -
Replying to @kellabyte
@kellabyte too bad. check out http://github.com/pingcap/tikv — ported their distributed kv store from go to rust.2 replies 0 retweets 0 likes -
Replying to @sampullara
@sampullara I don’t like the ownership crap in Rust and all the wacky hard to read syntax. I think Swift is simpler.1 reply 0 retweets 0 likes -
Replying to @kellabyte
@kellabyte@sampullara I want to like that, but last time I looked it seems as if they had a pointer type to match each side of the timecube3 replies 0 retweets 2 likes -
Replying to @strlen
@strlen@sampullara LOL. The problem with all these languages, zero-copy optimizations are impossible.2 replies 0 retweets 0 likes -
Replying to @kellabyte
@kellabyte@strlen i think you can with rusts unsafe or just call C functions. FFI is just C calls.1 reply 0 retweets 0 likes -
Replying to @sampullara
@sampullara@strlen How do rust strings work? Can you take a C buffer into a rust string without a memcpy?4 replies 0 retweets 0 likes
@kellabyte @sampullara @strlen Yes.
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.