News for hackers. Stuff that matters.
Re:I love building a startup in Rust. I wouldn't pick it again by WJW on Friday February 17, 2023 @03:04PM (#34839743)
There is probably a good space for Rust in writing the databases, caches and all sorts of proxies as well. I agree though, for most of the stuff I need for $DAYJOB the speed is nice but hardly required. It doesn't really matter if I can generate a HTTP response 50 microseconds quicker if the response then has to travel over the internet for 20+ milliseconds.
Re:I love building a startup in Rust. I wouldn't pick it again by zozbot234 on Friday February 17, 2023 @03:15PM (#34839910)
It does matter if you're using cloud autoscaling FaaS (previously known as CGI) and paying for those HTTP responses by the microsecond (and by RAM usage as well, which is also typically quite low in Rust).
Re:I love building a startup in Rust. I wouldn't pick it again by WJW on Friday February 17, 2023 @03:52PM (#34840391)
Not really, the connection won't close until you are done sending it all and have received the relevant TCP ACK messages from the other sides. Being on autoscaling FAAS or not does not matter for that.

In any case, if you are trying to optimize microsecond usage in AWS lambda I hope you have a truly gargantuan amount of traffic and/or have incredibly cheap engineers or the money saved will barely match up to the cost of the engineering hours sunk into them.

Re:I love building a startup in Rust. I wouldn't pick it again by steveklabnik on Friday February 17, 2023 @08:34PM (#34842939)
Re:I love building a startup in Rust. I wouldn't pick it again by WJW on Saturday February 18, 2023 @07:49AM (#34846517)
I appreciate that there might be use cases where performance absolutely does matter, and log parsing is indeed one of the sweet spots for that. But offline analytics is something quite different than HTTP request generation, even if you sometimes do both in an AWS lambda.

Additionally for the case mentioned, the log parsing apparently already fit quite comfortably in the free tier of AWS lambda. Rubygems.org seems to get its developer time for free, so Andre can keep tuning this log parser as a hobby experiment (in the best sense of the word, nothing wrong with having fun). But TFA was about building a startup and most of those definitely don't manage to get their devs to work for free.

Re:I love building a startup in Rust. I wouldn't pick it again by jmaker on Saturday February 18, 2023 @02:59AM (#34844956)
Rust has been around for so long these domains should have long since been covered. Quite telling they aren’t yet, particularly considering the momentum in publicity. I wonder why.
Re:I love building a startup in Rust. I wouldn't pick it again by zozbot234 on Saturday February 18, 2023 @04:09AM (#34845323)
> Rust has been around for so long

Rust async support was only released in late 2018. Not very long at all, especially if compared to Golang.