Live data from Hacker News

Tales of the M1 GPU

asahilinux.org

261–270 of 390 posts

Re: Tales of the M1 GPU

#261
Half the comments here are talking about the vtuber herself. Who cares. It's been talked before. Just imagine if half the thread is discussing what gender she is. What I am interested in is the claims here https://asahilinux.org/2022/11/tales-of-the-m1-gpu/#rust-is-.... (what is it called if it comes with a proof?).

The resident C/C++ experts here would have you believe that the same is possible in C/C++. Is that true?

Re: Tales of the M1 GPU

#262

Half the comments here are talking about the vtuber herself. Who cares. It's been talked before. Just imagine if half the thread is discussing what gender she is. What I am interested in is the claims here https://asahilinux.org/2022/11/tales-of-the-m1-gpu/#rust-is-... . (what is it called if it comes with a proof?). The resident C/C++ experts here would have you believe that the same is possible in C/C++. Is that tr…

In C? No, not unless you write your own scaffolding to do it.

In C++? Maybe, but you’d need to make sure you stay on top of using thread safe structures and smart pointers.

What Rust does is flip this. The default is the safe path. So instead of risking forgetting smart pointers and thread safe containers, the compiler keeps you honest.

So you’re not spending time chasing oddities because you missed a variable initialisation, or you’re hitting a race condition or some kind of use after free.

While there’s a lot of people who say that this slows you down and a good programmer doesn’t need it, my experience is even the best programmers forget and (at least for me), I spend more time trying to reason about C++ code than rust, because I can trust my rust code more.

Put another way, Rust helps with reducing how much of the codebase I need to consider at any given time to just the most local scope. I work in many heavy graphics C and C++ libraries , and have never had that level of comfort or mental locality.

Re: Tales of the M1 GPU

#264

Earlier quoted context omitted.

> Nothing particularly predatory here, but there is still a feeling of a false sense of security. What danger could an online persona possibly present to you? "[...]a false sense of security" implies there's a danger

There's no point thinking of this as a cognition the pilomotor response is a reflex. One that evolved before the dinosaurs were wiped out. I can only tell you my feelings, thoughts and emotions. Feel free to come up with a better explanation!

I think any first reaction is always an entirely fair first reaction. Biases exist. Snap judgements exist. No point in pretending otherwise.

I think like with anything "new", life is always about disconfirming our biases. As a result, now that you're aware of this bias, have the additional time and can access System 2:

Going forward you find a way to have a less aggressive reaction to learning about a the next VTuber.

Re: Tales of the M1 GPU

#265

Half the comments here are talking about the vtuber herself. Who cares. It's been talked before. Just imagine if half the thread is discussing what gender she is. What I am interested in is the claims here https://asahilinux.org/2022/11/tales-of-the-m1-gpu/#rust-is-... . (what is it called if it comes with a proof?). The resident C/C++ experts here would have you believe that the same is possible in C/C++. Is that tr…

I'm not exactly C or Rust expert so better to check @dagmx comment for that, but I know some C++ and worked with networking enough to know some pitfalls.

Talking of C++ it can be really solid to work with your own data structures where you control code on both ends. Using templates with something like boost::serialization or protobuf for the first time is like magic. E.g you can serialize whole state of your super complex app and restore it on other node easily.

Unfortunately it's just not the case when you actually trying to work with someone else API / ABI that you have no contol over. Even worse when it's moving target and you need to maintain several different adapters for different client / server versions.

Re: Tales of the M1 GPU

#266
post #152

Earlier quoted context omitted.

The quantity of exclamation points lol. I assume I'm just too old to get it...I'm okay with that, and I'm damn impressed with the results, so more power to Lina, whatever works for her.

Yeah, it's just... sorry, but there is nothing in the world so exciting that 149 exclamation points (thanks to another poster for counting) is warranted. When every statement is exciting and special, then none of them are.

shrugs I'm getting old these days, but to me those exclamation points helped convey the tone the writer was chasing. I read the article, then watched one of the VODs of their streaming, and what do you know: the inner tone I heard while reading the article matched how they talk!

But perhaps I'm biased: I write how I talk too, and use and abuse punctuation to attempt to mimic my own voice.

Re: Tales of the M1 GPU

#267
Loved reading this. About the triangle/cube screenshot, they were taken on Linux on a physical Mac OS computer? How were you able to deploy your driver, does the M1 GPU have a basic text/console mode allowing you to start and work with Linux?

Awesome job.

Re: Tales of the M1 GPU

#268
post #212

Earlier quoted context omitted.

Thinkpad keyboards are great (I own a couple T400’s and used to daily drive a X61s), but the latest MacBook Pros have real, actually good keyboards afaik too.

I've tried them but they're nowhere near Lenovo quality sadly. Unfortunately Lenovo is on a downward trend with ever less travel with each generation so I guess they'll be on par in a few years :(

That is indeed the trend, for basically all manufacturers. For my part, it's not too much of a worry -- I barely use my laptops keyboard directly, thats what my custom mechanical keeb is for, after all. The laptop being thin, light, and powerful is important to me (otherwise I'll just use a desktop). I despise my work laptop (a Metabox/rebranded Clevo 15" thing), as it is huge, thick, and has a terrible keyboard when I'm forced to use it.

These low-travel ones may not be perfect, but they're decent, and that's enough for me personally for the times I do need to use it.

Re: Tales of the M1 GPU

#269

Earlier quoted context omitted.

Every cell in your body is running a full blown OS fully capable of doing things that each individual cell has no need for. It sounds like this is a perfectly natural way to go about things.

Organic units should not be admired for their design. DNA is the worst spaghetti code imaginable. The design is such a hack, that it's easier to let the unit die and just create new ones every few years.

Hello IT. Have you tried turning it off and turning it back on again?

Re: Tales of the M1 GPU

#270

What an interesting tale. But I feel like an anime character described it to me. I'm totally fine with it (I'm grateful the story is being told at all), but it is surreal tone for technical writing.

There are 149 exclamation points on that page (!)

Would that not mean general excitement on the part of the author?

I find it hard to analyze these things by numbers alone. It's context that really matters and if there truly is a baseline excitement, there really should be a high number of exclamations.

Post reply on HN