4

Is there way to run native C/C++/Obj-C within a google chrome extension, The official page says extension are like other web pages, as i see it there is no way except Native Client(NaCl). Is this technically possible.

shreyasva
  • 13,126
  • 25
  • 78
  • 101
  • NaCL:PEPPER is the new sandbox plugin since NPAPI will be depreciated very soon. To test drive NaCL, make sure you have a new browser (v10) and visit about:flags and enable NaCL. – Mohamed Mansour Jan 26 '11 at 04:28

1 Answers1

2

I believe that you are looking for NPAPI plugins. Do not take lightly the warning, however:

NPAPI is a really big hammer that should only be used when no other approach will work.

Why does your extension need C/C++/Objective-C, exactly?


Re: OP comment

Check out this question!

Community
  • 1
  • 1
Matt Ball
  • 354,903
  • 100
  • 647
  • 710
  • Trying to enable bonjour so i can share data on the network, is this possible technically? – shreyasva Jan 26 '11 at 04:32
  • @user: that's definitely an interesting thought. I'm sure that it is _technically_ possible. If it helps at all, what you're actually looking for is a [Zeroconf](http://en.wikipedia.org/wiki/Zero_configuration_networking) implementation; Bonjour is just Apple's implementation of the protocol. – Matt Ball Jan 26 '11 at 04:38