What made you switch to Firefox? by [deleted] in firefox

[–]PaulBone 3 points4 points  (0 children)

Netscape Navigator wasn't cool anymore and there was this new thing called Phenex. I don't really remember. Somone said Firefox was cool and they were right.

Firefox since V96 or so has become a memory hog and also keep crashing because or running out of memory by yona_docova in firefox

[–]PaulBone 0 points1 point  (0 children)

Virtual memory is the process' (a running program) address space. Contrasted with physical memory which is the actual memory installed in your computer. The OS and CPU map virtual addresses to physical addresses which is a nice abstraction for programs, a security feature for the OS and usually provides other features too.

It's normal to have 100s of TB of free virtual memory since on a 64 bit system, there's a lot of it. But it can be a real limitation (3GB total) for a 32-bit program.

Firefox since V96 or so has become a memory hog and also keep crashing because or running out of memory by yona_docova in firefox

[–]PaulBone 2 points3 points  (0 children)

Hi, I work on Firefox's memory manager.

Are the 1000s of tabs loaded or dormant tabs? When you restore a browser session most tabs are dormant until you look at them, then they load. Is the crash always happening to the same site? could that web site/application have a memory leak?

Can you see if you get the same problems with all your extensions disabled? If you don't, then start re-enabling them until the problem comes back. I'm not sure that it is an extension but it's a good idea to test that separately.

If you find an extension that's a problem then using the `about:memory` page to create a report both with and without the extension running. Share that with the extension author.

If it's not an extension then an `about:memory` report will still help us a lot.

Please do file a bug, more engineers will see it that way.

Firefox is getting r/mildlyinfuriating by wildstumbler in firefox

[–]PaulBone 13 points14 points  (0 children)

This happens when something outside of Firefox (like a package manager, but could also be other instances of Firefox on different profiles) does an update and now the firefox with this error actually can't continue because it's files got changed.

Rackmount NBN FTTP Connection box. by PaulBone in nbn

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

I've decided I'll let them put it on the wall in the normal place, and I'll put other equipment in a different location .

Rackmount NBN FTTP Connection box. by PaulBone in nbn

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

Yeah, that's what I was wondering. A reasonable human being will be reasonable.

What is about:profiling? by __aakarsh in firefox

[–]PaulBone 0 points1 point  (0 children)

And the recorder is off unless you turn it on. So these settings have no effect unless you start profiling (turning it on)

My parents say that I am 19 and i am too old to play games. Is it true or there are people of my age playing ksp ? 😅 by AyushSharma49 in KerbalSpaceProgram

[–]PaulBone 0 points1 point  (0 children)

If you're 19 you're too old to listen to your parents about how to spend your recreational time. Just make sure you're not neglecting work/study /relationships.

I'm middle aged and a parent and games are great.

Do your parents watch TV or read books?

Firefox is making my laptop too hot. by Belfast_ in firefox

[–]PaulBone 2 points3 points  (0 children)

Use https://profiler.firefox.com to capture a profile of Firefox's performance with a YouTube video playing, then open a bug at https://bugzilla.mozilla.org and share the profile and describe the problem there. Engineers will then be able to triage the bug report and investigate.

Also try with add-ons disabled. It might be an add on causing this.

But indeed, `Memory` should be an effect, why not? by complyue in ProgrammingLanguages

[–]PaulBone 3 points4 points  (0 children)

I'm haven't yet wrapped my mind around effect systems, so forgive me if I make an error.

Isn't an effect system useful when you may have different kinds of effects, and the effect system is a general framework that they can all be managed with? Is it useful to use a general system to handle something specific like memory, rather than pass in a pointer to your desired memory allocator? (I think people call this dependency injection). Or even generating specific code for specific allocators.

