HNHacker News
TopNewBestAskShowJobs

tcfhgj

1,620 karma · joined December 31, 2021

socialist eco terrorist
submissionscomments
tcfhgj··on Every Windows 11 app should kill Electron, and Discord just showed why
I have 32 GB - 4 GB = 28 GB of RAM in my notebook, I close electron apps every day to free memory.
tcfhgj··on C++26 Disapproved
sry wrong link: https://news.ycombinator.com/item?id=50365335
tcfhgj··on Every Windows 11 app should kill Electron, and Discord just showed why
You cannot separate performance from memory usage. Usually less memory usage for apps comes at the cost of performance and vice versa.

And more memory usage can slow down the whole system, because the system may need to swap and compress memory.

tcfhgj··on Every Windows 11 app should kill Electron, and Discord just showed why
Yes never
tcfhgj··on ZapFast: A fast, native WhatsApp client in Rust and egui
The topic was ram usage during runtime.
tcfhgj··on ZapFast: A fast, native WhatsApp client in Rust and egui
The number of packages doesn't have anything to do with this
tcfhgj··on Every Windows 11 app should kill Electron, and Discord just showed why
Even vs code is slow compared to a native app - noticable with large or many files; with search and replace in larger files (xx mb) it even crashes
tcfhgj··on Every Windows 11 app should kill Electron, and Discord just showed why
On Windows youd use windows-rs
tcfhgj··on Every Windows 11 app should kill Electron, and Discord just showed why
> All the performance and other arguments are just not true, a well build webapp is often more performant than a native app especially for long scroll lists not even to mention accessibilty, extensions and more.

A well built web app will never be more performance than a well built native app. It's just inherent due to the JavaScript abstraction.

tcfhgj··on Discord is ditching Electron and its new app uses less RAM
certainly not valid for the most used electron projects
tcfhgj··on C++26 Disapproved
https://news.ycombinator.com/user?id=afdbcreid
tcfhgj··on A new Go API for JSON
> think most people who use JSON don't want strong typing or to use schemas. If you do, you just use a different serialization format: JSON is designed to be a generic, human-readable way to basically represent any kind of data structure (since it deserializes to JS objects). So everything about JSON is working against you if you do try to enforce type/schemas on it.

I have been using serde without issues, and never resorted to `serde::Value`[0], the untyped option, so far.

I have yet to experience anything working against me.

[0]: https://docs.rs/serde_json/latest/serde_json/enum.Value.html

tcfhgj··on C++26 Disapproved
1. by implementing your complex algorithm? 2. if they don't overlap, they can't be random, can they?

Rust can literally do anything programmatically. Idk why you think it cannot do something.

tcfhgj··on C++26 Disapproved
> But I don't have the time to closely review or investigate all of those, so I need to trust that they're handling it without knowing them personally.

so either you pay someone to do the work for you or you hope that someone does it for free?

tcfhgj··on C++26 Disapproved
similarly except the algorithm to Mutex<[T]> and Arc?
tcfhgj··on C++26 Disapproved
Could you expand? You seem to know more
tcfhgj··on C++26 Disapproved
Why can Rust not do that?
tcfhgj··on C++26 Disapproved
> Rust's package management and lack of stable, high-quality libraries maintained by professional or even just generally known entities are a pretty big problem.

IMHO, Rusts package management is the opposite of a problem.

And a lot of stable high quality crates exist, such as Tokio, thiserror, chrono, axum, .......

tcfhgj··on Incident with Pull Requests, Git Operations and Issues
Private projects usually are not owned by companies
tcfhgj··on If IPv4 were land
but climate change is not up to the tech industry
tcfhgj··on Four Months of Zig
how so?
tcfhgj··on Overgrown, when plants invade your abandoned tabs
> It’s searchable.

not very well, except you add a lot keywords to website title manually via bookmaeks

tcfhgj··on AfD Leak: What 421,179 Hacked Emails Show about the German Far Right
Well, actually it is.

The other option has been tried 100 years ago and didn't go so well.

> If you want people to vote for other parties then those parties should chagne to serve the people again instead of trying to make the people serve them.

This doesn't work when the party doesn't serve the people in the first place.

It doesnt even help most of their voters.

tcfhgj··on Solar surpasses nuclear power globally for first time – pv magazine Global
green gas or flow batteries
tcfhgj··on We don't want decentralized systems, we want small ones
I don't buy it.

First of all, I don't use GMail or Outlook for E-Mail.

What would E-Mail/messengers/telco look like in small without federation?

tcfhgj··on Japanese people still aren't having sex. And nobody knows why
how much did women work back then, work that is counted as work - and it is represented in "50hr/w was the norm"?
tcfhgj··on Strafe: A new open-source, E2E Encrypted, and federated alternative to Discord
having to maintain accounts for every server/community is a pain.

Imagine having to create a gmail account to write with gmail users and a sim card for every telcom provider, because you only can call someone within one provider.

This is just a path which ends up at the global monopoly or oligopoly which we have now with Discord and whatsapp

tcfhgj··on Firefox Enterprise
> outlook.office365.com

Just a note: While I cannot speak for the past years, it seems like the website works for me using Firefox - without clearing any cookies. Tested on NixOS + Windows

tcfhgj··on I built a tool to track what AI leaders say and how their views change on video
They are politicians, just not elected ones
tcfhgj··on Apple's new 'Switch to Safari' campaign details why you should ditch Chrome
Well, they are, and then complain they are in a cage
Page 1 of 34Next →