Skip Navigation

Posts
69
Comments
35
Joined
3 yr. ago

  • As someone that have worked in software for 30 years, and deplying complicated software, shared libraries is a misstake. You think you get the benefit of size and easy security upgrades, but due to deployment hell you end up using docker and now your deployment actually added a whole OS in size and you need to do security upgrades for this OS instead of just your application. I use rust for some software now, and I build it with musl, and is struck by how small things get in relation to the regular deployment, and it feels like magic that I no longer get glibc incompatibility issues.

  • Ok, I then have some business proposals....

  • Mindblowing features are basically, by definition, a result of bad language design. They blow your mind, since they are totally unexpected behaviours. They may still be cool, but they are unexpected and hence unintuitive.

    A language that are full of these is Perl. And one simple one is that you can take the string "AAAAA" and use addition on that, like "AAAAA"++ and you will get the result "AAAAB". Cool you may think, but is it really? Addition is normally used to increase the value of a number, that is a completely different operation than modifying a String. The string "AAAAA" cannot be said to be greater or less than "AAAAB", besides the very special case when we order it. But in general the name "John" is not considered to be higher/lower than "Mark", they are just different. So, even if it is cool to manipulate strings by using addition/subtraction, it is still bad language design and very unintuitive. Also, since perl is so loosely typed, it may also cause very unexpected bugs.

  • Which is kind of surprising, since it basically just is a bunch of "I'm cannot understand why .... is needed", "I cannot learn...." and "I think that is ugly". And since the OP is coming from TypeScript, and how the OPs understanding of programming, it is clear it is a junior web developer trying rust and failing. Nothing to see here... well, the OP clearly have some kind of grandios ego, thinking that the OPs inability to learn something, must be because it is bad (I mean, there is clearly no other possiblities)... but not even that is worth responding to. And don't read this wrong, there is plenty to complain about with Rust, however, nothing of that is in OP which is basically just as insightful as a baby crying.

  • Ok, so we use different search engine so you didn't find this particular hit. But, do you really claim that learning material is an issue here. And about my attitude, yes, I was a bit cranky. In general, you can ask any stupid question, heck I ask stupid questions all the time and they will be answered kindly. The rust community knows that lifetimes and stuff like that is complicated.

    However, I'm quite fed up with the attitude that it is someone elses obligation to spoon feed you with knowledge that exists right under the nose... and that is a very common attitude amongst the "For rust to succeed..." evangelists.

  • There are lots of guides, tutorials and documentation. The responsibility is no longer on someone else, it is up to the individuals to actually read any of them. And to be honest, if you are unable to use them to learn rust, maybe your c++ skills isn't that impressive either.

    https://bpbonline.com/products/rust-for-c-programmers?variant=42560853639368 is one if found using a tool called search engine...

  • Rust @programming.dev

    Rust is rolling off the Volvo assembly line - Blog - Tweede golf

    tweedegolf.nl /en/blog/137/rust-is-rolling-off-the-volvo-assembly-line
  • Rust @programming.dev

    This Development-cycle in Cargo: 1.82 | Inside Rust Blog

    blog.rust-lang.org /inside-rust/2024/10/01/this-development-cycle-in-cargo-1.82.html
  • Rust @programming.dev

    Rust Analyzer Changelog #253

    rust-analyzer.github.io /thisweek/2024/09/30/changelog-253.html
  • Rust @programming.dev

    Code Generation in Rust vs C++26

    brevzin.github.io /c++/2024/09/30/annotations/
  • I wanted to use the debug fmt functions, to allow for pretty debug also.

  • Rust @programming.dev

    GitHub - RReverser/serdebug: Serde-based replacement for #

    github.com /RReverser/serdebug
  • Rust @programming.dev

    Google's Shift to Rust Programming Cuts Android Memory Vulnerabilities by 52%

    thehackernews.com /2024/09/googles-shift-to-rust-programming-cuts.html
  • Rust @programming.dev

    Gitoxide August 2024 Progress report

    github.com /Byron/gitoxide/discussions/1602
  • Rust @programming.dev

    Release 0.13.0 · iced-rs/iced · GitHub

    github.com /iced-rs/iced/releases/tag/0.13.0
  • Rust @programming.dev

    Why Rust mutexes look like they do - Cliffle

    cliffle.com /blog/rust-mutexes/
  • For Boomers, cars was the latest tech that everyone was fiddling with. This caused even the boomer that wasn't very interested , to know quite a lot. For later generations, car became more of a means of transportation, and the knowledge of cars was only for specialists. For gen X, computers were the high tech thing, everyone was fiddling with. Most gen x can setup a printer if they have to. For later generations, computers are just tools, and the knowledge is only for specialists.

  • Rust @programming.dev

    Linux-for-Rust or Rust-for-Linux

    lwn.net /Articles/987967/
  • fs::exists() was a nice little improvement that I didn't know about until I read this announcement.

  • Rust @programming.dev

    I sped up serde_json strings by 20%

    purplesyringa.moe /blog/i-sped-up-serde-json-strings-by-20-percent/
  • Rust @programming.dev

    Go wild: Wildcard support in Rules and a new open-source wildcard crate

    blog.cloudflare.com /wildcard-rules
  • Rust @programming.dev

    Embedded Working Group Community Micro Survey

    blog.rust-lang.org /inside-rust/2024/08/22/embedded-wg-micro-survey.html
  • Rust @programming.dev

    This Development-cycle in Cargo: 1.81 | Inside Rust Blog

    blog.rust-lang.org /inside-rust/2024/08/15/this-development-cycle-in-cargo-1.81.html
  • Rust @programming.dev

    Async Closures MVP: Call for Testing! | Inside Rust Blog

    blog.rust-lang.org /inside-rust/2024/08/09/async-closures-call-for-testing.html
  • Rust @programming.dev

    This Week in Rust 555 · This Week in Rust

    this-week-in-rust.org /blog/2024/07/10/this-week-in-rust-555/
  • Rust @programming.dev

    Rust Analyzer Changelog #241

    rust-analyzer.github.io /thisweek/2024/07/08/changelog-241.html
  • You are confusing Google and Internet.... they are very different things.

  • What I feel looks interesting with "on rails" is that you get things like database management built in, like setup, upgrades aso. Of course, this also means that it might be difficult to jump off the rails if you need that. And even if I feel like I'm not the target audience, since I prefer to pick and choose smaller libraries, I'm watching this with interest since Ruby on Rails seems to be quite popular.

  • Exactly. I appreciate the "What’s Gleam" section, but I would also like to see a "Why Gleam?" section.

  • Well, if the only thing you need from reflection is the name of a type, so then yes. But I wouldn't really call this reflection since it is very limited.

  • They explain a bit more about what that means here: https://kagifeedback.org/d/2808-reconsider-your-partnership-with-brave/75

    TL;DR They use multiple sources for search results besides their own indexer, the most obvious one is Google. To lessen dependence on one single search provider they have been adding other sources, one of them is now Brave. That is the whole thing.

    On Dec 26, Kagi started including search results from Brave search index, after we previously added Mojeek and Yandex earlier in the year. Brave has a public search api and we currently implemented it for about 10% of queries as a first test (same as any other API we use, there is no mutual development or anything of the sorts). This was announced in our Dec 28 public changelog. Approximately a week later on Jan 5 after several posts on social media about ‘Brave partnership’ the situation escalated.]

    So, if you do not like to use Google in the first place, I don't really understand why lessening the dependence on google would be a bad thing?