Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brson
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
151.
▲
by
brson
12y ago
In fairness though, it's very unlikely that Rust will be distributing an official HTTP library by 1.0 - it's a big, difficult, library, the type which deserves to prove itself in for awhile before settling on. For these types of l
152.
▲
by
brson
12y ago
It depends on what your production needs are, and how much of the gaps are filled in by unofficial libraries in the meantime (e.g. there are Rust crypto libraries, but none that are officially endorsed). Production-readiness comes in degree
153.
▲
by
brson
12y ago
And FWIW here's the research presentation Tucker gave while he was at Moco about his new language Parasail: https://air.mozilla.org/region-based-storage-management-para...
154.
▲
by
brson
12y ago
We've talked to Tucker Taft about Ada and Rust before, though it was a while ago and I mostly recall that we discussed aspects of Ada's standardization process (I think Graydon was a fan of Ada's spec). Niko would probably re
155.
▲
by
brson
12y ago
John Regehr gave a presentation to the Bay Area Rust user's group recently about his work. Since then we've started applying C-Reduce to Rust bugs and it has been working surprisingly well. If you've got a curly-brace languag
156.
▲
by
brson
12y ago
I could have put some more thought into this response. As Rust becomes more popular while we try to bring home the last few major changes, we've had this problem a few times, where the broader community is surprised and partially shock
157.
▲
by
brson
12y ago
The OP is, in fact, that document. You'll notice this in a pull request to Rust's RFC repo. This change has been prominently brewing in the Rust community for a long time. The fact is that people have strong opinions about Rust an
158.
▲
by
brson
12y ago
Servo is the kind of project that launches a thousand research papers. Some of the early results are staggering and the project is still just getting going. It is a great example of doing serious research to practical ends. Some examples: -
159.
▲
by
brson
13y ago
There's an open issue for this: https://github.com/mozilla/rust/issues/13289
160.
▲
by
brson
13y ago
Rust can be called from other languages even with std. The main thing you'll be missing is the ability to handle task failure (which will just cause a process abort), but also protection from stack overflow. For full integration it wil
161.
▲
Servo: Inside Mozilla's mission to reinvent the web browser
(zdnet.com)
212 points
by
brson
13y ago
|
181 comments
162.
▲
by
brson
13y ago
Maybe not. Rust is starting to mature and the code generation is already quite good (though there are still many opportunities for improvement). Hopefully this exposure will inspire people to improve these benchmarks. With a little effort R
163.
▲
by
brson
13y ago
It probably should be reserved.
164.
▲
by
brson
13y ago
I like this a lot, and think it's the best intro to Rust yet. The thing that concerns me a bit is that it presents the special cases in concurrency without impressing some of the most important points. Primarily, the channel example pr
165.
▲
by
brson
13y ago
I wouldn't want it to get too in-depth. Maybe just mention that this is a simple example but Rust prevents many other types of related errors.
166.
▲
by
brson
13y ago
Thanks for your report. I understand your frustration, and it's true that Windows support continues to lag. Some of the mingw dependencies were eliminated this release but not all. In particular, Rust still depends on mingw's link
167.
▲
Using Rust for an Undergraduate OS Course
(rust-class.org)
126 points
by
brson
13y ago
|
71 comments
168.
▲
by
brson
13y ago
Awesome post. All this discussion makes me realize that we haven't hit the sweet spot yet and need to keep considering more message passing use cases. I am wary though of providing too many options and very much want to have one channe
169.
▲
by
brson
13y ago
The implementation on master currently uses a single queue, but very shortly it will be converted to work stealing. Tasks can be 'pinned' to their own scheduler (i.e. thread) with `spawn_sched(SingleThreaded)`, and this is very im
170.
▲
How I Got Started Hacking Rustc, and How You Can Too
(cmr.github.io)
2 points
by
brson
13y ago
|
0 comments
171.
▲
by
brson
14y ago
It's not your misunderstanding, there is just very little library suport for managed vectors (and strings). For quite a while managed vectors did not exist, so owned vectors are everywhere. The semantics of managed vectors and owned vectors
172.
▲
by
brson
14y ago
I'm very curious about better ways to explain not just Rust pointers, but also other features that contribute to Rust's unique feel, like inherited mutability and linear types. These things are all interrelated and there are some emerging b
173.
▲
by
brson
14y ago
This is not quite possible yet, but will be at some point. Rust does currently depend on a language runtime which expects to control the execution of all Rust code (in particular managing the task scheduler), and the runtime does not have a
174.
▲
by
brson
14y ago
There is no finalized spec (and the spec has actually fallen quite far behind for the moment), nor do I expect anything about Rust to be called 'final' for a while yet. The upcoming 0.4 release (any day now) makes a big push to get a lot of
175.
▲
by
brson
14y ago
And the release announcement: https://mail.mozilla.org/pipermail/rust-dev/2012-July/002087...
176.
▲
by
brson
15y ago
Annotations don't live within comments. The syntax for annotations is #[annotation]. They are part of the grammar.
177.
▲
by
brson
15y ago
Tests are mostly built-in to make sure there's no excuse to not test, but it is intended to be minimal and that other test frameworks can build off it (though it's not clear exactly how yet).