Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
appart from that how's wasm working for you? are you satified with the benefits it offers? tell us about your experience with web assembly. I'm curious. 🙂
-
hexc11196y@heyheni so I'm it for opengl, and using emscripten for building, and most things are working really well. A few issues I've had to overcome are: the GLFW is supported but there are some issues with it and documentation is not always available for everything so I switched to using the well documented emscripten window/input callbacks which were relatively easy to addapt to my engine framework. You can't include external libraries which can make some tasks a bit awkward. The available closure compiler that is packed with emcc mangles the naming on one of the functions I use so currently I'm not using it but it shouldn't be difficult to make my build chain fix the mangled function after its generated. I've included a picture of a GPU skinned mesh rendering at 60 fps in chrome on my phone. The model has 52 bones and WebAssembly handles it perfectly. I've set up my code base to use the emscripten preprocessor directive to allow me to compile the code base on any system and it just works!
-
hexc11196y@heyheni yeah, I'm really happy with the outcome. It's also awesome from an efficiency standpoint, using gzip or brotli compression on the binary file formats used by web assembly for the .wasm and .data files work Really well. That web page only transmits around 450kb of data on chrome with brotli. The wasm loads instantly also. (It will probably slow down once there are more assets etc but I'm sure it will still be fast)
Related Rants
-
cdrice105"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ...
-
MoboTheHobo36My Friend: Dude our Linux Server is not working anymore! Me: What? What did you do? My friend: Nothing I swe...
-
tommy15Right now someone at Google is coding something useless for us to laugh at on April Fools.
So I was working on a Web Assembly project and when I ran my build chain everything compiled fine, when I would run it however, I'de get random exception when I changed things like a value of a float. After 3 hours I realized the build chain had been "finished" while it was actually still writing out a file, and when I was accessing the web page, the file was corrupt for the first 30 seconds or so. Spent so long trying to fix something that actually wasn't broken FML.
rant
fml