Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
krenoten
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
121.
▲
by
krenoten
12y ago
Even with Go it's a fairly bad idea not to use Goroutine pools for request handling if you're writing low-latency services. You can get isomorphic results with a future pool and channels.
122.
▲
by
krenoten
12y ago
With 1.0, rust no longer has a runtime at all, so official support for libgreen was actually dropped. However, between sync::mpsc, sync::TaskPool and sync::Future you can produce similar results.
123.
▲
by
krenoten
12y ago
Many people seem to be confused by Rust's lack of limitations imposed on you as a programmer. In particular, the fact that so much of what is thought of as a runtime is provided as optional libraries. You can run tasks similar to Gor
124.
▲
Operating System Development in Rust
(github.com)
160 points
by
krenoten
12y ago
|
67 comments
125.
▲
by
krenoten
12y ago
You can create freestanding binaries, but you need to implement more things on your own. Check out this page for some interesting projects: https://github.com/rust-lang/rust/wiki/Operating-system-deve...
126.
▲
by
krenoten
12y ago
Feel free to use the asm! macro in rust when you need to. FFI support is also quite good.
127.
▲
by
krenoten
12y ago
Not quite, I am against the notion that everybody uses Go for one reason. But I also think that the reason you gave would not be true if goroutines and channels, or some other easy to use concurrency abstraction, were not a primary fixture
128.
▲
by
krenoten
12y ago
You are absolutely correct. I should say that the THEORETICAL performance of Rust may be competitive with C++, maybe even faster in some cases, but that work remains to be done to get it there. My above statement assumes that this day wil
129.
▲
by
krenoten
12y ago
Ted meant that Go has a decent story for this particular use case, not that everybody uses it because of that. I think that you meant to say "distant from my reality" instead of "distant from reality", because otherwise
130.
▲
by
krenoten
12y ago
I think what he meant is that the compiler gives you certain guarantees that in some cases will mean that you don't need to directly use atomics and mutexes at all. Rust still allows you to arbitrarily harm yourself, but it usually ma
131.
▲
by
krenoten
12y ago
This has indeed encouraged much comparison: there is simply a large overlap in the communities that may be inclined to use either. There was a discussion between the authors of C++, Rust, D, and Go in which the topic of what a "system
132.
▲
by
krenoten
12y ago
They are compared by pretty much anyone that has found both to be significant or interesting. People often compare it to C++ because of the theoretical performance capabilities being similar. People often compare it to Go because Go is a
133.
▲
by
krenoten
12y ago
They are compared because as humans, we are much better at learning new things when contrasted to other things that we are aware of. A concept that has absolutely no parallels with a previously encountered one is much more difficult to und
134.
▲
by
krenoten
12y ago
This is so much more important than people are generally aware of. We are leaving the point in time that writing highly bug-prone C or C++ is justifiable due to performance concerns. The justifiability of these up until now is a huge reas
135.
▲
by
krenoten
12y ago
"I could use Rust, but a glance at the concurrency documentation looks like I’ll be spending a lot of my time doing exactly the kind of thread management reference counting minutiae that Go does for me by providing channels." Actu
136.
▲
by
krenoten
12y ago
By decoupling function from identity. Fake faces, portable faraday cages, blockchained trust, onion routed transport, free hardware and software.
137.
▲
by
krenoten
12y ago
To be honest I was a little disappointed when I saw this talk. Its title was not accurate for a presentation at ccc. It is neither advanced nor attributable to a nation state. It grossed me out when the nontechnical guy hyped things and
138.
▲
by
krenoten
12y ago
It's suffering pretty nasty usability issues, actually.
139.
▲
by
krenoten
12y ago
31k/hr is < 9/s, and yet apparently it's been having issues scaling. Other social networks have started with similar ambitions of never showing ads, gotten investors and punt on monetization as they "perfect the prod
140.
▲
by
krenoten
12y ago
The ephemerality of its content significantly eases the pressure to censor there.
141.
▲
by
krenoten
12y ago
I don't know very much at all about objective C, but the way these things generally work is that you will benefit from the experience as you learn new languages, as it will be an anchor of context against which you may base fresh perce
142.
▲
by
krenoten
12y ago
Reading a book cover-to-cover is, for me, a bad way to learn a language. I usually pick things up very quickly when I try to implement things using them that I am both familiar with and faced with annoying issues stemming to the language t
143.
▲
by
krenoten
12y ago
Yes. Numerous reputable entities have published reports demonstrating that users notice quite a lot. Amazon claims that every 100ms costs them 1% of revenue. Google claims 500ms costs them 20% of traffic. 5 seconds is a fucking eternity,
144.
▲
by
krenoten
12y ago
cdb is immutable - when you want to change the contained data set you generally rebuild the file, flip a fs link to the new version, and release file descriptors referencing the old version in applications when it's time to move on. b
145.
▲
by
krenoten
12y ago
CDB is awesome for its use case - slow changing, read-heavy workflows that are tolerant of stale data. One limitation of the original implementation is the use of 32-bit keys for addressing, which limit the addressable size to 4gb. There
146.
▲
by
krenoten
12y ago
For hard problems, you can take advantage of (and should embrace) the mind's wild variability by consciously outlining what you know about the problem until you hit a pause in the stream of consciousness, letting your subconscious work
147.
▲
by
krenoten
13y ago
The S in ASD stands for spectrum, as there is a diverse range of symptoms that may lead to an autism diagnosis. Many of these are not at odds with analytical or creative capacity. There's a gap between where aspergers tends to stoppe
148.
▲
by
krenoten
13y ago
That's very good news. Thank you for breaking it down for me!
149.
▲
by
krenoten
13y ago
I was unaware of the BBC (or any) major media coverage of this. It still worries me that this is going the route of "everybody look at this" to keep it secure. It does take a certain amount of trust among participants to go the
150.
▲
by
krenoten
13y ago
That's a good point. You've convinced me :)
More ›