Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nikomatsakis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
You won't believe what this AI said after deleting a db (but you might relate)
(smallcultfollowing.com)
2 points
by
nikomatsakis
1y ago
|
0 comments
2.
▲
by
nikomatsakis
12y ago
Technically, byte-strings (and nested comments) mean the lexer is not regular, but the grammar is still context-free. But anyway, parsing is not typically the bottle-neck these days.
3.
▲
by
nikomatsakis
12y ago
The final draft made an effort to address those concerns -- but also they are completely inapplicable to optimized builds, as kibwen points out. (And if you care how fast your code runs, you really do want optimizations...)
4.
▲
by
nikomatsakis
12y ago
I hadn't actually followed the link in the original post. I see that the claims there were slightly different than what I was thinking of. Nonetheless, I stand by what I wrote above. In particular, while I of course agree with the auth
5.
▲
by
nikomatsakis
12y ago
I don't know that anyone claimed that a bug similar or analogous to heartbleed couldn't be reproduced in Rust. If they did, that was certainly an overstatement. I think more concretely people claimed that unreachable code yields a
6.
▲
by
nikomatsakis
12y ago
See also the discussion thread: http://discuss.rust-lang.org/t/orphan-rules/1322/26
7.
▲
by
nikomatsakis
12y ago
I wouldn't be so quick to give up on GC support yet! "We have a plan!" But I don't think we'll have it in for Rust 1.0. And it's true that, even if we never do get it to work in a satisfactory way, the language
8.
▲
by
nikomatsakis
15y ago
fwiw, I thought the same when I began work on Rust, but I have since gotten quite used to the shorter keywords. At this point, I can't believe the keywords in other languages are so pointlessly long. But the truth is that whatever the surfa
9.
▲
by
nikomatsakis
15y ago
I wrote up a quick blog post to spell out some of the examples and show how the design aims for a consistent meaning for the `ret` keyword: http://smallcultfollowing.com/babysteps/blog/2012/04/06/for-...
10.
▲
by
nikomatsakis
15y ago
You're missing something. The semantics of `ret` are always consistent: it always returns from out the innermost `fn()` declaration (closures written using the sugared notation `{||...}` do not count as fn declarations, but closures writte
11.
▲
New for loops in Rust
(brson.github.com)
41 points
by
nikomatsakis
15y ago
|
25 comments