10 ms·
Editor looks pretty cool, but I really admire how optimized the headline is for reaching the top of the front page. I mean, it's practically an HN bingo card in
by qzw 6y ago
Editor looks pretty cool, but I really admire how optimized the headline is for reaching the top of the front page. I mean, it's practically an HN bingo card in a single line: Text editor! Rust! Terminal! Fast! All that's missing is "minimalist" and "respects your privacy".
- fjslskyddlk 6y ago"Popularity sucks when I don't approve"
- tumblewit 6y agoGood catch!
- platinumrad 6y agoI feel like no project should be allowed to advertise itself as "fast" unless it presents at least one (1) measurement demonstrating it.
- mhh__ 6y agoI'm slowly putting together a library and series of blog posts for really showing this, so stay tuned (one measurement often isn't enough). I've always wanted to be able to try and verify performance bounds at the CI stage, and I'm hesitantly optimistic it can be done cleanly (although amortized analysis is extremely important, you can actually play "guess the C++ std container from the graph" if you plot the data right)
- hsbauauvhabzb 6y agoPython compared to raw assembly development is slow as hell in computationally heavy scenarios. Development speed of applications in Python compared to raw assembly is nearly infinitely faster, both because it’s easier to write and because the talent pool for ASM is near zero in most cities. But the same can be said for basically all metrics people use to sell products.
- vincnetas 6y agoRunning subjective benchmark now. Generated 1G text file. Vim and nano after some delay are showing things on screen, ox is still thinking. 5 minutes and counting... base64 /dev/urandom | head -c 1000000000 > file.txt
- jeswin 6y agoYeah but that's not a realistic usecase for most users/developers. I haven't measured if Ox is faster or slower, but for me startup time and ability to quickly open files under 10MB are more important.
- saagarjha 6y agoI open massive files in a text editor all the time.
- bootcampwhere 6y agoI also am regularly limited in opening large text files working with genetic data.
- Aeolun 6y agoProbably, but then we don’t use our normal editors when we want to open huge files, we use the fast ones.
- vincnetas 6y agoBut for 10MB range do you even feel the delay for any of text editors? For me it feels instant whatever (terminal based) editor i'm using. And what does it even mean "fast" in this case. They all are definitely faster than me typing.
- fnord123 6y agoIt is very realistic when I copy a json dump into an editor and then do a key stroke to format it. My beloved vim doesn't fair so we'll. VScode does very well on this.
- makach 6y agoIt runs in the terminal. I think most people assumes that terminal === fast.
- silon42 6y agoDirect to X can be much faster, as there is no middle man. And can have better keyboard (and mouse) support which in terminals is pretty poor. This is why vi(m) is best for terminals, because it's keyboard shortcuts are adapted for that (except typical 1 second delay on escape key).
- lopatin 6y agoBut it's close to metal \s
- 1023bytes 6y agoThe input is actually very slow. It's own configuration file (about 300 lines) took over a minute to paste.
- nxpnsv 6y agoand end-to-end encrypted
- patrec 6y agoHah, look at the author's user profile!
- MarxOk 6y agoYeah! I think Rust is mature enough now that this isn't necessary from a novelty perspective. And it's not really an obscure language. "In Haskell" for eg is still warranted because it's obscure and uncommon, but I don't think this fits Rust.
- atonalfreerider 6y agoFor an even catchier headline, it should be prefaced with: "How I built a..." I'd seriously like someone to build a HN scraper that aggregates all the articles prefaced by "How I built a..." and then write an article called "How I built a scraper to aggregate 'How I built a...' articles to assess their HN upvotes." I'd upvote that.
- WilTimSon 6y agoI'd add "alternative to popular software" to that list as well. People love to find alternatives that are supposedly better and not from big corporations.
- michaelwilson 6y agoIt’s missing “Open Source” and “artisnal”. Obviously its’s crap /a
- grep_name 6y agoAm I the only one who feels _less_ inclined to use a program if they use 'written in rust' as a selling point? I mean, I very rarely see non-rust projects say "Written in X!" as a selling point for the end user (why would an end user care?), and the campaign to re-write everything in rust is similarly irritating. I've never explored or read up on the rust community, but the sheer insistence that I see jutting into everything from the outside turns me off.
- steveklabnik 6y agohttps://hn.algolia.com/?q=written+in https://hn.algolia.com/?q=written+in (this is by top score, you can also see this by date) Lots of stuff where X != Rust. > (why would an end user care?) They probably don't. But, on GitHub, where programmers go, and on a forum like this, with lots of developers, this means something to many folks here.
- unityByFreedom 6y agoNon-rust programmer here, written in X does not tell me anything about the app.
- steveklabnik 6y agoI mean, it tells you that if you wanted to contribute, you'd also have to learn Rust before being able to do so. Also, beyond that, note my "many"; sure, it doesn't mean anything to you. It feels weird to get upset about something that supposedly has no meaning, though. When I see something that's "written in X" and I don't care about X, I just move on with my day. If I post about how much I don't care about X, it really seems like I do actually care about X, otherwise, I wouldn't take the time to complain about it. (The OP of this thread said that they did care, negatively. And you didn't explicitly say you don't care either. But this attitude is common and is also elsewhere in this thread so, let me just finally jump off this soapbox real quick...)
- unityByFreedom 6y ago