Hit reply
5,413 karma · joined February 4, 2014
Hit reply
I'd love to see what these usages are, and what motivates this. I understand that sometimes people reach for unsafe too eagerly. But the std is full of unsafe and drawing the line there sometimes seems like a line in the sand.
But for ingesting unstructured data I didn't generate, I'm going to reach for an LLM now (provided latency isn't an issue).
In all seriousness though, I'd say I only have 2 real projects that needed Rust's speed, and the rest I've done is because I bring the other type safety benefits Rust brings.
For example, I'd suspect that people who stay on old iPhone's are less likely to spend money on apps. But it's a small, very unfounded suspicion.
I'd be curious to see if anything works out though in how stuff like that lines up.
You specifically seemed to be saying "Why use rust when you don't want top tier performance", to which my response was "I do want top tier performance."
That aside, with regards other languages I'd consider candidates for high performance tooling, I'm either not proficient with them, or I don't enjoy working with them.
1) I know Rust, not Go (esbuild is written in go-lang)
2) I don't have to worry as much about breaking Rollup, and I'm not nearly as confident in my ability to write performant JS as I am in writing performant Rust.
Having worked on large web-apps, I'll take all the speedups I can get, thanks.
I enjoyed it, but I haven't watch the TV series or actually read the books, so I no idea how it lines up...
I'm not sure if you mean "Linux taking in Rust is not interesting" or "This component in Rust (apart from implementation details) is interesting", but I absolutely think both are interesting.
For the first (which you may agree with, IDK), Linux has refused to take C++, etc. as languages.
For the second, my understanding is that the kernel support was kind of a provisional trial integration of Rust, and that no essential components were to be written in Rust. Now an alternate scheduler isn't a an essential component, but it the first thing I've heard of that would get me to compile a rust component for the kernel.
Edit: wait, wait, wait, this is eBPF driven? Does that even need the kernel linux support? This becomes even more interesting to me. Sounds like we could maybe see eBPF filters Go or Nim soon if that's the case.
Whether or not that's the case here, I don't know. I wouldn't expect it to be the case here though.
But even apart from that, the implementation being different doesn't matter much I think? I think it's more about there being a compelling component existing in rust, and less about whether it could be a different language or not.
> None of those things changed dramatically in the 2010-2020 time frame.
I disagree. Cell phones come to mind as a major enabler here.
The fun thing about programming tasks and tools in particular though is that you crystalize your mental models into tools because of the natural of computers.
At my current job we have some code that generates typescript RPC bindings from our java code. It's quite slick but the backend definitions and the frontend definitions aren't linked, and navigation between them is a pain. So I decided to write an IntelliJ plugin that allows for navigation and find usages across our two languages. Took 2 days-ish, but totally worth it.
> Just like this:
Just is doing a lot of heavy lifting there.
Is this the first model you came across?
We're there any dependencies you had to install?
Did you have to check video card compatibility?
Where did you get the command arguments. It looks awfully complicated for a "just", as if there's a lot of options that aren't straightforward to use.
Etc
IIRC, Southwest boards families early enough that they can get seats together, so it's another seat win for them.
Yes.
I for one am happy such articles exist. Thus one articulated something I've run into quite a few times without being able to fully articulate the issues. It seems like a nice mental model to have in my back pocket.
That said, I appreciate comments like your because I hope the dogmatic junior dev comes across it and hopefully becomes a little more nuanced.
I'm likely ADHD, and the majority of my siblings have it. There's a night and day difference though between me, who in a questionnaire scored high on both, and me who scored high only in one[1].
[1] Well, borderline in one and not the other. Immediately after taking the questionnaire I attended a work meeting and realized that there were at least a half dozen questions that I answered optimistically through rose-tinted glasses.
With all that said, I'm working to address my sleep apnea before getting a diagnosis because I've heard that sleep deprivation can manifest similar to ADHD.