4 ms·
As a rust dev I'm just as perplexed. I've seen preprocessors and stuff like tailwind being rewritten in Rust aswell. Why though (
by ramon156 3y ago
As a rust dev I'm just as perplexed. I've seen preprocessors and stuff like tailwind being rewritten in Rust aswell. Why though (
- mtsr 3y agoSome dev workflow tools really benefit from being very fast. And parsing and ast building and the like are actually things that rust is quite good for. That doesn’t mean it couldn’t be done in other languages, but it’s a weighing of trade-offs. And of course, groups of people, such as developers on socials, are quite sensitive to popularity.
- vsnf 3y ago> And parsing and ast building and the like are actually things that rust is quite good for. Having built a compiler and typechecker in Rust, I don't know if I'd say that it was "quite good" for it. Going back, I'd still do it again, but it wasn't exactly a cakewalk. Rust's lifetime rules and visceral hatred of referential structs did not make my life easy at all. I definitely took the easy way out with a lot of string copies too.
- dbrgn 3y agoJust as an example: Our eslint checks take 2 minutes to complete. Improving this would considerably improve developer productivity.
- fullspectrumdev 3y agoIf it speeds up a build/CI pipeline it’s a worthwhile investment for a lot of folks
- RamblingCTO 3y agoYou can get a big speedbump with go without introducing the overhead of object lifecycle management.
- xnorswap 3y agoYour sentence is confusing; a speedbump is designed to slow you down.
- RamblingCTO 3y agoHaha, you're right. I meant speed bump. As a German I'm used to chaining words together.
- xnorswap 3y agoIt wasn't the chaining that was an issue: https://en.wikipedia.org/wiki/Speed_bump https://en.wikipedia.org/wiki/Speed_bump . Perhaps "speed boost" would be a better alternative for your intended meaning.
- jamincan 3y agoInterestingly "bump in speed" would be fine, but "speed bump", means the exact opposite.
- deleted 3y ago[deleted]
- jasonjmcghee 3y agoIt isn’t in this context. “got a speed bump” vs “hit a speed bump”
- crabmusket 3y agoThen rewrite Prettier in Go and I'm sure people will use it :)
- RamblingCTO 3y agoNot slightly interested. My point is: we have tools that fit the problem better instead of supporting the hype train of rust.
- biorach 3y ago> I've seen preprocessors and stuff like tailwind being rewritten in Rust aswell. Why though a) speed. On large codebases each preprocessor (and there may be many) can take a long time b) Rust has several features which make it quite suitable for writing pasrers and suchlike
- Tade0 3y agoAs a (nominally) front-end developer the RIIR movement's energy is similar to how the front-end community approaches things. Overall Rust and its community have many traits that make them very approachable to people not expected to know anything about systems programming, namely: -Package manager with a familiar philosophy behind it (and not the sort of hell you have to deal with setting up a C++ development environment). -Outputs WASM without much bureaucracy and advertises it. -Friendly compiler messages. I don't recall seeing "perhaps" in a compiler error message before. The people designing Rust put much effort into making the language as approachable as possible and that's the net effect. That is not to say this is going to be necessarily successful, but so far the enthusiasm is there.