Re: Firefox command seems to be a wrapper

2019-07-20 Thread Boris Zbarsky

On 7/20/19 9:04 AM, Mahmood Naderan wrote:

However, I am not sure if the tracer logs *the process that fetches data
from web* or not.


Using the definite article ("the") there, is fundamentally wrong.

When you load a web page in Firefox, there are at least 2 processes 
involved in "fetching data from web", possibly more, depending on the 
exact configuration.  At the very least there is the process where the 
actual socket access happens (which is probably the "parent" Firefox 
process, which is the first one that starts, in your case), but which 
data should be fetched and what's done with it is largely determined in 
a different ("child") process.


-Boris
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to ship: accumulating most JS scripts' data as UTF-8, then directly parsing as UTF-8 (without inflating to UTF-16)

2019-07-20 Thread Nicholas Nethercote
This is excellent news. Do you have any measurements showing perf effects?

Semi-relatedly, Swift 5 will change the preferred encoding of strings from
UTF-16 to UTF-8. Some readers might find the accompanying blog post
interesting: https://swift.org/blog/utf8-string/.

Nick

On Sat, 20 Jul 2019 at 10:05, Jeff Walden  wrote:

> # Intent to ship: UTF-8 parsing of external 

Re: Upcoming C++ standards meeting in Cologne

2019-07-20 Thread Botond Ballo
On Thu, Jul 18, 2019 at 5:21 PM Botond Ballo  wrote:
> I'm not technically allowed to talk about the discussions that have
> taken place so far this week (and in any case nothing is final until
> the plenary votes on Saturday), but please do check /r/cpp on Saturday
> and have a look at the collaborative trip report that's usually
> released very soon after plenary ends. My strong suspicion is that one
> way or another, your fears will be allayed.

So, as described in the mentioned trip report [1], Contracts has been
pulled from C++20 and is now targeting C++23.

While the C++23 design is very much open at this stage, I have high
confidence that it will include a mechanism to make contracts have no
effect when not checked, like you want.

Cheers,
Botond

[1] 
https://www.reddit.com/r/cpp/comments/cfk9de/201907_cologne_iso_c_committee_trip_report_the/
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Firefox command seems to be a wrapper

2019-07-20 Thread Mahmood Naderan
Mike,
I even tried that. The command

/usr/lib64/firefox/firefox www.google.com

will spawn multiple processes. As I tried with my tracer, I see that the
above process executes instructions even after the firefox window is opened
and google page is fetched.
However, I am not sure if the tracer logs *the process that fetches data
from web* or not.
Hope that I stated the problem clearly.


Regards,
Mahmood




On Wed, Jul 17, 2019 at 2:12 AM Mike Hommey  wrote:

>
> I'm not sure how you jumped from my response to building from source, but
> what I'm saying is that you probably can run /usr/lib64/firefox/firefox.
>
> Mike
>
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform