简体   繁体   English

三星智能电视-SEF vs PNaCL

[英]Samsung Smart Tv - SEF vs PNaCL

I am trying to understand if I can develop Samsung Smart Tv Native application with lower level api than PNaCL, which is I suspect just javascript via pepper.js... 我想了解我是否可以使用比PNaCL低的api开发Samsung Smart Tv Native应用程序,我怀疑这只是通过Pepper.js的javascript ...

Samsung do not provide too much information about how exactly they implement their NaCL "native" development. 三星没有提供太多有关如何准确实现其NaCL“本地”开发的信息。 PNaCL is the only somewhat documented way, but I found this "SEF plugin" that is supposed to connect the JS to "low level c++ modules" as says the docs, without too much explanation. PNaCL是唯一记录在案的方法,但是我发现这个“ SEF插件”应该将JS连接到“低级c ++模块”,如文档所述,没有太多解释。

Probably, there's no SEF dev platform. 可能没有SEF开发人员平台。 Probably .. just checking that I did not get it wrong. 可能..只是检查我没有弄错。

PNaCl is just like module that can be executed in C/C++ Runtime which resulting greater performance than javascript that running over web runtime. PNaCl就像可以在C / C ++运行时中执行的模块一样,其性能要比通过Web运行时运行的javascript更高。

Not sure about the exact answer, but this is my understanding. 不确定确切的答案,但这是我的理解。 Because of the SEF is more likely system object interface then it should compiled with firmware. 由于SEF更有可能是系统对象接口,因此应使用固件进行编译。 And yes, i agree with you the SEF is "lower" than the PNaCl but i think that's impossible for us to create our own SEF plugin except Samsung releasing the source code and method to flash the firmware like android device. 是的,我同意您的观点,SEF比PNaCl“低”,但我认为我们无法创建自己的SEF插件,除非三星发布源代码和方法来刷新固件(如android设备)。

System Runtime     | <==> Sandboxed Runtime <==> PNaCl
                   |                               /\
                   |                               ||
                   |                               \/
           [SEF Object] <======================> Web Runtime <==> Javascript

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM