Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
anp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
151.
▲
by
anp
8y ago
I could have sworn std aborted on allocation failure, not panicked. Am I misremembering?
152.
▲
by
anp
8y ago
It's good that you include "shameless plug" in these posts to clarify, but it would be much much clearer if you included more explicit phrasing along the lines of "I only post to HN to plug my project called SaferCPlusPl
153.
▲
by
anp
8y ago
I’ve longed for something similar in writing JavascriptCore bindings. Something lighter weight than swig but which still has an IR for describing the full API surface for codegen plugins would be immensely useful.
154.
▲
by
anp
8y ago
Well this interpretation certainly explains some of the reactions that word has gotten in my use of it!
155.
▲
by
anp
8y ago
I talked about this a little bit in the meetup talk I linked and I intend to write a bit more about this, but I'll try to summarize. There are kind of three prongs here: First, using criterion.rs does a ton for giving us more stable me
156.
▲
by
anp
8y ago
I use this word the way we did when I worked as a PC technician and help desker, where there's a lot of automation but then we sneak a bit of manual labor in to make it actually useful. Like how user accounts would be maintained in the
157.
▲
by
anp
8y ago
I currently do something pretty similar by using the perf subsystem in the Linux kernel to track the behavior of each benchmark function. In my early measurements I found concurrent benchmarking to introduce unacceptable noise even with thi
158.
▲
by
anp
8y ago
Each benchmark result is only compared against values from running on literally the same machine, actually. I agree that good results here would be extremely difficult to produce on virtualized infra, so I rented a few cheap dedicated serve
159.
▲
by
anp
8y ago
Thanks! Not yet, but I am tracking this as a desired feature: https://github.com/anp/lolbench/issues/9 . The benchmark plan generation, storage keys, and results presentation will at a minimum need to be exten
160.
▲
by
anp
8y ago
hi! author here if you want to ask questions or (nicely pls) let me know where I've made mistakes!
161.
▲
Lolbench: automagically and empirically discovering Rust performance regressions
(blog.anp.lol)
199 points
by
anp
8y ago
|
40 comments
162.
▲
by
anp
9y ago
I think this is an interesting exploration because I really enjoyed the description of profiling and improving performance, but I came away feeling exactly the opposite of the title. I think it's really cool that JS optimization can pr
163.
▲
Native Directory: a curated list of 250 React Native libraries
(native.directory)
31 points
by
anp
9y ago
|
7 comments
164.
▲
by
anp
9y ago
> No. If your language cannot call into a dynamic library using a well-defined C ABI for your platform, then it is already failing to speak a standard protocol. This also involves a marshalling cost at the ABI boundary, which may be lowe
165.
▲
by
anp
10y ago
I'd wager that using C prevents large classes of errors that would be common place in assembly. That said, colloquial history seems to say that there were plenty of languages which did a better job at that than C.
166.
▲
by
anp
10y ago
By default rust doesn't allow out of bounds indexing (indexing and iteration are checked, although bounds checks are often optimized out), you have to explicitly write unsafe code to read off the end of an array or vector.
167.
▲
Introducing Create React Native App
(facebook.github.io)
535 points
by
anp
10y ago
|
158 comments
168.
▲
by
anp
10y ago
As a general reply to a variety of the complaints in this thread: don't underestimate the task that triplebyte has in selling you to companies, especially since they have focused on candidates who might not even get an onsite interview
169.
▲
Rust is more than safety
(words.steveklabnik.com)
242 points
by
anp
10y ago
|
292 comments
170.
▲
by
anp
10y ago
Anything involving asynchronous operations has historically been painful with Django. I know that new versions are improving on this, but I think for now it's limited to web sockets.
171.
▲
Ripgrep – A new command line search tool
(blog.burntsushi.net)
740 points
by
anp
10y ago
|
209 comments
172.
▲
by
anp
10y ago
From this post, Crystal appears to have some of the things many people have been lusting after in Rust: sophisticated metaprogramming, fewer sigils, a bigger standard library, fibers/coroutines/whatever-they're-called-now. Bu
173.
▲
The Rust Platform
(aturon.github.io)
362 points
by
anp
10y ago
|
250 comments
174.
▲
A Formal Verification of Rust's Binary Search Implementation
(kha.github.io)
153 points
by
anp
10y ago
|
26 comments
175.
▲
by
anp
11y ago
Nitpick: GC is technically optional in Rust, because you can stick pretty much anything in a reference-counted box or an atomically-reference-counted box (Rc<T> or Arc<T>). It's not the default by any means though.
176.
▲
by
anp
11y ago
Thanks very much for the detailed and thoughtful answers! I've read before (somewhere, I think) that Dropbox effectively maintains a large internal "standard library" rather than relying on external open source efforts. How m
177.
▲
by
anp
11y ago
steveklabnik also pointed out on the Rust subreddit that there's a Dropbox blog post covering a few more technical items: https://blogs.dropbox.com/tech/2016/03/magic-pocket-infrastr...
178.
▲
by
anp
11y ago
Only responding to one element of your comment -- but I think that Rust's safety features are over-marketed in my experience. The safety Rust offers is only part of a package that provides high-performance high-level abstractions over
179.
▲
by
anp
11y ago
Re: low-level Rust, I've been really enjoying following this series: http://os.phil-opp.com/ It shows a variety of ways to safely wrap unsafe code and then provide strongly-typed safe interfaces to the hardware, no poi
180.
▲
by
anp
11y ago
I get the impression that this is a purposeful misunderstanding, mostly for kicks and giggles. Maybe I'm wrong? But it certainly seemed tongue in cheek to me, aimed at bringing a fresh perspective to a work that's already been p
More ›