HNHacker News
TopNewBestAskShowJobs

ladyanita22

1,020 karma · joined November 4, 2019

submissionscomments
ladyanita22··on Zig 0.13.0 Release Notes
Many examples out there are broken. As a sidenote, I've been benchmarking Zig, Rust and C++ with a fibonacci benchmark and the results basically show that C++ is the fastest, but within a 3% margin of error against Rust and Zig, which are mostly similar (Rust so ever slightly faster).
ladyanita22··on Intel's Lion Cove Architecture Preview
What about Rust?
ladyanita22··on A secure embedded operating system for microcontrollers
Is it mandatory?
ladyanita22··on A secure embedded operating system for microcontrollers
Technically you could do the same in all three: C, C++ and Rust.
ladyanita22··on .NET for NES Game Console on 6502 Microprocessors
There's also this https://gergo.erdi.hu/blog/2021-09-18-rust_on_the_mos_6502__... for rust on the 6502.

I wonder how's the performance vs. C (for both, C# and Rust).

Edit: It's my understanding that the 6502 is extremely stack-limited, so a well-versed assembler would use the stack very little and allocate mostly on the heap. In C, you can replicate this with global variables, and I believe (and I would be very happy if someone related to the 6502 rust port could chime in here) on Rust you can do the same with `static mut` on Rust 2021 and `Unsafecell` on Rust 2024.

ladyanita22··on Arch Linux RISC-V
> Then RISC-V assembly will be the new C.

Yeah, I don't think so

ladyanita22··on Why Rust Isn't Killing C++
For which applications would you say Rust isn't as capable as C++?
ladyanita22··on Why Rust Isn't Killing C++
> or Rust isn’t as capable as C++ (also untrue for the vast majority of applications)

I wonder what are the applications for which that statement is true. So far I've found nothing apart from obscure/proprietary architectures for which Rust doesn't have a compiler (and that's not a problem of the language itself)

ladyanita22··on AstraZeneca to Withdraw Covid Vaccine
Because of the strong reaction against vaccination negationists, it seems we sadly are leaving stuff completely out of the debate and some topics have become forbidden. It's rather unfortunate, because this is a valid point.
ladyanita22··on Implementing Neural Networks on a "10-cent" RISC-V MCU
How would Rust behave here? It'd be interesting to know if it's flexible enough to work as efficiently in these machines.
ladyanita22··on Strudel: A live coding platform to write dynamic music pieces in the browser
Exactly came to my mind.
ladyanita22··on Significant performance and correctness improvements to the kernel
Why is it better? Asking an honest question.
ladyanita22··on I Improved My Rust Compile Times
I understand that's not a language limitation, but rather a compiler/toolset/ecosystem issue (like not having a standard ABI?).

I ask becasue I wonder what's the real culprit here and whether it can be solved or if it's due to the language.

ladyanita22··on I Improved My Rust Compile Times
> If the a C++ file includes any C++ stdlib header it will also also become very large (tens of thousands of lines of gnarly template code for common headers like <vector> or <string>). If the unit of compilation is a crate in Rust it should actually be faster to build than typical C++ projects which often put the implementation for one class into one source file (and each of those source files is expanded to tens of thousands of lines of code after includes are resolved).

> C mostly doesn't suffer from this problem though, since C header typically are only a couple dozen or hundred lines of API declarations.

But then, there's no reason why Rust couldn't be like C. The issue comes from the dependencies and libraries bundled, which is not an issue per se of the language.

ladyanita22··on I Improved My Rust Compile Times
> Because Rust's unit of compilation (a crate) is very large. In C/C++ it's a single file.

What do you mean exactly here?

ladyanita22··on Rust for Embedded Systems: Current state, challenges and open problems
I wonder how would the performance of Rust be without the runtime checks and the std_library.

And why is the std_library less performant than, let's say, C's counterpart?

ladyanita22··on Ryzen Z1's Tiny iGPU
I'm not sure I'd be willing to lose the ability of upgrading and the flexibility of tailoring my PC just to have a more silent PC.
ladyanita22··on Ryzen Z1's Tiny iGPU
And then you'd pay much more because you're getting a powerful iGPU that you'll likely not use.
ladyanita22··on Ryzen Z1's Tiny iGPU
> Let's say that the CPU + powerful iGPU cost 95% of what a discrete CPU and GPU cost

The main advantage of APUs would be the costs (theoretically). If it ends up being 95% of the cost of a more traditional architecture, what would be the point?

ladyanita22··on Argentina's Economy Is Screaming at Top of Its Lungs
Yes, I'm just pointing out this blog's one
ladyanita22··on Argentina's Economy Is Screaming at Top of Its Lungs
To be clear, this is a liberal economics blog, so expect at least some bias.
ladyanita22··on Exodus Bitcoin Wallet: $490k swindle
For reference, I've checked the Flatpak app and can confirm that the Flatpak for Exodus is the correct Electron app. In Flathub it's as easy as going to the github of the store and looking at the package's instructions. You'll see what it does is basically downloading the ZIP from the offical Exodus website and run it.
ladyanita22··on Show HN: RAM Prices
Gnome uses 2GB at most when not memory-constrained.
ladyanita22··on Show HN: RAM Prices
In my experience desktop linux is significantly lighter than macOS though
ladyanita22··on Show HN: RAM Prices
Do you have any real hard data that lets you to claim that macOS or iOS are more efficient than Linux or even Windows?
ladyanita22··on Microsoft bets on Germany in €3.2B AI push
care to explain?
ladyanita22··on Mixed Reality gone in Windows 11 Insider Preview Build 26052
Then don't.
ladyanita22··on Finance worker pays out $25M after video call call with deepfake CFO
I met 3 top managers from China (talking about very high-level managers) to whom I had to talk to and were kinda more challenging and open than the other Chinese I had to work with, but nowhere near the Germans, Americans or Italians.
ladyanita22··on Finance worker pays out $25M after video call call with deepfake CFO
Confucian cultures
ladyanita22··on Finance worker pays out $25M after video call call with deepfake CFO
You can kinda enforce it from the IT side, though.
← PreviousPage 5 of 15Next →