Discussion:
[native-client-discuss] (P)NaCl Deprecation
v***@gmail.com
2018-02-22 18:24:51 UTC
Permalink
Dear Google groups,

My name is Vitaly. I’ve been working on development of Chrome extension.

This extension is based on PNaCl as we use C++ for one of application’s
modules.

May you give additional information about (P)NaCl deprecation in order to
protect our customers:

1. What does “deprecation” means? Will the extension be removed from
Chrome App Store? Will future Chrome browser versions stop supporting PNaCl?

2. When will “deprecation” be completed? By what time shall we have
migrated to WebAssembly?

3. I’ve read WebAssembly Migration Guide, but I am not quite sure if
WebAssembly supports some PNaCl features (Pepper API): file
reading/writing, making http requests, making asynchronous operations (like
“message loop” API). Could you please assist with this question?

4. Can we use openssl or another third-party libraries with
WebAssembly?

5. Will WebAssembly allow our application to support not only Chrome
Browser?

Thank you for paying attentions to our questions.

Yours faithfully,

Vitaly Sukhov
--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-discuss+***@googlegroups.com.
To post to this group, send email to native-client-***@googlegroups.com.
Visit this group at https://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.
v***@gmail.com
2018-02-22 18:22:17 UTC
Permalink
Dear Google groups,

My name is Vitaly. I’ve been working on development of Chrome extension.

This extension is based on PNaCl as we use C++ for one of application’s
modules.

May you give additional information about (P)NaCl deprecation in order to
protect our customers:

1. What does “deprecation” means? Will the extension be removed from
Chrome App Store? Will future Chrome browser versions stop supporting PNaCl?

2. When will “deprecation” be completed? By what time shall we have
migrated to WebAssembly?

3. I’ve read WebAssembly Migration Guide, but I am not quite sure if
WebAssembly supports some PNaCl features (Pepper API): file
reading/writing, making http requests, making asynchronous operations (like
“message loop” API). Could you please assist with this question?

4. Can we use openssl or another third-party libraries with
WebAssembly?

5. Will WebAssembly allow our application to support not only Chrome
Browser?

Thank you for paying attentions to our questions.

Yours faithfully,

Vitaly Sukhov
--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-discuss+***@googlegroups.com.
To post to this group, send email to native-client-***@googlegroups.com.
Visit this group at https://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.
'Bradley Nelson' via Native-Client-Discuss
2018-02-23 05:47:23 UTC
Permalink
Hi Vitaly,

See answers inline.

On Thursday, February 22, 2018 at 10:36:31 AM UTC-8,
Post by v***@gmail.com
Dear Google groups,
My name is Vitaly. I’ve been working on development of Chrome extension.
This extension is based on PNaCl as we use C++ for one of application’s
modules.
May you give additional information about (P)NaCl deprecation in order to
1. What does “deprecation” means? Will the extension be removed
from Chrome App Store? Will future Chrome browser versions stop supporting
PNaCl?
We've not yet announced a deprecation date for PNaCl in the context of
Chrome Extensions (only on the web outside Chrome Extensions). My
expectation is that we will eventually also include Extensions, but no firm
decision + date has yet been made.

For PNaCl, our current intention is that deprecation will lead to disabling
PNaCl on general websites.
In the context of Chrome Apps + Extensions, deprecation would likely take
the form of disabling the feature at runtime, as PNaCl/NaCl apps/extensions
are not explicitly marked.

Deprecation of PNaCl on the Web was originally planned to take place
sometime in Q1 2018.
However, the temporary removal of SharedArrayBuffer and connected delays in
WebAssembly threads have led us to be thoughtful on the timing to avoid
creating a situation in which customers that need threads have no
transition path. As a result, turning off PNaCl on the Web may be delayed
somewhat beyond Q1, pending Wasm threads.

Prototype support of Wasm threads is available behind flags in the tools
and in Chrome.
As there will likely be a very narrow window of time in-between Wasm
threads launching and implementation of PNaCl deprecation, customers that
need threads should start kicking the tires on this functionality as soon
as possible.
Post by v***@gmail.com
2. When will “deprecation” be completed? By what time shall we have
migrated to WebAssembly?
Very soon after WebAssembly threads ship + SharedArrayBuffers are
re-enabled.
Post by v***@gmail.com
3. I’ve read WebAssembly Migration Guide, but I am not quite sure
if WebAssembly supports some PNaCl features (Pepper API): file
reading/writing, making http requests, making asynchronous operations (like
“message loop” API). Could you please assist with this question?
WebAssembly used in tandem with Web API have a few gaps, but for the ones
you list, there is pretty good coverage:
* There is emulation of filesystems backed by memory or IndexedDB. No
bridge to the Chrome-only filesystem API exists.
* There is http request emulation in emscripten (emscripten_wget*).
* WebAssembly has synchronous access to Web APIs, but can interact with
async APIs by way of outcalls to JavaScript.
Post by v***@gmail.com
4. Can we use openssl or another third-party libraries with
WebAssembly?
Similar to NativeClient, third party libraries like openssl can be ported.
Unlike NativeClient, we don't currently curate a ports collection.
There seems to be some indication online of folks having success getting
openssl to build with Emscripten.
Post by v***@gmail.com
5. Will WebAssembly allow our application to support not only
Chrome Browser?
Yes, in fact this is the primary reason we've shifted our focus to
WebAssembly, which is now available in Edge, Firefox, and Safari, in
addition to Chrome.
Post by v***@gmail.com
Thank you for paying attentions to our questions.
Yours faithfully,
Vitaly Sukhov
--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-discuss+***@googlegroups.com.
To post to this group, send email to native-client-***@googlegroups.com.
Visit this group at https://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.
v***@gmail.com
2018-02-26 14:15:00 UTC
Permalink
Can you notify me as soon as the decision about date of disabling (P)NaCl
is finally made?
--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-discuss+***@googlegroups.com.
To post to this group, send email to native-client-***@googlegroups.com.
Visit this group at https://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.
Loading...