Hacker Timesnew | past | comments | ask | show | jobs | submit | vindin's commentslogin

“Sub-100ms response times, because I chose the hard path with Rust and it paid off.“

Rust is not the reason you have sub-100ms response times. If it were the true bottleneck your app would be far faster than this


It sounds like they're talking about HTTP requests/responses, then that sounds mostly like just networking overhead, and it wouldn't matter if it was JS/Go/Rust or C++, network latency would be there anyways. And if that's with network latency excluded, just hitting localhost, then that sounds horrible, should easily be below 1ms unless you're doing something heavy, but sounds like a typical application with no such actions.

This woman knows nothing about the real world


robots.txt is merely a gentleman’s courtesy at this point. Nobody is obligated to follow it.


always_has_been.jpg


The data viz of the benchmarks is really rough. I think you’d get a lot of leverage out of rebuilding it and using colors and/or shapes to extract additional dimensions. Nobody wants to scan through raw file paths as labels to try and figure out what the hell the results are


This problem was solved almost 15 years ago


Learn to read canonical diffs. It is the standard and will get you further than any new tool


Neat idea but you could build this with a fraction of the complexity by ditching sqlite and duckdb for your native file system and rg/grep/gawk with equivalent performance


There’s also notmuch with various frontends which will let you index and search colossal mail accounts

https://notmuchmail.org/frontends/


grep with equivalent performance? i highly doubt that. my mailbox has 2.6M emails: running grep through millions of files if you use maildir or a similar format takes forever. likewise running grep on a 7.6GB large mbox file takes more than a minute.

on the other hand in supmua (which inspired notmuch) the same search takes seconds.


Why are people using rust to build web apps


Why wouldn't we? It's a fantastic language with great tooling, top tier performance and minimal footprint


[flagged]


Some Rust proponents, but certainly it's obvious not all of them, or not even a meaningful majority.

Which is to say this despicable act has absolutely no bearing on the language and its ecosystem, so bringing it up is irrelevant, and therefore those downplaying it are not necessarily in favor of the act.

I hope that logic is self-evident.


First of all, this is not a web app.

Second, what should I use if I want a small binary with no dependencies and low CPU/RAM usage?

I could’ve used Go, but once you know Rust Go’s existence almost stops making sense :)


Rust + Axum + SQLx has been a total game-changer for me in terms of productivity developing web-based Postgres apps. I like the tooling and the libraries are great.


Looks really cool, will definitely be trying it out. Do you have any screenshares or demo midi you can share? And is there any way to use a text based notation rather than a piano roll?


Why? Just because it’s in rust doesn’t make it a better product


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: