Wasm - Web Assembly

Posts   
 
    
yowl
User
Posts: 266
Joined: 11-Feb-2008
# Posted on: 27-Nov-2018 13:49:11   

Just posting that the LLBLGen entities and ORM dll for .netstandard 2.0 target runs under mono in web assembly using the compact25 serializer, which is great. Just needed this linker config for the reflection:


  <assembly fullname="SD.LLBLGen.Pro.ORMSupportClasses">
    <type fullname="SD.LLBLGen.Pro.ORMSupportClasses.EntityBase2"/>
  </assembly>
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 27-Nov-2018 16:34:41   

Oh wow simple_smile So you have llblgen runtime running inside the browser this way? How's the performance?

Frans Bouma | Lead developer LLBLGen Pro
yowl
User
Posts: 266
Joined: 11-Feb-2008
# Posted on: 27-Nov-2018 16:41:50   

Yes. Performance is best not talked about until we get ahead of time compilation (AOT). At the moment everything is interpreted. But as a very brief example I deserialize 88 small entities in .2 second. Things should improve significantly, maybe x50 when its compiled. I also thought about using the FastSerializer, but there's not a lot of point of optimising before we AOT.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 28-Nov-2018 09:33:17   

Still great simple_smile The amount of layers on top of each other tho simple_smile nevertheless, if it works, it works simple_smile

Frans Bouma | Lead developer LLBLGen Pro