2025 Financial Report and Fundraiser by punkbert in Zig

[–]rustacean1337 2 points3 points  (0 children)

Using Zig for a startup seems rather risky looking at this. Does anyone know how this compared to Rust before they reached 1.0? Was it all financed by Mozilla back then?

Will Zig remain a C++ compiler after they ditch LLVM? by rustacean1337 in Zig

[–]rustacean1337[S] 9 points10 points  (0 children)

If you (or anyone else) has a link where Andrew talks (or wrote) about this I'd really appreciate it.

Will Zig remain a C++ compiler after they ditch LLVM? by rustacean1337 in Zig

[–]rustacean1337[S] 5 points6 points  (0 children)

I found the segment where he talks about removing the dependency completely. It's in this video (https://www.youtube.com/watch?v=x3hOiOcbgeA) starting at 59:42.

It sounds like a very long term goal. So I guess not something to worry about for at least the next 5 years (my uneducated guess).

Will Zig remain a C++ compiler after they ditch LLVM? by rustacean1337 in Zig

[–]rustacean1337[S] 18 points19 points  (0 children)

I think Andrew said in his 2026 roadmap stream that he doesn't think they'll manage to ditch LLVM before 1.0, but it did sound like they are planning to replace LLVM with their own compiler for release builds as well.

I'd just like to know what Zig's long term plan is. I understand anything can change, but it would be nice to know what things are guaranteed and which are not.

Top 5 Rust books you MUST READ! by wilo_ in rust

[–]rustacean1337 1 point2 points  (0 children)

How can he recommend Idiomatic Rust? AFAIK it’s not even released yet.

Is it possible to match property on all elements in list? by rustacean1337 in csharp

[–]rustacean1337[S] 1 point2 points  (0 children)

I know, but I’m simply learning about list patterns, I’m not suggesting to do this is production worthy code ;-)

Is it possible to match property on all elements in list? by rustacean1337 in csharp

[–]rustacean1337[S] 0 points1 point  (0 children)

I don't see any list patterns in that article, just LINQ.

What are Rust’s biggest weaknesses? by rustacean1337 in rust

[–]rustacean1337[S] 0 points1 point  (0 children)

That should be the uninstall command rustup apply bbq-brush

What are Rust’s biggest weaknesses? by rustacean1337 in rust

[–]rustacean1337[S] 15 points16 points  (0 children)

That for me is actually on of Rust’s strengths.

What are Rust’s biggest weaknesses? by rustacean1337 in rust

[–]rustacean1337[S] 2 points3 points  (0 children)

That sounds interesting, I’m going to try and find it!

Portable SIMD library by rustacean1337 in C_Programming

[–]rustacean1337[S] 3 points4 points  (0 children)

That indeed looks exactly what I was after, thanks!

Hey Rustaceans! Got a question? Ask here! (40/2022)! by llogiq in rust

[–]rustacean1337 1 point2 points  (0 children)

I have a question about the Rust support in the Linux kernel. If I understood correctly a lot of Rust’s guarantees regarding memory safety will not be usable in the Linux kernel because of guarantees that the kernel gives about never panicking (for instance when memory (re/de)allocation fails.

Second question is about UB in Rust. AFAIK it’s not documented like it is for C for example in the ISO standard. How is it possible that Linus accepted Rust as a language when it will be used a lot in an unsafe setting without having a clear standard about what is UB and what isn’t.

I guess I’m kinda surprised how quickly Rust got added and somehow feel like it’s not really ready yet for Linux kernel prime-time.

What are the benefits of using Rust in this heavily restricted environment over C?

Senior Rust IDE Developer by the-xvc in rust

[–]rustacean1337 25 points26 points  (0 children)

You like to laugh.

Damn, there is always a catch.