[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1743616524060617.png (35 KB, 1392x180)
35 KB
35 KB PNG
My first ever experience running rust software
>>
>Windows
>Rust
>ROCm
whst the fuck is this unholy combination
>>
>>108357247
give swift a try, they are a security focus Lang but without being a bunch of tryhards
>>
your fault most likely
>>
>>108357247
you were already running rust code long before if you browse the internet
>>
>>108357247
you see, a non-retard (depends on package "non-wintard") would have already obtained a backtrace (trivial), found out where a non-checked subtraction caused a wrap-around in a slice start expression (`slice_val[a-b..`, or `st= a-b; slice_val[st..]`), and then found out if it's a genuine bug or an error condition in your environment that could use better checking/error messaging (e.g. your disk was full).
these happen to be the exact steps you would follow if this wasn't rust code, except you may not have gotten an immediate safe panic, and a very useful (to non-retards) message that you could screen-cap.
>>
>>108357247
If you want to use ROCm the best option is to install any Linux distro of your choice, it can be on a removable drive if you don't want to overwrite windows on your internal drive, then install docker and use the official images from AMD exactly as they instruct here.
https://rocm.docs.amd.com/projects/install-on-linux/en/latest/how-to/docker.html
>>
>>108357345
>>108358766
rocm is irrelevant to the error here. the error condition hit which i explained in >>108358746 seems to be in uv, which (i'm assuming) happened during installing python packages via it, where rocm happened to be one of them. the only part where rocm could be relevant is the fact that the package is sort of atypically huge. that's it.
>>
>>108358804
You can't expect uv, python, rust, ROCm, etc. to work on windows, windows is for microsoft office, photoshop, video games, and copilot.
>>
>>108358836
You can't expect rust developers to grow up, put on their big boy pants, and develop for the platform where most of the users are.
>>
>>108358918
The reality is most AI users are on Linux, which is why nvidia's Windows driver has been breaking constantly because they moved all the best devs to work on the Linux datacenter driver instead.
It's easier to just boot into Linux for AI then go back to Windows when you're done if you don't have the resources for a dedicated AI server.
>>
>>108357345
kek this
>>
>>108358836
i don't know about rocm, but i expect uv is very much expected to work on the wintard platform.
nothing super mysterious is happening here. i already outlined how the wintard op can get to the bottom of this in literally a couple of minutes.
>>
a language should be designed such that it is impossible for unhandled runtime errors to happen
every possible error must be handled in source or it should throw a compile error
>>
>>108359850
sounds like a great way to make a language that can't do anything
>>
>>108358104
Glad to see you didn't fall for the marketing of a company renowned for its marketing, apple boy.
>>
>>108358918
I don't give a fuck about Windows users, they have WSL anyway, they can run shit there.
>>
>>108359914
it's not hard to handle runtime errors
maybe in Rust it's hard but that's a Rust problem
>>
>>108357247
>R-ACK-m
>>
>>108359927
its open source so whats your point?
>>
>>108360034
By blowing up yeah, which is what Rust is doing there
"Handling" every possible error in the sense that you can recover from it is not easy or even possible. You would need 50000 lines to create a file and the result would possibly nuke your system
>>
>>108363004
Yeah it's just a difference in comprehension I guess. The user shouldn't ever see a panic, simple as.
>>
>>108357247
virgin rust vs chad golang
>>
>>108363753
So the word panic is your problem? In C the same problem would give you
>segmentation fault (core dumped)
which I guess is okay then

what's funny is I do see a real problem with the screenshot which is that it only gives you the offending line and not a traceback, but my guess is you would complain even more about seeing a ugly stack trace. I know your type. Enjoy your
>oooopsie we made a fucky wucky!! :(



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.