Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

How does corona html5 build work does it use wasm?
Started by namoda378 May 12 2019 07:03 PM

- - - - -
4 replies to this topic
wasm
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

namoda378

[GLOBAL: userInfoPane.html]
namoda378
  • Observer

  • 3 posts
  • Corona SDK

I know it's still in beta but i'm just amazed how it runs so smooth across browsers. I'm not really sure how corona makes this work. Does it use web assembly? But by reading the html5 code I can't really see the evidence(maybe because i'm such a newbie in wasm etc.)

 

I hope I get to know some of the internals of corona sdk html5 build so that I can decide when and when not to use it. 



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,789 posts
  • Enterprise

Our HTML5 support is based on emscripten.

 

Rob


  • namoda378 likes this

[TOPIC: post.html]
#3

namoda378

[GLOBAL: userInfoPane.html]
namoda378
  • Observer

  • 3 posts
  • Corona SDK

Does that mean it compiles to wasm code or does it compile to js using something like asm.js?



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,789 posts
  • Enterprise

Looks like it's asm.js: https://en.wikipedia.org/wiki/Emscripten

 

Rob


  • namoda378 likes this

[TOPIC: post.html]
#5

namoda378

[GLOBAL: userInfoPane.html]
namoda378
  • Observer

  • 3 posts
  • Corona SDK

Well the wiki says it can be compiled into both asm or wasm so ... but thanks anyway i guess you did your best to answer. :)




[topic_controls]
[/topic_controls]