HNHacker News
TopNewBestAskShowJobs

idobai

7 karma · joined July 20, 2015

https://www.accountkiller.com/removal-requested
submissionscomments
idobai··on Firefox Hello – Browse the Web with Friends
> Thanks for the bug report, but I can't reproduce. According to the built-in memory profiler, Servo uses 39 MB of explicit allocations to load google.com, which is well in line with other browsers even without a whole lot of optimization for memory use.

If you say so, I'll check out a new version and try it again. I've tried it a few weeks ago on linux.

> A large amount of CPU usage during initial pageload, on the other hand, is a feature, not a bug. Using more resources lets us get the page loaded faster, which not only shows you the page faster but also typically reduces power consumption since we can get the CPU into an idle state.

Large CPU usage slows down other apps - that's one reason why I use ff instead of chrome. 8GB RAM seems too few nowadays...

> Manual memory management isn't about some broad notion of "resource consumption": it's about having low-level control of resources, which can not only reduce memory usage but also eliminate pauses. I think it's very unlikely that the JavaScript garbage collector could be made thread-safe without regressing performance (which is what you presumably mean by "just use a GC").

I was pointing to the promise that it shouldn't leak while it seems to be doing it seriously.

> Just to name the first features that come to mind: Rust has a module system and hygienic macros, which are syntactic features not in C++. Rust comes with a standard library that includes networking, which isn't in C++.

I don't really like Rust's module system but +1 for the hygienic macros.

> Those "tweaks" are in fact likely to be slowing down your browser.

Have you heard about experimental features like pipelining and prefetch? Or content restrictors like uBlock and disconnect? Or session+history limits? When I reset my ff settings(due to ff profile problems) the vanilla ff takes at least 2x as much time to load the same page. If these "tweaks" wouldn't present - I wouldn't be a happy ff user.

idobai··on Firefox Hello – Browse the Web with Friends
> I actually recently considered a switch, and tried FF45, and what I saw: Pocket and this Hello, there, impossible to actually remove.

about:config

loop.enabled = false -> disable hello browser.pocket.enabled = false-> disable pocket

> They certainly lost some people other than me with this inconsiderate manners of theirs.

They're wasting time and resources into things the users don't really need.

idobai··on Firefox Hello – Browse the Web with Friends
> I agree that Firefox's performance is quite bad these days, but Mozilla is already working on that (with Servo).

I've checked out servo and compiled and started it in release mode - it required 600MB RAM and 700% CPU to load google(!) with the same speed as my little firefox with tons of extensions - forgive my ignorance but I've expected more from the hype. I've tested some other websites but no luck - Servo is a heavy and slow beast.

> I am throughly impressed with Rust, the language, the ecosystem, and most importantly the way it's maintained by Mozilla.

Rust programs consume so much resources that it could just use a GC instead of the complex manual memory management. The syntax and the standard library is as 'modern' as in cpp - I'm not as impressed as I was a fan of Mozilla.

> Personally, I continue to use Firefox as my daily driver, because it appears to respect my privacy more than Chrome, despite its performance issues.

Search the internet for optimizations, my firefox feels like as fast as chrome - sometime even faster. It just needs some tweaks. Even if ff would be much slower I wouldn't leave it because of firefox's wonderful extension platform and its nice complete theme suites.

idobai··on Proposal: Go should have generics
Look at Nim's concept(http://nim-lang.org/docs/manual.html#generics-concepts), it can do more than a regular interface.

Edit: here is how they look like, concept vs interface:

1. Nim: http://ideone.com/wn3Kzf 2. Go: http://ideone.com/fRrB05

idobai··on Proposal: Go should have generics
What things? Care to elaborate?
idobai··on Proposal: Go should have generics
> EDIT: of course this is good; such a language would be beyond nightmarish. By which i mean c++ or scala.

Then go and compare the same code in go and Scala and see which is more "nightmarish". You see Scala as a complex language because you need to learn something before you use it while go is almost the opposite - you may get it in an afternoon and create repetitive, boilerplatish and unmaintanable mess.

idobai··on Proposal: Go should have generics
You forgot that most of golangers are ex-php programmers and students with no experience. Just look at what they're talking about: they think generics are the opposite of simplicity and can make performance and compilation time worse. Meanwhile, Nim has generics with other useful features and has faster compilation time along with better optimization. If google would put 'goto' into go golangers would still use it anyway.

I've tried go a few times and it was full with repetition and boilerplate - felt like java 1.0. It seems like new coders like to repeat themselves more often than learn how to use proven concepts.

← PreviousPage 2 of 2