SIMD-accelerated multi-threaded hello world

@alexbuzzbee Yes, you are probably right!

I'm not really familiar with SIMD much less SIMD in Rust, but it seems you need `unsafe` to use certain SIMD-features that are available on certain architectures:
doc.rust-lang.org/edition-guid

I'm not sure how this (unsafe) will affect thread-safety, but generally one can say:
While #Rust guarantees thread-safety during compilation, it doesn't mean your software is free of concurrency bugs.😉

Hello world

Oh, apparently it has worked this time around.I wont try again😜

@janriemer The other problem to consider is that, again as far as I know, Rust doesn't serialize IO, so if you have several threads writing stuff at once it'll still get interleaved.

@alexbuzzbee Yes, IO is a _perfect_ example where you are not thread-safe anymore, even with #Rust. Thanks.👍

I think it is even mentioned somewhere in the Rust docs, but unfortunately I can't find it right now.🙁

@veer66 @brombek Thank you for the resources. So Rust indeed locks it. Thank you!🙂

Also have a look at the following response by Sergey:
mastodon.technology/@bugaevc/1

Sign in to participate in the conversation
Mastodon 🔐 privacytools.io

Fast, secure and up-to-date instance. PrivacyTools provides knowledge and tools to protect your privacy against global mass surveillance.

Website: privacytools.io
Matrix Chat: chat.privacytools.io
Support us on OpenCollective, many contributions are tax deductible!