Skip to content

Add the Alioth chameneos-redux benchmark #2832

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 52 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
f197d00
cargo: Fix building dependencies
erickt Jul 6, 2012
117b9a0
Basic functionality for new ports and chans
eholk Jun 7, 2012
4dbd10a
First example of a program using pipes.
eholk Jun 20, 2012
61be3cc
An example using pipes with most of the synchronization code in place.
eholk Jun 22, 2012
c2d3cdc
Progress towards pipes.
eholk Jun 26, 2012
0ad7ae5
Macro and iface tricks to simulate self move.
eholk Jun 26, 2012
5d35435
send only takes one data argument.
eholk Jun 27, 2012
5c3889a
Contracts work well enough to do the message ring benchmark, and it's…
eholk Jun 29, 2012
67b0760
Moved pipes runtime support to libcore, and add a test that will help…
eholk Jun 30, 2012
a4838c9
Enabling pipes for all stages, and updating closure syntax.
eholk Jul 2, 2012
e5c9cb2
Pipes sleep and wake properly.
eholk Jul 3, 2012
89bdd48
Port future to pipes. Graph500 is about 21% faster now.
eholk Jul 3, 2012
a787f40
Select on pipes.
eholk Jul 4, 2012
05cdda3
Plumbing and parsing for item-position macros.
eholk Jul 5, 2012
f0ef4ef
You can have any protocol you want, provided it's pingpong.
eholk Jul 5, 2012
d09bcc0
Adding token tree nonterminals to earley parser.
eholk Jul 5, 2012
84434bc
Recursively expand items, and keep expansion stack, per Paul's code r…
eholk Jul 5, 2012
6806aa0
pingpong protocol parses, although I should probably rewrite this to …
eholk Jul 6, 2012
fa41346
Fixing an infinite type, updating code to match new Early parser, rem…
eholk Jul 6, 2012
7b03832
Updating tests to use pipes.
eholk Jul 6, 2012
604f7c6
Removing locked queue port/chan prototype.
eholk Jul 6, 2012
08a99d6
tutorial: Add a language overview to the introduction
brson Jul 6, 2012
8c64a98
tutorial: Minor tweaks to intro
brson Jul 6, 2012
ee0177b
Move string append to libraries. Closes #2710.
msullivan Jul 6, 2012
11d868e
paper over #2586 by not failing when the key is not found
nikomatsakis Jul 6, 2012
0e1a6cf
Remove tvec::trans_add
eholk Jul 6, 2012
8200141
tutorial: Add a section on the memory model
brson Jul 6, 2012
ea4cd49
tutorial: Minor tweak
brson Jul 6, 2012
702f0cd
Rename dvec::from_elt to dvec::from_elem. Closes #2792.
msullivan Jul 6, 2012
9e6b43f
Rip out a bunch more append code from trans.
msullivan Jul 6, 2012
fce064d
tutorial: Reduce header level for do/for loop sections
brson Jul 6, 2012
b925648
Added a k-nucleotide version that uses pipes. 31% speedup.
eholk Jul 6, 2012
e20f63d
Bank protocol example from blog post
eholk Jul 6, 2012
ceac155
For #2229, recognize 'again' in place of 'cont', final change pending…
graydon Jul 6, 2012
038f925
Be less eager about implicit borrowing when doing method resolution. …
msullivan Jul 6, 2012
23c7336
Fix the indenter script to know about the annoying ~ in the front of …
msullivan Jul 6, 2012
6b8ebc1
First step on #2826, accept ^ for ty_ptr.
graydon Jul 6, 2012
57698fe
tutorial: Remove some trivia
brson Jul 7, 2012
4bb13c6
Add 'class' and 'new' to codemirror-rust.js
brson Jul 7, 2012
ad05996
tutorial: Fix a test-breaking typo
brson Jul 7, 2012
af199f2
tutorial: Expand the section on datatypes
brson Jul 7, 2012
28fec95
tutorial: Add some work on borrowed pointers
brson Jul 7, 2012
b5f5676
tutorial: Use consistent casing in headers
brson Jul 7, 2012
c4af6e9
rustc: Switch to the new resolution pass
pcwalton Jul 7, 2012
b5b8f5e
change borrowck error msg: 'declared in outer block' -> 'captured in …
bblum Jul 6, 2012
f9cb04f
vim: hilight option, either, libc types+constants
bblum Jul 7, 2012
a856bcc
Revert "rustc: Switch to the new resolution pass"
nikomatsakis Jul 7, 2012
59355e9
tutioral: Discuss basic function syntax is discussed before the memor…
brson Jul 7, 2012
205b483
tutorial: Discuss failure and asserts together
brson Jul 7, 2012
3413b3f
tutorial: Expand the section on functions
brson Jul 7, 2012
12f6e96
Add the Alioth chameneos-redux benchmark
killerswan Jul 7, 2012
ec54155
Add improvements suggested by erickt and bblum
killerswan Jul 8, 2012
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/lib/codemirror-rust.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ CodeMirror.defineMode("rust", function() {
"do": "else-style", "ret": "else-style", "fail": "else-style",
"break": "atom", "cont": "atom", "const": "let", "resource": "fn",
"let": "let", "fn": "fn", "for": "for", "alt": "alt", "iface": "iface",
"impl": "impl", "type": "type", "enum": "enum", "mod": "mod",
"impl": "impl", "type": "type", "enum": "enum", "class": "atom", "mod": "mod",
"as": "op", "true": "atom", "false": "atom", "assert": "op", "check": "op",
"claim": "op", "extern": "ignore", "unsafe": "ignore", "import": "else-style",
"export": "else-style", "copy": "op", "log": "op", "log_err": "op",
"use": "op", "bind": "op", "self": "atom"
"use": "op", "bind": "op", "self": "atom", "new": "atom"
};
var typeKeywords = function() {
var keywords = {"fn": "fn"};
Expand Down
16 changes: 8 additions & 8 deletions doc/rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ import export use mod
The keywords in [source files](#source-files) are the following strings:

~~~~~~~~ {.keyword}
alt assert
alt again assert
break
check claim class const cont copy
check claim class const copy
drop
else enum export extern
fail false fn for
Expand Down Expand Up @@ -2034,19 +2034,19 @@ break_expr : "break" ;
Executing a `break` expression immediately terminates the innermost loop
enclosing it. It is only permitted in the body of a loop.

### Continue expressions
### Again expressions

~~~~~~~~{.ebnf .gram}
break_expr : "cont" ;
again_expr : "again" ;
~~~~~~~~

Evaluating a `cont` expression immediately terminates the current iteration of
Evaluating an `again` expression immediately terminates the current iteration of
the innermost loop enclosing it, returning control to the loop *head*. In the
case of a `while` loop, the head is the conditional expression controlling the
loop. In the case of a `for` loop, the head is the vector-element increment
controlling the loop.
loop. In the case of a `for` loop, the head is the call-expression controlling
the loop.

A `cont` expression is only permitted in the body of a loop.
An `again` expression is only permitted in the body of a loop.


### For expressions
Expand Down
Loading