Forum:  General Chat

Thread:  Wasm - Web Assembly

yowl (User)   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"/>
Otis (LLBLGen Pro Team)   Posted on: 27-Nov-2018 16:34:41.
Oh wow Regular Smiley So you have llblgen runtime running inside the browser this way? How's the performance?

yowl (User)   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 (LLBLGen Pro Team)   Posted on: 28-Nov-2018 09:33:17.
Still great Regular Smiley The amount of layers on top of each other tho Regular Smiley nevertheless, if it works, it works Regular Smiley