Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jonreem
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
jonreem
10y ago
Terminal.com ( https://terminal.com ) | Software Engineer | San Francisco | FULL-TIME | ONSITE Terminal.com is a fast-moving, recently funded startup based in San Francisco. We help some of the top online education providers find
62.
▲
by
jonreem
11y ago
Another thing to know about rust concurrency is that it supports safe "scoped" threads, or threads which have plain references to their parent threads stack. This makes it very easy to write, for instance, a concurrent in-place qu
63.
▲
by
jonreem
11y ago
In early rust, you actually did need to explicitly write `move` to move a value. However, this was extremely annoying as you move values a lot so moving was changed to be the default, which is far more tolerable. EDIT: There still is a `m
64.
▲
by
jonreem
11y ago
Hey, main author of iron here, I'd love to hear more about your use of iron! It's always nice to hear from users and your feedback is crucial to driving the project forward. Feel free to respond here or reach out (contact details
65.
▲
by
jonreem
11y ago
I disagree. The RFC you are citing is effectively just syntax sugar baking the `try!` macro into the language; it doesn't allow you to express anything you couldn't express today with `try!` and closures.
66.
▲
by
jonreem
11y ago
I try to maintain and ensure the basic building blocks are usable and high quality, but I am just one person, and there is much to do. There are several other people associated with iron who also help with maintenance and feature additions
67.
▲
by
jonreem
11y ago
Main author of iron here, on mobile but happy to answer any questions. Here's a link to the first chapter of an iron tutorial I've been working on, which explains the "hello world" example in great detail and introduces
68.
▲
by
jonreem
11y ago
Personally I am always thrilled to get grammar/typo fix pull requests to my projects. It means someone cared enough about the project to go through the effort of making a PR just to alleviate a small aesthetic problem!
69.
▲
by
jonreem
12y ago
Possibly this: http://www.space.com/12400-universe-biggest-oldest-cloud-wat...
70.
▲
by
jonreem
12y ago
You can also replace the closure in the fold with Add::add, where Add is std::ops::Add: let total = (1..).map(|x| x * x).take(10).fold(0, Add::add); This is an application of UFCS, which allows you to call methods as regular function
71.
▲
by
jonreem
12y ago
I'm about the same age as the poster and he's captured my age groups' experience of social media, including Snapchat, perfectly. Snapchat really is that big a deal.
72.
▲
by
jonreem
12y ago
There's also hyper ( https://github.com/hyperium/hyper ), a native Rust HTTP implementation I am working on.
73.
▲
by
jonreem
12y ago
Author here. I am the primary developer of the Iron web framework for Rust and am also part of the core dev team for Hyper, a new Rust HTTP client and server implementation. I'm here to answer any questions.
74.
▲
The Road to Rust Web 1.0
(medium.com)
24 points
by
jonreem
12y ago
|
2 comments
75.
▲
by
jonreem
12y ago
Author here. Ask away!
76.
▲
Rebuilding Iron – An Application Framework in Rust
(medium.com)
13 points
by
jonreem
12y ago
|
3 comments
77.
▲
What should you get from an Error?
(medium.com)
2 points
by
jonreem
12y ago
|
0 comments
78.
▲
Show HN: Rust-Lazy, safe, concurrent lazy evaluation
(github.com)
6 points
by
jonreem
12y ago
|
0 comments
79.
▲
by
jonreem
12y ago
On any modern system it's actually "sudo rm -rf / --no-preserve-root" and then entering your password while staring at the command. "rm -rf ~/blue /" will not come close to deleting / unless you
80.
▲
by
jonreem
12y ago
I just re-ran benchmarks using wrk instead of ab and I'm getting 16k req/s instead of 2k. Very strange.
81.
▲
by
jonreem
12y ago
It's worth mentioning that I ran this under -c 100 or 200, not 1-8, which may change things significantly.
82.
▲
by
jonreem
12y ago
You are looking for https://github.com/iron/persistent , which offers two utility middleware for exactly this.
83.
▲
by
jonreem
12y ago
To be honest, it's mostly because that's what we had experience with.
84.
▲
by
jonreem
12y ago
We spent a lot of time talking with rust devs on #rust, which is full of extremely helpful, extremely nice people who help you as much as possible. Usually we woke up in the morning to everything broken due to changes in the nightly, but it
85.
▲
by
jonreem
12y ago
The benchmarks are a bit lower than we wanted. I think this is mostly due to an immature ecosystem for doing basic http - working off of c bindings to a proven, fast framework would probably speed this up by a few times.
86.
▲
Show HN: Iron, a fast middleware-oriented Rust web server framework
(github.com)
81 points
by
jonreem
12y ago
|
45 comments