nicklauri
Re:Ask HN: Why did Nim not catch-on like wild fire as Rust did?
on Tuesday June 27, 2023 @02:24PM (#36496762)
WebAssembly is not just for the web. Please take a look at wasmtime[1], wasmer[2]. It's the future of computing.
You might want to read this iconic tweet[3]
[1]: https://wasmtime.dev [2]: https://wasmer.io [3]: https://twitter.com/solomonstre/status/1111004913222324225
Re:Rust, not Firefox, is Mozilla's greatest industry contribution
on Friday April 16, 2021 @03:54AM (#26830873)
The title litterally means "Rust, not Firefox, is Mozilla's greatest industry contribution", like noone is talking about society contribution.
I don't understand what are you talking about.
Re:Rust Is Surprisingly Good as a Server Language
on Monday July 13, 2020 @11:08AM (#23821528)
About long compile time, I recommend using sccache. It saved a lot of compile time for me.
You can find how to install and use it here: https://github.com/mozilla/sccache
Re:Apple is looking for engineers to convert its code from C to Rust
on Wednesday March 25, 2020 @12:14PM (#22685971)
Yes, they're programs from the benchmarks game that use a lot of UnsafeMutablePointer, which is:
> provides no automated memory management or alignment guarantees. You are responsible for handling the life cycle of any memory you work with through unsafe pointers to avoid leaks or undefined behavior. [1]
So I think they're "performance oriented Swift code". I'm not familiar with Swift, so sorry if I'm wrong. [1]: https://developer.apple.com/documentation/swift/unsafemutabl...
Re:Apple is looking for engineers to convert its code from C to Rust
on Monday March 23, 2020 @04:08AM (#22662051)
There are some benchmarks that I think you should give them a look:
https://github.com/ixy-languages/ixy-languages
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
The main reason is many companies have a lot of C/C++ devs or other devs learned Rust, so they don't have to hire new Rust programmer. There are many places using Rust, you should check this out: https://www.rust-lang.org/production/users
Re:Async-await on stable Rust
on Thursday November 07, 2019 @03:55PM (#21477157)
I'm pretty sure you're wrong like the way you're sure that you're right. Can you elaborate on why someone can't even go past a "Hello World" project would care about a feature that "other languages" have had it in years? I don't get it, I think they maybe hate Rust and should go throwing shade the language and ruin other people's feelings instead.
Re:Uber Go Style Guide
on Saturday October 12, 2019 @10:54AM (#21233605)
I would love to see that too, but I think that's likely never happened. Because Rust is kinda hard and takes quite amount of time and money to train new people, add more stacks on maintaining projects, and important thing is that I don't see why they have to use Rust. Go is good enough and they can work around with Go's disavantages.
Re:How come PHP seems so much faster than Rust?
on Sunday September 29, 2019 @02:09AM (#21105412)
Obviously, because the PHP regex engine is written in C, not in PHP. It's more like Rust's regex crate vs C PCRE rather than PHP, or who calls system call faster. While Rust's IO is locked[1] and doesn't buffer (which is slower than buffered, unsynchronized IO like other languages). And regex crate is slow when capturing, which is used on the "benchmark".
Reference: https://www.reddit.com/r/rust/comments/5zit0e/regex_captures... 2 years ago, but it's still valid to me, I've just tested it and it's much slower as I expected. Feel free to correct me if I'm wrong :)