Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
anentropic
on March 9, 2018
|
parent
|
context
|
favorite
| on:
Writing a Microservice in Rust
I've never touched Rust or Diesel... but what is the point of a synchronous library that makes blocking calls _and returns futures_?
(I mean - why futures, if the call was blocking and presumably have a real result to return?)
Sean1708
on March 9, 2018
|
next
[–]
Diesel doesn't return futures, the author of the blog post returned a future and the person that you commented on is pointing out that that's pointless because Diesel is synchronous.
rejschaap
on March 9, 2018
|
prev
[–]
Wild guess here, but it might make it compatible with frameworks or middleware that expects futures.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
(I mean - why futures, if the call was blocking and presumably have a real result to return?)