|
nrc
@
nick_r_cameron
Christchurch City, New Zealand
|
|
Dist systems and databases at @PingCAP. Previously: Rust at Mozilla, Firefox graphics and layout; research in programming languages and type systems. He/him.
|
|
|
7.214
Tweetovi
|
508
Pratim
|
3.716
Osobe koje vas prate
|
| Tweetovi |
| nrc proslijedio/la je tweet | ||
|
Tokio
@tokio_rs
|
14 h |
|
How Discord went from millisecond latencies to microseconds by switching from Go to #rustlang and Tokio blog.discordapp.com/why-discord-is…
|
||
|
|
||
|
nrc
@nick_r_cameron
|
4. velj |
|
Yeah, but an usually dry one until a few days ago
|
||
|
|
||
|
nrc
@nick_r_cameron
|
4. velj |
|
Screwed up a Git rebase. Worse than I have in years. Thank god for the reflog
|
||
|
|
||
| nrc proslijedio/la je tweet | ||
|
Nicholas Nethercote
@nnethercote
|
3. velj |
|
I have always had trouble understanding the output of the Linux perf tool. But I just discovered this graphical viewer from @KDABQt that makes it much more comprehensible:
github.com/KDAB/hotspot
Cool!
|
||
|
|
||
|
nrc
@nick_r_cameron
|
3. velj |
|
Jesus, they got a *meter* of rain in 2.5 days in Fiordland. That is a huge amount of water. Meanwhile on this side of the divide, we've barely had a drop of rain since Mid-December
|
||
|
|
||
|
nrc
@nick_r_cameron
|
2. velj |
|
Yes, but with `func foo() ... { return nil }`, `assert.Equal(t, nil, foo())` fails.
|
||
|
|
||
|
nrc
@nick_r_cameron
|
2. velj |
|
All of these conclusions I kind of expected from studying Go without doing 'real' programming, but with some programming experience, they are *much* more apparent
|
||
|
|
||
|
nrc
@nick_r_cameron
|
2. velj |
|
I think I will write a blog post or tweet thread about Go this week, but in the meantime, my conclusions are: Go is pretty nice to use and very easy to learn, it has some odd corners, more than I expected, Go and Rust are very different languages with very different applications
|
||
|
|
||
|
nrc
@nick_r_cameron
|
2. velj |
|
neither is equal to an empty slice or a slice of nil.
|
||
|
|
||
|
nrc
@nick_r_cameron
|
2. velj |
|
I'm, surprisingly, not minding nil pointers too much - I guess C++ and Java background helps. However, If you thought null was bad, Go's nil is kind of insane - there is nil and there are nil slices. nil can be implicitly converted to a nil slice, but the two are not equal
|
||
|
|
||
|
nrc
@nick_r_cameron
|
2. velj |
|
Day 6 of Go: panic: runtime error: invalid memory address or nil pointer dereference
|
||
|
|
||
| nrc proslijedio/la je tweet | ||
|
electrified filth
@sadisticsystems
|
2. velj |
|
It was a lot of fun speaking with folks at FOSDEM today about sled and io_uring! Here are the slides from my talk today:
docs.google.com/presentation/d… twitter.com/sadisticsystem…
|
||
|
|
||
|
nrc
@nick_r_cameron
|
1. velj |
|
Go
|
||
|
|
||
| nrc proslijedio/la je tweet | ||
|
TiKV
@tikvproject
|
31. sij |
|
Rustaceans, ever felt bad about #rust compile times? Come check what Brian Anderson, our contributor and also one of the original Rust authors, has to say about it, and learn about how he and team have improved compile times for @tikvproject. @rustlang bit.ly/2GES3fr
|
||
|
|
||
|
nrc
@nick_r_cameron
|
30. sij |
|
They do, but this (among other things) really forces you to use an IDE, which is sometimes not optimal
|
||
|
|
||
|
nrc
@nick_r_cameron
|
30. sij |
|
Oh my god, yes, that is so annoying
|
||
|
|
||
|
nrc
@nick_r_cameron
|
30. sij |
|
: public?
: too long
: pub?
: too long
*takes huge bong rip*
: capitalise the first letter of the variable name?
: shipit!
|
||
|
|
||
| nrc proslijedio/la je tweet | ||
|
PingCAP
@PingCAP
|
30. sij |
|
Feel Rust compile time is bad? @rustlang
You are not alone. One of Rust's original authors, Brian Anderson, could not agree more.
Read this article to learn his firsthand experience of Rust designs and history, with @tikvproject as a case study. #rustlang
hubs.ly/H0mPBCP0
|
||
|
|
||
|
nrc
@nick_r_cameron
|
29. sij |
|
I can! It’s mostly been a good experience tbh. It’s easy to learn and consistent. There are other good bits too, but I am just starting to explore really.
|
||
|
|
||
|
nrc
@nick_r_cameron
|
29. sij |
|
I feel that at least one of those animals should be a gopher
|
||
|
|
||