• 1 Post
  • 70 Comments
Joined 2 years ago
cake
Cake day: June 14th, 2023

help-circle






  • That’s hard for me to answer because I’m usually at home plugged in, and I set the max charge in the bios to only 65% so the battery will physically degrade slower (I don’t need the charge). A few hours is really all I can say with any accuracy. Worth noting a few things -

    1. Since I bought my laptop they came out with an improved battery I could upgrade to, so you’d get a better experience.
    2. I believe(?) battery life is improved a fair bit at least with the AMD ones; less sure on the newer Intel ones.

    I will say that if long battery life is your #1 concern this may not be the laptop for you.






  • I think it really strongly depends on what you’re programming - I know in some instances Julia’s performance can be nearly identical to languages like Rust. I suspect in my case it related to Julia being a garbage collected language, as my algorithm involved creating very large dynamic structures in memory before serializing them, clearing the memory, and building another one. Since Rust has no garbage collector it knew exactly when and what to drop from memory. In my case I had roughly a 10x(!!) speed-up. Funny enough an even earlier version of that algorithm was programmed in Java, and Julia was roughly 10x faster that it, so Julia isn’t the worst of the pack.


  • So at my previous employer I developed using Julia a custom ML model which ran, but the performance just wasn’t good enough for what I needed despite trying to aggressively optimize. I ended up rewriting in Rust (and calling through R) which ended up being like 10x faster. At my current job I program a mixture of Rust and Python.

    If Julia were more peformant then it could potentially be an alternative to Python/R users having to learn Rust - but if you’re looking for top performance, some of your codebase is already written in R/Python, and you’re already willing to learn another language, then learning something like Rust naturally seems the better choice over Julia.

    The one thing I did like about Julia - it took barely anytime at all to build a working prototype.