-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (48 loc) · 1.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<title>Rust NYC</title>
<style>
body {
font-family: 'Open Sans', sans-serif;
max-width: 45rem;
width: 100%;
margin: 0 auto;
}
</style>
</head>
<body>
<h1>Rust NYC!</h1>
<p><a href="https://www.meetup.com/Rust-NYC/">Meetup</a></p>
<p><a href="https://github.com/rust-nyc/rust-nyc.github.io">Source code of this websites</a></p>
<h2>Resources</h2>
<ul>
<li><a href="https://rust-lang.github.io/book/">(work in progress) new book</a></li>
</ul>
<h2>Exercises</h2>
<ul>
<li><a href="http://exercism.io/languages/rust">exercism</a></li>
<li><a href="https://github.com/carols10cents/rustlings">rustlings</a></li>
</ul>
<h3>Rust NYC curated exercises</h3>
<h4>File exercise!</h4>
<p>Download this file: <a href="http://norvig.com/big.txt">big.txt</a></p>
<ol>
<li>Calculate number of bytes in file</li>
<li>Number of occurrences of the letter 'z' in file</li>
<li>Number of occurrences of all letters (case insensitive) in file</li>
</ol>
<p>How does performance compare to this Python script version?</p>
<pre>
file_ = open("big.txt")
count = 0
for line in file_:
for char in line:
count += 1
print(count)
</pre>
<h2>Chat</h2>
<p>(This takes a while to connect, be patient!)</p>
<iframe src="https://kiwiirc.com/client/irc.mozilla.org:+6667/#rust-nyc" style="border:0; width:100%; height:80vh"></iframe>
</body>
</html>