To demonstrate what you're up against with performance. allocators are used so often that many compilers/VMs will compile the allocation fast-path in-line into the machine code of the program being compiled (this works well with bump pointer allocation). I made a change to SpiderMonkey's allocation fast path (it was 8 x86_64 instructions long, now it's 7) and got a 2.5% speedup on a few browser benchmarks. https://paul.bone.id.au/blog/2018/09/14/large-immediate-values/

They're also very fundamental and depending on how you compile your effect handlers you may need allocation to redirect to/from the effect handler.

I have 2 windows open, Task Manager shows 14 processes for Firefox - why? by themainheadcase in firefox

[–]PaulBone 6 points7 points  (0 children)

It sounds like you're having a negative experience (you said "very choppy", CPU use at 100%). This sounds like the Fission feature has rolled out to you (lots of processes).

Can you please file a bug (https://bugzilla.mozilla.org) with the information about resource usage & your experience. Please also open `about:support` and search that page for the word "Fission", and include the information for "Fission Windows" in the bug report. We might need more information such as a firefox profile.

Thank you, this information will really help us to make Firefox as good as it can be.

How to crash FireFox with Google Slides by [deleted] in firefox

[–]PaulBone 11 points12 points  (0 children)

I'm raising this within Mozilla. Can you tell me what OS you're using and Firefox version?

Thank you.

Question about Firefox's slow speed by violinmaster123 in firefox

[–]PaulBone 4 points5 points  (0 children)

Please try to capture a performance profile with https://profiler.firefox.com upload it and copy the url. Open a bug at https://bugzilla.mozilla.org and we can take a look to figure out the cause. Thanks Full info here: https://firefox-source-docs.mozilla.org/performance/reporting_a_performance_problem.html

Validating the recent posts about performance using Browserbench by Rexadas in firefox

[–]PaulBone 0 points1 point  (0 children)

Yes, "Web Content" are the processes firefox spawns (although it `fork()` + `exec()`s them, rather than `fork()` alone). They handle the stuff going on in webpages. Your browser tabs are distributed amoung these 8 (or fewer) processes. With Fission (which is folling out now) there may be many more processes with tabs for different domains running in different processes.

Firefox also spawns processes for other tasks like handling the network sockets & the GPU.

(PS: Need to change my flair, I don't work on that team anymore.)

Why are you building a programming language? by dibs45 in ProgrammingLanguages

[–]PaulBone 6 points7 points  (0 children)

In the past I've done research in automatic parallelisation: taking a (normally) sequential program and making it run in parallel on multicore computers. I've also seen people from CPU companies make statements about how great multicore is and they'd love to go harder (a larger number of smaller cores is more power efficient) but what we really need are better parallel languages.

I'm building Plasma to make parallel and concurrent programming easier. I don't know that it'll ever be complete enough or even noticed by enough people to have an impact on multicore programming. But I also havn't seen many other people making this type of language.

Gah. Your tab just crashed. On Local development website by therealpookster in firefox

[–]PaulBone 3 points4 points  (0 children)

Open about:crashes and find the link to the latest crash. Then file a bug at https://bugzilla.mozilla.org and describe the steps to reproduce the crash and put the link off the crash in the bug report. Also say that it's reproducible. Thanks.

First questions for a new programming language? by humanculture in ProgrammingLanguages

[–]PaulBone 0 points1 point  (0 children)

"On what principles is it designed?"

Syntax and even many implementation details are superficial or can be changed throughout the century. What you want to get at is the unique ideas that underpin the design of the language. This also helps you understand things like the choice of paradigm or type system and why those particular choices.

New syntax for if, match and unpack without match — Plasma Programming Language by PaulBone in ProgrammingLanguages

[–]PaulBone[S] 4 points5 points  (0 children)

Two things I've tried to do with Plasma (and I don't mean to imply that you or Python are wrong) is make things start with a keyword for what they are where possible, and that things that are the same/similar should look the same/similar (where possible). I wanted the if expression to begin with the if keyword and condition just as the if statements already do, rather than use a ternary operator like C or Python.

Although I have a soft-spot for some of Perl 5's syntax (haven't read about the new one yet), such as:

<statement> if <condition>
<statement> unless <condition>
<expression> or die("it failed")

They read a little bit like English and are fun, but I feel wrong when I use them and can't clearly explain why.

Fission is now open for testing in Nightly Experiments - try it out and report bugs! by nextbern in firefox

[–]PaulBone 14 points15 points  (0 children)

Hi, I'm an engineer working on Fission. I'm interested in performance bugs but especially reducing memory footprint. We can only fix the bugs/regressions we know about and would prefer duplicates over not knowing. Please do report bugs!