Live data from Hacker News

Rust is tier-1 language at Microsoft

rustfoundation.org

181–190 of 526 posts

Re: Rust is tier-1 language at Microsoft

#181
post #106

Earlier quoted context omitted.

Also, showing the weather is a great excuse to ask permissions for the user location.

Unrelatedly, I'm still trying to figure out why Apple requires me to unlock my phone to look at the weather. Is there some concern that someone could pick up my phone and learn what city it is in?

[deleted]

Re: Rust is tier-1 language at Microsoft

#182

Earlier quoted context omitted.

Unrelatedly, I'm still trying to figure out why Apple requires me to unlock my phone to look at the weather. Is there some concern that someone could pick up my phone and learn what city it is in?

You want to be able to launch apps without unlocking your phone? Slippery slope.

If the app doesn't have any sensitive information, then yes. We already do this with home screen widgets today, so clearly there's no real barrier.

Re: Rust is tier-1 language at Microsoft

#183
post #180

Earlier quoted context omitted.

Unrelatedly, I'm still trying to figure out why Apple requires me to unlock my phone to look at the weather. Is there some concern that someone could pick up my phone and learn what city it is in?

You can use the weather widget on the lock screen, and as long as you have lock screen content when locked enabled, you can see the current area's weather just fine. Or do you want the whole app experience?

I'm a little too lazy to experiment, but it wouldn't surprise me if that widget didn't function normally until the phone is unlocked.

Re: Rust is tier-1 language at Microsoft

#184

Earlier quoted context omitted.

Exactly - we have been using C or C++ for decades and most of us have a lot of experience. We think like programmers in the languages meaning we often do things that Rust won't allow without unsafe. A small percent of the time that is the right thing (which is why Rust have unsafe), but very often there is a Rust way that is just as performant if only we knew how to think like Rust programmers.

Sadly it still feels like it's one of the languages where the language doesn't trust you, it tries to force you to do things "the right way". I do love quite a few of its design like how traits are, not forcing every method into the declaration, and the standard library is much less crazy than the C++ version. Sadly, other things a bit less so - the story for the thin battery-less stdlib + npm-style churn encourages…

Yeah it doesn’t trust you, and for good reason the decades of developers making the same mistakes over and over again. If everyone was perfect you wouldn’t need Rust, but no one is perfect and that’s why Rust exists.

Re: Rust is tier-1 language at Microsoft

#185

I hope announcements like this show that Rust is not a fledgling little language that moves fast and breaks things anymore. It's a mature, serious competitor to well established languages like C++ and C#. This is particularly important when trying to compare the experience of using Rust to other languages in the "better C/C++" space like Zig and Odin -- these are much newer and have more rough edges than Rust.

For me it was the inclusion in the kernel. That locks it in as here to stay

Re: Rust is tier-1 language at Microsoft

#186
post #135

Earlier quoted context omitted.

> Rapid prototyping is almost a meme at this point > People did this a lot when rust was not as popular but there are plenty of very good rust programmers now who understand the language and can make programs that are significantly more performance for a marginal development cost. Why isn't the game industry moving to it then? Bc it just cannot compete at volubility with C++, among other things. Yes, you can have ski…

Why isn't the game industry moving to rust? Someone in that industry can perhaps speak to it, but I have two cents of perspective... I have helped a young person with gamedev interests try to learn rust (on Windows). They've learned some rust, but the graphics+Windows libraries and primitives to work with are not very good nor straightforward, even with AI assistance. Besides weakness in the gaming/rendering domain,…

It seems like you're comparing "start from scratch in rust" to "start with an existing game engine in some other language". That's not really a fair comparison. there are popular game engines in rust (although i think they're mostly smaller/more niche then something like unity or godot), bevy comes to mind.

Re: Rust is tier-1 language at Microsoft

#188

Earlier quoted context omitted.

(Link worked for me ...) This “Tier-1 language” engineering status for Rust means giving internal teams a paved path from local development to production: secure toolchain builds, productive developer tooling, quality workflows, deep platform integration, and compliance with the SDL requirements Microsoft software must meet.

Specifically, it joins a list of existing Tier 1 languages (C++, C#, and TypeScript), as "one of the best-supported languages for internal development at Microsoft"

Java and Python are not on that list?

Re: Rust is tier-1 language at Microsoft

#189
post #180

Earlier quoted context omitted.

Unrelatedly, I'm still trying to figure out why Apple requires me to unlock my phone to look at the weather. Is there some concern that someone could pick up my phone and learn what city it is in?

You can use the weather widget on the lock screen, and as long as you have lock screen content when locked enabled, you can see the current area's weather just fine. Or do you want the whole app experience?

The lock screen widgets don't tell you much more than what you can get from looking outside. It's not very helpful to know that it's currently overcast and raining, but it would be a lot more helpful if I could know when the rain is supposed to stop or what the week's forecast is and so on.

Re: Rust is tier-1 language at Microsoft

#190

Earlier quoted context omitted.

Try, but what skills are work keeping? We need something cogntive, but not everything. I know a few people who blacksmith as a hobby (often for the physical exercise as much as the work), but most people are happy not knowing how to do that job. I know how to set the air-fuel ratio on a gas engine, but I'm glad I don't need to tweak those parameters while driving (unlike a 1910s car where you did), and I won't miss o…

> Try, but what skills are work keeping? We need something cogntive, but not everything. Are you trying to be funny?

Work should be worth. I'm not sure if that is me or autocorrect.
Post reply on HN